diff options
author | Daniel Harding <33dannye@gmail.com> | 2020-05-16 21:42:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-16 21:42:24 -0500 |
commit | 8a924f1f783572ff395f617f99546b4c949c8b04 (patch) | |
tree | 1b6c7de331cb983256651b11b8adf413a3a434f1 /home/print_text.asm | |
parent | 88d7e9a34a8b610b358cec1ccc6660634ca9ce80 (diff) | |
parent | ed94962edf1668aba3f60938e8a5ba8040e2a59c (diff) |
Merge pull request #30 from entrpntr/spring-cleaning
Spring Cleaning
Diffstat (limited to 'home/print_text.asm')
-rwxr-xr-x | home/print_text.asm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/home/print_text.asm b/home/print_text.asm index 9d80d6b4..04bc8ece 100755 --- a/home/print_text.asm +++ b/home/print_text.asm @@ -97,7 +97,7 @@ CopyDataUntil:: cp c jr nz, CopyDataUntil ret - + INCLUDE "home/print_num.asm" Function33ce:: @@ -110,7 +110,7 @@ Function33ce:: jr nz, .asm_33ce ret -Function33d7:: ; 33d7 (0:33d7) +Function33d7:: ld a, [de] swap a and $f @@ -123,7 +123,7 @@ Function33d7:: ; 33d7 (0:33d7) inc de ret -Function33e9:: ; 33e9 (0:33e9) +Function33e9:: ld bc, .digits add c ld c, a @@ -136,14 +136,14 @@ Function33e9:: ; 33e9 (0:33e9) .digits db "0123456789ABCDEF" FarPrintText:: - ld [wBuffer], a + ld [wTempBank], a ldh a, [hROMBank] push af - ld a, [wBuffer] + ld a, [wTempBank] rst Bankswitch - + call PrintText - + pop af rst Bankswitch ret @@ -163,4 +163,4 @@ CallPointerAt:: pop hl ld a, h rst Bankswitch - ret
\ No newline at end of file + ret |