Page 1 of 1

ISO-PETSCII

Posted: Wed Feb 07, 2024 10:24 am
by ahenry3068
The following code sets ISO mode and then copy's all the Thick PETSCII graphics characters from ROM to character offsets 160-255

The result is that CHR$(160), CHR$(161)......CHR$(255) (inclusive). Will output the same drawing character when printed as if in PETSCII mode. But the mapping is ISO. Screen code for A is 65 NOT 1.

The following code uses VPOKE for simplicity in coding. It has occurred to me that the routine would run a good bit faster if I set up VERA auto-increment and just use Poke to the data register. I'll be implementing that soon and I'll post the difference in speed when I do it.

THE CODE (Rom BASLOAD format)
ISOPET.BAS
(688 Bytes) Downloaded 124 times
isopet.png
isopet.png (113.94 KiB) Viewed 1820 times