New concept for IOPorts

This commit is contained in:
Jaby
2023-03-14 22:33:49 +01:00
committed by Jaby
parent fd8b0deafb
commit 7beab5e7bf
3 changed files with 34 additions and 5 deletions

View File

@@ -16,7 +16,17 @@ namespace JabyEngine {
void setup() {
__syscall_EnterCriticalSection();
Memory_IO::COM_DELAY.write(Memory_IO::COM_DELAY::SetupValue);
Memory_IO::COM_DELAY.setup();
Memory_IO::COM_DELAY.setup();
Memory_IO::COM_DELAY.setup();
Memory_IO::COM_DELAY_t b{Memory_IO::COM_DELAY.value};
b.setup();
b.setup();
b.setup();
//Memory_IO::COM_DELAY.write(Memory_IO::COM_DELAY::SetupValue);
Memory_IO::CD_DELAY.write(Memory_IO::CD_DELAY::SetupValue);
__syscall_SysEnqIntRP(CdromIoIrq, &::JabyEngine::CD::internal::callback);