Piggyback Saturn IO onto standard 16K LC io switches

This commit is contained in:
michaelangel007 2017-04-27 15:14:51 -07:00
parent c75ed14c32
commit 248c141655

View File

@ -1638,10 +1638,15 @@ BYTE __stdcall MemSetPaging(WORD programcounter, WORD address, BYTE write, BYTE
| (address >> 1) & 4
| (address >> 0) & 3
;
// TODO: Update paging()
goto _done_saturn;
}
// Fall into 16K IO switches
}
else
#endif // SATURN
{
// Apple 16K Language Card
@ -1701,6 +1706,8 @@ BYTE __stdcall MemSetPaging(WORD programcounter, WORD address, BYTE write, BYTE
}
}
_done_saturn:
// IF THE EMULATED PROGRAM HAS JUST UPDATE THE MEMORY WRITE MODE AND IS
// ABOUT TO UPDATE THE MEMORY READ MODE, HOLD OFF ON ANY PROCESSING UNTIL
// IT DOES SO.