dma and mbc1 passing

This commit is contained in:
2025-05-30 11:15:21 -06:00
parent 1455bc5666
commit 26b1f10e16
7 changed files with 76 additions and 23 deletions

View File

@ -81,6 +81,8 @@ void bus_write(u16 address, u8 value) {
//OAM
if(!dma_transferring())
ppu_oam_write(address, value);
else
printf("ACCESS DURING DMA!\n");
return;
} else if (address < 0xFF00) {
//reserved unusable