summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-05-30 20:51:20 -0500
committerBryan Bishop <kanzure@gmail.com>2012-05-30 20:51:20 -0500
commit441959d6f1c67573f06afb096cc7a22c980c8080 (patch)
treebf2675a6818e48a75bd521611d58b6aa2303bcfd
parent4fe5dcee75bc77096c4b601beeff5b5a2113eed9 (diff)
copy in EnableLCD from pokered
-rw-r--r--main.asm9
1 files changed, 8 insertions, 1 deletions
diff --git a/main.asm b/main.asm
index 1eb0d4c23..16878e72f 100644
--- a/main.asm
+++ b/main.asm
@@ -62,7 +62,14 @@ DisabeLCD: ; 56d
ret
; 0x58a
-INCBIN "baserom.gbc",$58a,$1273 - $58a
+EnableLCD: ; 58a
+ ld a, [$ff40]
+ set 7, a
+ ld [$ff40], a
+ ret
+; 0x591
+
+INCBIN "baserom.gbc",$591,$1273 - $591
Char5CText: ; 0x1273
db "TM@"