On a better way

This commit is contained in:
Jaby
2023-01-17 22:04:35 +01:00
committed by Jaby
parent f3d82c1885
commit 1550f9c08d
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();
}
}
}