Skip to content

Commit fa4a903

Browse files
committed
fix: fix test that *should have* failed before??
1 parent 1a59f1a commit fa4a903

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/functional/zx48k/spfill.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
ei
6262
ret
6363
_SPFill:
64-
#line 12 "/zxbasic/src/arch/zx48k/library/SP/Fill.bas"
64+
#line 11 "/zxbasic/src/arch/zx48k/library/SP/Fill.bas"
6565
push namespace core
6666
PROC
6767
LOCAL SPPFill
@@ -1404,7 +1404,7 @@ USR_STR:
14041404
jr z, USR_ERROR ; a$ = "" => Invalid Arg
14051405
inc hl
14061406
ld a, (hl) ; Only the 1st char is needed
1407-
and 11011111b ; Convert it to UPPER CASE
1407+
and %11011111 ; Convert it to UPPER CASE
14081408
sub 144 ; CODE(UDG "A")
14091409
jr nc, CONT
14101410
add a, 144 ; It was a letter

tests/functional/zx48k/usr0.asm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ __PRINT_TABLE: ; Jump table for 0 .. 22 codes
10161016
DW __PRINT_TAB ; 23 TAB
10171017
ENDP
10181018
pop namespace
1019-
#line 25 "usr0.bas"
1019+
#line 25 "zx48k/usr0.bas"
10201020
#line 1 "/zxbasic/src/arch/zx48k/library-asm/printu16.asm"
10211021
#line 1 "/zxbasic/src/arch/zx48k/library-asm/printi16.asm"
10221022
#line 1 "/zxbasic/src/arch/zx48k/library-asm/printnum.asm"
@@ -1164,7 +1164,7 @@ __PRINTU_LOOP:
11641164
ENDP
11651165
pop namespace
11661166
#line 2 "/zxbasic/src/arch/zx48k/library-asm/printu16.asm"
1167-
#line 26 "usr0.bas"
1167+
#line 26 "zx48k/usr0.bas"
11681168
#line 1 "/zxbasic/src/arch/zx48k/library-asm/usr_str.asm"
11691169
; This function just returns the address of the UDG of the given str.
11701170
; If the str is EMPTY or not a letter, 0 is returned and ERR_NR set
@@ -1454,7 +1454,7 @@ USR_STR:
14541454
jr z, USR_ERROR ; a$ = "" => Invalid Arg
14551455
inc hl
14561456
ld a, (hl) ; Only the 1st char is needed
1457-
and 11011111b ; Convert it to UPPER CASE
1457+
and %11011111 ; Convert it to UPPER CASE
14581458
sub 144 ; CODE(UDG "A")
14591459
jr nc, CONT
14601460
add a, 144 ; It was a letter
@@ -1488,5 +1488,5 @@ USR_ERROR:
14881488
ret
14891489
ENDP
14901490
pop namespace
1491-
#line 27 "usr0.bas"
1491+
#line 27 "zx48k/usr0.bas"
14921492
END

0 commit comments

Comments
 (0)