mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 07:02:17 +13:00
Clean up constants
This commit is contained in:
parent
d4d4481df0
commit
23c7161bbc
18 changed files with 184 additions and 196 deletions
21
constants/hardware_constants.asm
Executable file
21
constants/hardware_constants.asm
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
; hardware registers, from the pandocs http://nocash.emubase.de/pandocs.htm
|
||||
rJOYP EQU $FF00
|
||||
rDIV EQU $FF04
|
||||
rLCDC EQU $FF40
|
||||
rSCY EQU $FF42
|
||||
rSCX EQU $FF43
|
||||
rBGP EQU $FF47
|
||||
rOBP0 EQU $FF48
|
||||
rOBP1 EQU $FF49
|
||||
rWY EQU $FF4A
|
||||
rWX EQU $FF4B
|
||||
rIE EQU $FFFF
|
||||
|
||||
BTN_A EQU %00000001
|
||||
BTN_B EQU %00000010
|
||||
BTN_SELECT EQU %00000100
|
||||
BTN_START EQU %00001000
|
||||
BTN_RIGHT EQU %00010000
|
||||
BTN_LEFT EQU %00100000
|
||||
BTN_UP EQU %01000000
|
||||
BTN_DOWN EQU %10000000
|
||||
Loading…
Add table
Add a link
Reference in a new issue