CX16-PETSCII to Unicode - A filter program

Talk about your programs in progress. Discuss how to implement features, etc.
Forum rules
This section is for testing Commander X16 programs and programs related to the CX16 for other platforms (compilers, data conversion tools, etc.)

Feel free to post works in progress, test builds, prototypes, and tech demos.

Finished works go in the Downloads category. Don't forget to add a hashtag (#) and the version number your program was meant to run on. (ie: #R41).
Post Reply
mobluse
Posts: 177
Joined: Tue Aug 04, 2020 2:16 pm
Location: Lund, Sweden
Contact:

CX16-PETSCII to Unicode - A filter program

Post by mobluse »

This filter program for Linux (including WSL) converts output of the Commander X16 Emulator R33+ to UTF-8 looking like PETSCII-UC, PETSCII-LC, or ISO8859-15 depending on what is used. It also converts the control codes to ANSI/VT100/xterm Escape sequences. It can print some debug information e.g. Ⓓ & Ⓐ for CR & LF, if you use option -d. It might also be used with the real Commander X16 if it has a serial port. Now it can be used to help write manuals.
PETSCII-UC.png
PETSCII-UC.png (497.1 KiB) Viewed 6028 times
PETSCII-LC.png
PETSCII-LC.png (498.04 KiB) Viewed 6028 times
ISO8859-15.png
ISO8859-15.png (500.19 KiB) Viewed 6028 times
In the future also the keypresses will be shown, and there is some buggy support for that already. It should also support the control code $80 i.e. verbatim mode. It does support $01 i.e. swap colors.

Instructions to download and build: https://github.com/mobluse/x16-petscii2utf8

Supports x16emu #R33 to #R42 and #R43.
X16&C64 Quiz: Try It Now! Huge Char Demo: Try It Now! DECPS: Try It Now! Aritm: Try It Now!
Post Reply