Explain HRAM

This commit is contained in:
Remy Oukaour 2018-01-03 13:01:23 -05:00
parent 10bd011d06
commit e7941cef61
1 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
; HRAM uses constants instead of labels so that
; "ld a, [hAddress]" and "ld [hAddress], a" will
; use the more efficient "ldh" instruction.
hPushOAM EQU $ff80 ; 10 bytes
hROMBankBackup EQU $ff8a