michaelcmartin / Ophis

A cross-assembler for the 6502 series of microprocessors.
http://michaelcmartin.github.io/Ophis/
Other
96 stars 26 forks source link

Character Map is inconsistently applied #34

Closed michaelcmartin closed 3 months ago

michaelcmartin commented 1 year ago

When a character replacement map is defined with the .charmap directive or similar, only the first argument in a .byte directive will actually be properly updated. All other arguments will be incorporated as strict ASCII.

michaelcmartin commented 3 months ago

Fixed in commit c0307c7. Excitingly, the first argument of charmap definitions and macro definitions would also be translated in the original code, though such constructs were probably not legal to begin with.