ISO-PETSCII

For posting library code and examples.
Post Reply
User avatar
ahenry3068
Posts: 1146
Joined: Tue Apr 04, 2023 9:57 pm

ISO-PETSCII

Post 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 142 times
isopet.png
isopet.png (113.94 KiB) Viewed 1858 times
Post Reply