12-07-2024, 04:03 PM
To change only the character "K" I suggest to use UDG (User Defined Graphics).
If you compile with the --sinclair option, the compiler will enable several features at once, to maximize compatibility with Sinclair's ROM BASIC.
Then you can POKE at USR "k" + i, using READ and DATA:
Please read here about using UDGs:
https://zxbasic.readthedocs.io/en/docs/syntax/
If you compile with the --sinclair option, the compiler will enable several features at once, to maximize compatibility with Sinclair's ROM BASIC.
Then you can POKE at USR "k" + i, using READ and DATA:
Code:
FOR i = 0 TO 7
READ a
POKE USR "k" + i, a
NEXT i
REM PRINT the UDG "k"
PRINT "\K \K"
DATA 85, 170, 85, 170, 85, 170, 85, 170
Please read here about using UDGs:
https://zxbasic.readthedocs.io/en/docs/syntax/
---
Boriel
Boriel