summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-05-30 22:49:56 -0500
committerBryan Bishop <kanzure@gmail.com>2012-05-30 22:49:56 -0500
commita51b73cc04de18505e81f0f033eb8013213ba7d9 (patch)
treed56062d2b2f65f39f7ccce4b712b9c01b45f9d0f /main.asm
parent75bddc1f132d56820b35725f6925d44d862a321f (diff)
copy in NPlaceChar from pokered
Diffstat (limited to 'main.asm')
-rw-r--r--main.asm14
1 files changed, 13 insertions, 1 deletions
diff --git a/main.asm b/main.asm
index 555b77e30..7a4b6bd24 100644
--- a/main.asm
+++ b/main.asm
@@ -69,7 +69,19 @@ EnableLCD: ; 58a
ret
; 0x591
-INCBIN "baserom.gbc",$591,$1273 - $591
+INCBIN "baserom.gbc",$591,$101e - $591
+
+NPlaceChar: ; 0x101e
+; place a row of width c of identical characters
+ ld d,c
+.loop\@
+ ld [hli],a
+ dec d
+ jr nz,.loop\@
+ ret
+; 0x1024
+
+INCBIN "baserom.gbc",$1024,$1273 - $1024
Char5CText: ; 0x1273
db "TM@"