Skip to content

Commit 3a1ff17

Browse files
committed
refact: remove PRINT dependency
1 parent a053665 commit 3a1ff17

12 files changed

Lines changed: 348 additions & 5914 deletions

File tree

tests/functional/arch/zx48k/lcd3.asm

Lines changed: 87 additions & 1012 deletions
Large diffs are not rendered by default.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
' A bug encountered by LCD
2+
DIM z as String
23

34
function lset(a$ as string,setchar$ as string,length as ubyte) as string
45
while len(a$)<length
@@ -7,4 +8,5 @@ function lset(a$ as string,setchar$ as string,length as ubyte) as string
78
return a$
89
end function
910

10-
print at 0,30;"HP";at 1,30;lset(str(peek(adr)),"0",2);at 2,30;"OF";at 3,30;lset(str(peek(adr+3)),"0",2)
11+
LET z = lset(str(peek(adr)),"0",2)
12+
LET z = lset(str(peek(adr+3)),"0",2)

0 commit comments

Comments
 (0)