You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Explain HRAM
This commit is contained in:
8
hram.asm
8
hram.asm
@@ -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
|
hPushOAM EQU $ff80 ; 10 bytes
|
||||||
|
|
||||||
hROMBankBackup EQU $ff8a
|
hROMBankBackup EQU $ff8a
|
||||||
@@ -33,7 +37,7 @@ hJoyLast EQU $ffa9
|
|||||||
hInMenu EQU $ffaa
|
hInMenu EQU $ffaa
|
||||||
|
|
||||||
hPrinter EQU $ffac
|
hPrinter EQU $ffac
|
||||||
hGraphicStartTile EQU $ffad
|
hGraphicStartTile EQU $ffad
|
||||||
hMoveMon EQU $ffae
|
hMoveMon EQU $ffae
|
||||||
hMapObjectIndexBuffer EQU $ffaf
|
hMapObjectIndexBuffer EQU $ffaf
|
||||||
hObjectStructIndexBuffer EQU $ffb0
|
hObjectStructIndexBuffer EQU $ffb0
|
||||||
@@ -81,7 +85,7 @@ hMoneyTemp EQU $ffc3
|
|||||||
hMGJoypadPressed EQU $ffc3
|
hMGJoypadPressed EQU $ffc3
|
||||||
hMGJoypadReleased EQU $ffc4
|
hMGJoypadReleased EQU $ffc4
|
||||||
|
|
||||||
hLCDCPointer EQU $ffc6
|
hLCDCPointer EQU $ffc6
|
||||||
hLYOverrideStart EQU $ffc7
|
hLYOverrideStart EQU $ffc7
|
||||||
hLYOverrideEnd EQU $ffc8
|
hLYOverrideEnd EQU $ffc8
|
||||||
hMobileReceive EQU $ffc9
|
hMobileReceive EQU $ffc9
|
||||||
|
Reference in New Issue
Block a user