Integrate new IO Code into memory_io

This commit is contained in:
2023-09-17 08:50:06 +02:00
parent b0189469cd
commit 19c5485658
3 changed files with 25 additions and 25 deletions

View File

@@ -17,8 +17,8 @@ namespace JabyEngine {
void setup() {
__syscall_EnterCriticalSection();
Memory_IO::COM_DELAY.setup();
Memory_IO::CD_DELAY.setup();
Memory_IO::COM_DELAY.write(Memory_IO::COM_DELAY::create());
Memory_IO::CD_DELAY.write(Memory_IO::CD_DELAY::create());
__syscall_SysEnqIntRP(CdromIoIrq, &::JabyEngine::CD::internal::callback);