-
Notifications
You must be signed in to change notification settings - Fork 817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assorted labels in mobile related code #702
Changes from 6 commits
a812244
cf03f15
4fc3e93
c662b33
31bcd03
43e0ce2
0e78609
da2faa3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -124,8 +124,6 @@ String_114228: | |
String_114232: | ||
db "=?ISO-2022-JP?B?", 0 | ||
|
||
popc | ||
|
||
Function114243:: | ||
ld a, SRAM_ENABLE | ||
ld [MBC3SRamEnable], a | ||
|
@@ -514,9 +512,9 @@ Function114412: | |
jr z, .asm_1144c2 | ||
inc e | ||
call z, Function1144c8 | ||
cp $61 ; "a" | ||
cp "a" | ||
jr c, .asm_114462 | ||
cp $7b ; "z" + 1 | ||
cp "z" + 1 | ||
jr nc, .asm_114462 | ||
sub $20 | ||
|
||
|
@@ -540,10 +538,10 @@ Function114412: | |
jr .asm_11446e | ||
|
||
.asm_114476 | ||
ld a, $20 ; " " | ||
ld a, " " | ||
cp b | ||
jr z, .asm_114481 | ||
ld a, $a ; NL | ||
ld a, "\n" | ||
cp b | ||
jr z, .asm_114481 | ||
dec de | ||
|
@@ -559,18 +557,18 @@ Function114412: | |
inc bc | ||
inc e | ||
call z, Function1144c8 | ||
cp $d ; CR | ||
cp $d ; "\r" | ||
jr nz, .asm_114486 | ||
ld a, [de] | ||
inc bc | ||
inc e | ||
call z, Function1144c8 | ||
cp $a ; NL | ||
cp "\n" | ||
jr nz, .asm_114486 | ||
ld a, [de] | ||
cp $20 ; " " | ||
cp " " | ||
jr z, .asm_114486 | ||
cp $9 ; TAB | ||
cp "\t" | ||
jr z, .asm_114486 | ||
ld d, h | ||
ld e, l | ||
|
@@ -5026,27 +5024,27 @@ endr | |
jp nz, .asm_115c64 | ||
ret | ||
|
||
Function115cfd: | ||
cp $2b | ||
Function115cfd: ; Base64 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this encoding or decoding Base64? Please change the |
||
cp "+" | ||
jr c, .asm_115d27 | ||
jr z, .asm_115d2f | ||
cp $2f | ||
cp "/" | ||
jr c, .asm_115d27 | ||
jr z, .asm_115d32 | ||
cp $30 | ||
cp "0" | ||
jr c, .asm_115d27 | ||
cp $3a | ||
cp "9" + 1 | ||
jr c, .asm_115d35 | ||
cp $3d | ||
cp "=" | ||
jr c, .asm_115d27 | ||
jr z, .asm_115d38 | ||
cp $41 | ||
cp "A" | ||
jr c, .asm_115d27 | ||
cp $5b | ||
cp "Z" + 1 | ||
jr c, .asm_115d4d | ||
cp $61 | ||
cp "a" | ||
jr c, .asm_115d27 | ||
cp $7b | ||
cp "z" + 1 | ||
jr c, .asm_115d50 | ||
|
||
.asm_115d27 | ||
|
@@ -5156,3 +5154,5 @@ Function115d80: | |
ld d, $a0 | ||
ld e, $0 | ||
ret | ||
|
||
popc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(I've updated issue #686 to remind us to use
"\r"
here when rgbds 0.4.0 supports it.)