1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-07-04 16:30:01 +00:00
6502bench/SourceGen/AsmGen
Andy McFadden 0d0854bda7 Change the way string formats are defined
We used to use type="String", with the sub-type indicating whether
the string was null-terminated, prefixed with a length, or whatever.
This didn't leave much room for specifying a character encoding,
which is orthogonal to the sub-type.

What we actually want is to have the type specify the string type,
and then have the sub-type determine the character encoding.  These
sub-types can also be used with the Numeric type to specify the
encoding of character operands.

This change updates the enum definitions and the various bits of
code that use them, but does not add any code for working with
non-ASCII character encodings.

The project file version number was incremented to 2, since the new
FormatDescriptor serialization is mildly incompatible with the old.
(Won't explode, but it'll post a complaint and ignore the stuff
it doesn't recognize.)

While I was at it, I finished removing DciReverse.  It's still part
of the 2005-string-types regression test, which currently fails
because the generated source doesn't match.
2019-08-07 16:19:13 -07:00
..
WpfGui First pass at ACME support 2019-08-03 20:54:07 -07:00
AsmAcme.cs Change the way string formats are defined 2019-08-07 16:19:13 -07:00
AsmCc65.cs Change the way string formats are defined 2019-08-07 16:19:13 -07:00
AsmMerlin32.cs Change the way string formats are defined 2019-08-07 16:19:13 -07:00
AsmTass64.cs Change the way string formats are defined 2019-08-07 16:19:13 -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 First pass at ACME support 2019-08-03 20:54:07 -07:00
IAssembler.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
IGenerator.cs First pass at ACME support 2019-08-03 20:54:07 -07:00
LabelLocalizer.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
StringGather.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00