summaryrefslogtreecommitdiff
path: root/home/lcd.asm
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2018-06-24 16:09:41 +0200
committermid-kid <esteve.varela@gmail.com>2018-06-24 16:13:22 +0200
commit1d9a68dbdd0132035f1fc7b7ea8f7fdc24741507 (patch)
tree3af0a92f5f7dc10f32eed04d9daae52749fc33c2 /home/lcd.asm
parent131875d3e37044ec995287af7c93decd86a0d659 (diff)
Remove all address comments
Diffstat (limited to 'home/lcd.asm')
-rw-r--r--home/lcd.asm12
1 files changed, 4 insertions, 8 deletions
diff --git a/home/lcd.asm b/home/lcd.asm
index 3899f0816..ecac5b5c3 100644
--- a/home/lcd.asm
+++ b/home/lcd.asm
@@ -1,7 +1,7 @@
; LCD handling
-Unreferenced_Function547:: ; 547
+Unreferenced_Function547::
ld a, [hLCDCPointer]
cp rSCX - $ff00
ret nz
@@ -9,10 +9,9 @@ Unreferenced_Function547:: ; 547
ld a, [wLYOverrides]
ld [$ff00+c], a
ret
-; 552
-LCD:: ; 552
+LCD::
push af
ld a, [hLCDCPointer]
and a
@@ -34,10 +33,9 @@ LCD:: ; 552
.done
pop af
reti
-; 568
-DisableLCD:: ; 568
+DisableLCD::
; Turn the LCD off
; Don't need to do anything if the LCD is already off
@@ -69,12 +67,10 @@ DisableLCD:: ; 568
ld a, b
ld [rIE], a
ret
-; 58a
-EnableLCD:: ; 58a
+EnableLCD::
ld a, [rLCDC]
set rLCDC_ENABLE, a
ld [rLCDC], a
ret
-; 591