MEGA65 / mega65-rom-public

MEGA65 ROM public issue reporting
4 stars 0 forks source link

CHAR should use the active character set #130

Open dansanderson opened 2 months ago

dansanderson commented 2 months ago

The CHAR command draws a PETSCII character onto the active bitmap graphics screen. As it is currently implemented, it uses the original PETSCII glyphs regardless of the actual current character set used in text mode.

It would be a useful improvement if CHAR read its character data from the current active character set recognized by the VIC-IV in text mode. This is either the charset at the character set pointer, or the MEGA65 character set RAM if the pointer is the special value $000.1xxx. This would allow changes to the character set, such as those enacted by CHARDEF, to be used for drawing 8x8 bitmaps onto the graphics screen.

This is very likely to be backwards compatible with existing software, and should not require any special flags to the CHAR command.