1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-11-29 10:50:28 +00:00
6502bench/SourceGen
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
..
AsmGen Change the way string formats are defined 2019-08-07 16:19:13 -07:00
Examples Add advanced tutorial 2018-10-09 14:55:16 -07:00
Properties Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
Res Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
RuntimeData Updated assembler bugs & quirks 2019-08-06 08:52:59 -07:00
Sandbox Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
SGTestData Add 2015-64k-nops test 2019-08-04 16:54:01 -07:00
Tests First pass at ACME support 2019-08-03 20:54:07 -07:00
Tools Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
WpfGui Change the way string formats are defined 2019-08-07 16:19:13 -07:00
AddressMap.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
Anattrib.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
App.config Fix startup issues 2019-07-20 17:36:12 -07:00
App.xaml Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
App.xaml.cs Version 1.3.0-dev2 2019-08-04 15:00:36 -07:00
AppSettings.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
AutoLabel.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
ChangeSet.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
CodeAnalysis.cs Change the way string formats are defined 2019-08-07 16:19:13 -07:00
DataAnalysis.cs Change the way string formats are defined 2019-08-07 16:19:13 -07:00
DefSymbol.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
DisasmProject.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
DisplayList.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
DisplayListSelection.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
ExternalFile.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
FormatDescriptor.cs Change the way string formats are defined 2019-08-07 16:19:13 -07:00
HelpAccess.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
LineListGen.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
MainController.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
MultiLineComment.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
NavStack.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
PlatformSymbols.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
ProjectFile.cs Change the way string formats are defined 2019-08-07 16:19:13 -07:00
ProjectProperties.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
PseudoOp.cs Change the way string formats are defined 2019-08-07 16:19:13 -07:00
RuntimeDataAccess.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
SourceGen.csproj First pass at ACME support 2019-08-03 20:54:07 -07:00
Symbol.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
SymbolTable.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
SystemDefaults.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
SystemDefs.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
UndoableChange.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
WeakSymbolRef.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
XrefSet.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00