Skip to content

Commit 739ee4d

Browse files
committed
fix: fixes USR_STR using old binary constant format
1 parent e8a58bc commit 739ee4d

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/arch/zx48k/library-asm/usr_str.asm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ USR_STR:
3030

3131
inc hl
3232
ld a, (hl) ; Only the 1st char is needed
33-
and 11011111b ; Convert it to UPPER CASE
33+
and %11011111 ; Convert it to UPPER CASE
3434
sub 144 ; CODE(UDG "A")
3535
jr nc, CONT
3636
add a, 144 ; It was a letter
@@ -71,4 +71,3 @@ USR_ERROR:
7171
ENDP
7272

7373
pop namespace
74-

src/arch/zxnext/library-asm/usr_str.asm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ USR_STR:
3030

3131
inc hl
3232
ld a, (hl) ; Only the 1st char is needed
33-
and 11011111b ; Convert it to UPPER CASE
33+
and %11011111 ; Convert it to UPPER CASE
3434
sub 144 ; CODE(UDG "A")
3535
jr nc, CONT
3636
add a, 144 ; It was a letter
@@ -71,4 +71,3 @@ USR_ERROR:
7171
ENDP
7272

7373
pop namespace
74-

0 commit comments

Comments
 (0)