sprites working, dmg_acid2 passed

This commit is contained in:
2024-04-15 01:06:55 -07:00
parent 1d5ecba11a
commit 68f4420b89
8 changed files with 186 additions and 64 deletions

View File

@@ -106,6 +106,9 @@ public:
uint32_t externalRamSize = 0;
uint32_t externalRamBanks = 0;
bool dmaTransferRequested = false;
void dmaTransfer();
//Selected ROM Bank = (Secondary Bank << 5) + ROM Bank
Byte selectedRomBank = 0;
Byte romBankRegister = 0x00;
@@ -348,6 +351,7 @@ public:
case 0xFF45:
return memoryLayout.LYC;
case 0xFF46:
dmaTransferRequested = true;
return memoryLayout.DMA;
case 0xFF47:
return memoryLayout.BGP;