On a better way

This commit is contained in:
Jaby
2023-01-17 22:04:35 +01:00
parent bde5656f38
commit 98743f7948
2 changed files with 136 additions and 18 deletions

View File

@@ -5,7 +5,12 @@ namespace JabyEngine {
namespace boot {
namespace CD {
void setup() {
CD_IO::change_to_index0();
}
uint16_t miau() {
CD_IO::Index0::DataFifo.read();
return CD_IO::Index0::DataFifo16.read();
}
}
}