1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-02 13:51:36 +00:00
6502bench/SourceGen/SGTestData/Source
Andy McFadden 5889f45737 Replace on-screen string operand formatting
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.
2019-08-13 17:52:58 -07:00
..
1000-allops-value-65816.S Initial file commit 2018-09-28 10:05:11 -07:00
1001-allops-zero-65816.S Initial file commit 2018-09-28 10:05:11 -07:00
1002-embedded-instructions.S Initial file commit 2018-09-28 10:05:11 -07:00
1003-flags-and-branches.S Add custom flag updaters for ROL/ROR 2018-10-09 13:15:41 -07:00
1004-data-recognition.S Initial file commit 2018-09-28 10:05:11 -07:00
2000-allops-value-6502.S Initial file commit 2018-09-28 10:05:11 -07:00
2001-allops-zero-6502.S Initial file commit 2018-09-28 10:05:11 -07:00
2002-allops-value-65C02.S Initial file commit 2018-09-28 10:05:11 -07:00
2003-allops-zero-65C02.S Initial file commit 2018-09-28 10:05:11 -07:00
2004-numeric-types.S Initial file commit 2018-09-28 10:05:11 -07:00
2005-string-types.S Initial file commit 2018-09-28 10:05:11 -07:00
2006-operand-formats.S Initial file commit 2018-09-28 10:05:11 -07:00
2007-labels-and-symbols.S Progress toward 64tass expression support 2018-10-24 13:17:03 -07:00
2008-address-changes.S Initial file commit 2018-09-28 10:05:11 -07:00
2009-branches-and-banks.S Initial file commit 2018-09-28 10:05:11 -07:00
2010-target-adjustment.S Initial file commit 2018-09-28 10:05:11 -07:00
2011-hinting.S Update some comments 2018-10-10 16:41:03 -07:00
2012-label-localizer.S Initial file commit 2018-09-28 10:05:11 -07:00
2013-notes-and-comments.S Initial file commit 2018-09-28 10:05:11 -07:00
2014-label-dp.S Add 2014-label-dp 2018-10-30 16:07:35 -07:00
2016-char-encoding.S Replace on-screen string operand formatting 2019-08-13 17:52:58 -07:00
allops-common-65C02.S Initial file commit 2018-09-28 10:05:11 -07:00
allops-common-6502.S Initial file commit 2018-09-28 10:05:11 -07:00
allops-common-65816.S Initial file commit 2018-09-28 10:05:11 -07:00