1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-08-14 03:29:00 +00:00
6502bench/SourceGen
Andy McFadden f33cd7d8a6 Replace character operand output method
The previous code output a character in single-quotes if it was
standard ASCII, double-quotes if high ASCII, or hex if it was neither
of those.  If a flag was set, high ASCII would also be output as
hex.

The new system takes the character value and an encoding identifier.
The identifier selects the character converter and delimiter
pattern, and puts the two together to generate the operand.

While doing this I realized that I could trivially support high
ASCII character arguments in all assemblers by setting the delimiter
pattern to "'#' | $80".

In FormatDescriptor, I had previously renamed the "Ascii" sub-type
"LowAscii" so it wouldn't be confused, but I dislike filling the
project file with "LowAscii" when "Ascii" is more accurate and less
confusing.  So I switched it back, and we now check the project
file version number when deciding what to do with an ASCII item.
The CharEncoding tests/converters were also renamed.

Moved the default delimiter patterns to the string table.

Widened the delimiter pattern input fields slightly.  Added a read-
only TextBox with assorted non-typewriter quotes and things so
people have something to copy text from.
2019-08-11 22:11:00 -07:00
..
AsmGen Replace character operand output method 2019-08-11 22:11:00 -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 Replace character operand output method 2019-08-11 22:11:00 -07:00
RuntimeData Prep work for multi-encoding support 2019-08-11 11:27:09 -07:00
Sandbox Don't do plugin interface checks during code analysis 2019-08-10 17:16:39 -07:00
SGTestData Replace character operand output method 2019-08-11 22:11:00 -07:00
Tests Treat low and high ASCII as two distinct formats 2019-08-10 14:59:24 -07:00
Tools Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
WpfGui Replace character operand output method 2019-08-11 22:11:00 -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 Remove "high" versions of string pseudo-ops 2019-08-11 16:44:22 -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 Don't do plugin interface checks during code analysis 2019-08-10 17:16:39 -07:00
DataAnalysis.cs Replace character operand output method 2019-08-11 22:11:00 -07:00
DefSymbol.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
DisasmProject.cs Replace character operand output method 2019-08-11 22:11:00 -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 Replace character operand output method 2019-08-11 22:11:00 -07:00
HelpAccess.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
LineListGen.cs Reverse position on '#' in block move operands 2019-08-08 13:02:01 -07:00
MainController.cs Replace character operand output method 2019-08-11 22:11:00 -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 Replace character operand output method 2019-08-11 22:11:00 -07:00
ProjectProperties.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
PseudoOp.cs Replace character operand output method 2019-08-11 22:11:00 -07:00
RuntimeDataAccess.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
SourceGen.csproj Rework string operand formatting 2019-08-09 17:46:33 -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