summaryrefslogtreecommitdiff
path: root/constants
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2017-12-29 18:53:21 +0100
committerxCrystal <rgr.crystal@gmail.com>2017-12-29 18:53:21 +0100
commit3c6c80f1b24487ae4aa9d250d1dff290f09c231e (patch)
tree5d6567d4f9fd6044bb3b7ea4af8f8dc70d8a5401 /constants
parent69762a2bfd6b6134b99a24b3c8f091ff6a410ef9 (diff)
LY_BLANK and rLCDC constants
Diffstat (limited to 'constants')
-rw-r--r--constants/hardware_constants.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/constants/hardware_constants.asm b/constants/hardware_constants.asm
index 9cb278622..b84419815 100644
--- a/constants/hardware_constants.asm
+++ b/constants/hardware_constants.asm
@@ -114,10 +114,16 @@ rWave_d EQU $ff3d
rWave_e EQU $ff3e
rWave_f EQU $ff3f
rLCDC EQU $ff40 ; LCD Control (R/W)
+rLCDC_SPRITE_ENABLE EQU 1
+rLCDC_SPRITE_SIZE EQU 2
+rLCDC_WINDOW_TILEMAP EQU 6
+rLCDC_ENABLE EQU 7
+rLCDC_DEFAULT EQU %11100011
rSTAT EQU $ff41 ; LCDC Status (R/W)
rSCY EQU $ff42 ; Scroll Y (R/W)
rSCX EQU $ff43 ; Scroll X (R/W)
rLY EQU $ff44 ; LCDC Y-Coordinate (R)
+LY_VBLANK EQU 144
rLYC EQU $ff45 ; LY Compare (R/W)
rDMA EQU $ff46 ; DMA Transfer and Start Address (W)
rBGP EQU $ff47 ; BG Palette Data (R/W) - Non CGB Mode Only