tebe6502 / Mad-Pascal

Mad Pascal Compiler for 6502 (Atari XE/XL, C64, C4Plus, Neo6502)
122 stars 19 forks source link

Fix putchar subroutine for C64. #146

Closed t-w closed 7 months ago

t-w commented 7 months ago

The characters from 91-96 were EORed (despite not being letters), what resulted in outputting invalid characters.

This convertion could be eventually moved to compiler code - so that it could convert strings to PETSCII when compiling for Commodores, so that the executable would contain proper encoding (the original putchar from kernal could be called in such case, so it would be a bit smaller/faster executable).