1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-07-04 16:30:01 +00:00
6502bench/SourceGen/AsmGen
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
..
WpfGui First pass at ACME support 2019-08-03 20:54:07 -07:00
AsmAcme.cs Replace on-screen string operand formatting 2019-08-13 17:52:58 -07:00
AsmCc65.cs Replace on-screen string operand formatting 2019-08-13 17:52:58 -07:00
AsmMerlin32.cs Replace on-screen string operand formatting 2019-08-13 17:52:58 -07:00
AsmTass64.cs Replace on-screen string operand formatting 2019-08-13 17:52:58 -07:00
AssemblerConfig.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
AssemblerInfo.cs First pass at ACME support 2019-08-03 20:54:07 -07:00
AssemblerVersion.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
GenCommon.cs Replace character operand output method 2019-08-11 22:11:00 -07:00
IAssembler.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
IGenerator.cs Reverse position on '#' in block move operands 2019-08-08 13:02:01 -07:00
LabelLocalizer.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00