mirror of
https://github.com/fadden/6502bench.git
synced 2024-11-25 14:34:27 +00:00
5889f45737
The previous functions just grabbed 62 characters and slapped quotes on the ends, but that doesn't work if we want to show strings with embedded control characters. This change replaces the simple formatter with the one used to generate assembly source code. This increases the cost of refreshing the display list, so a cache will need to be added in a future change. Converters for C64 PETSCII and C64 Screen Code have been defined. The results of changing the auto-scan encoding can now be viewed. The string operand formatter was using a single delimiter, but for the on-screen version we want open-quote and close-quote, and might want to identify some encodings with a prefix. The formatter now takes a class that defines the various parts. (It might be worth replacing the delimiter patterns recently added for single-character operands with this, so we don't have two mechanisms for very nearly the same thing.) While working on this change I remembered why there were two kinds of "reverse" in the old Merlin 32 string operand generator: what you want for assembly code is different from what you want on screen. The ReverseMode enum has been resurrected. |
||
---|---|---|
.. | ||
WpfGui | ||
AsmAcme.cs | ||
AsmCc65.cs | ||
AsmMerlin32.cs | ||
AsmTass64.cs | ||
AssemblerConfig.cs | ||
AssemblerInfo.cs | ||
AssemblerVersion.cs | ||
GenCommon.cs | ||
IAssembler.cs | ||
IGenerator.cs | ||
LabelLocalizer.cs |