mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-02 13:51:36 +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. |
||
---|---|---|
.. | ||
1000-allops-value-65816.S | ||
1001-allops-zero-65816.S | ||
1002-embedded-instructions.S | ||
1003-flags-and-branches.S | ||
1004-data-recognition.S | ||
2000-allops-value-6502.S | ||
2001-allops-zero-6502.S | ||
2002-allops-value-65C02.S | ||
2003-allops-zero-65C02.S | ||
2004-numeric-types.S | ||
2005-string-types.S | ||
2006-operand-formats.S | ||
2007-labels-and-symbols.S | ||
2008-address-changes.S | ||
2009-branches-and-banks.S | ||
2010-target-adjustment.S | ||
2011-hinting.S | ||
2012-label-localizer.S | ||
2013-notes-and-comments.S | ||
2014-label-dp.S | ||
2016-char-encoding.S | ||
allops-common-65C02.S | ||
allops-common-6502.S | ||
allops-common-65816.S |