diff options
author | yenatch <yenatch@gmail.com> | 2014-05-23 15:34:35 -0700 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-05-23 15:34:35 -0700 |
commit | 8f8281fe6ed02d8235ab9f92fa6ae93f50a3bf8e (patch) | |
tree | 58a093bd6c1bdb5e0d7a978c8ace042c6b3d16bd /constants/hardware_constants.asm | |
parent | 955b53047c6d2ddc223ed24191de98f4b4fee5e5 (diff) |
Comment some more bank 0 functions.
Diffstat (limited to 'constants/hardware_constants.asm')
-rw-r--r-- | constants/hardware_constants.asm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/constants/hardware_constants.asm b/constants/hardware_constants.asm index accab39d..8e926a11 100644 --- a/constants/hardware_constants.asm +++ b/constants/hardware_constants.asm @@ -1,5 +1,7 @@ ; From http://nocash.emubase.de/pandocs.htm. +GBC EQU $11 + ; MBC3 MBC3SRamEnable EQU $0000 MBC3RomBank EQU $2000 @@ -28,6 +30,8 @@ TIMER EQU 2 SERIAL EQU 3 JOYPAD EQU 4 +LY_VBLANK EQU 145 + ; OAM attribute flags OAM_PALETTE EQU %111 OAM_TILE_BANK EQU 3 @@ -76,6 +80,8 @@ rNR50 EQU $ff24 ; Channel control / ON-OFF / Volume (R/W) rNR51 EQU $ff25 ; Selection of Sound output terminal (R/W) rNR52 EQU $ff26 ; Sound on/off rLCDC EQU $ff40 ; LCD Control (R/W) +rLCDC_ENABLE EQU 7 +rLCDC_ENABLE_MASK EQU 1 << rLCDC_ENABLE rSTAT EQU $ff41 ; LCDC Status (R/W) rSCY EQU $ff42 ; Scroll Y (R/W) rSCX EQU $ff43 ; Scroll X (R/W) |