Replace raw hex values with HRAM constants

To do: turn constants into labels and use ldh
This commit is contained in:
Rangi 2020-07-03 22:11:35 -04:00
parent 35deb77113
commit 6ef36800b0
65 changed files with 311 additions and 248 deletions

View file

@ -53,13 +53,13 @@ rLCDC_DEFAULT EQU %11100011
call ClearVram
ld hl, $ff80
ld bc, $ffff - $ff80
ld hl, $ff80 ; start of HRAM
ld bc, $ffff - $ff80 ; size of HRAM
call FillMemory
call ClearSprites
ld a, Bank(WriteDMACodeToHRAM)
ld a, BANK(WriteDMACodeToHRAM)
ld [hLoadedROMBank], a
ld [MBC1RomBank], a
call WriteDMACodeToHRAM