mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Comment some more bank 0 functions.
This commit is contained in:
parent
955b53047c
commit
8f8281fe6e
20 changed files with 597 additions and 557 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue