1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-07-04 16:30:01 +00:00
6502bench/SourceGen
Andy McFadden 32d1147eec Improve multi-encoding output in 64tass
Previously, we used the default character encoding from the project
properties to determine how strings and character constants in the
entire source file should be encoded.  Now we switch between
encodings as needed.  The default character encoding is no longer
relevant.

High ASCII is now an actual encoding, rather than acting like ASCII
that sometimes doesn't work.  Because we can do high ASCII character
operands with "| $80", we don't output a .enc to switch from ASCII
to high ASCII unless we need to generate a string.  (If we're
already in high ASCII mode, the "| $80" isn't required but won't
hurt anything.)

We now do a scan up front to see if ASCII or high ASCII is needed,
and only output the .cdefs for the encodings that are actually used.

The only gap in the matrix is high ASCII DCI strings -- the ".shift"
pseudo-op rejects text if the string doesn't start with the high
bit clear.
2019-08-21 13:46:05 -07:00
..
AsmGen Improve multi-encoding output in 64tass 2019-08-21 13:46:05 -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 Add C64 encodings to instruction and data operand editors 2019-08-15 17:53:12 -07:00
RuntimeData Improve multi-encoding output in 64tass 2019-08-21 13:46:05 -07:00
Sandbox Don't do plugin interface checks during code analysis 2019-08-10 17:16:39 -07:00
SGTestData Improve multi-encoding output in 64tass 2019-08-21 13:46:05 -07:00
Tests Various improvements 2019-08-17 11:30:42 -07:00
Tools Add C64 character conversions to hex dump viewer 2019-08-16 15:45:42 -07:00
WpfGui PETSCII does DCI 2019-08-20 17:55:12 -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-dev4 2019-08-20 11:26:56 -07:00
AppSettings.cs Add C64 encodings to instruction and data operand editors 2019-08-15 17:53:12 -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 PETSCII does DCI 2019-08-20 17:55:12 -07:00
DefSymbol.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
DisasmProject.cs Add default text encoding mode to system definition 2019-08-14 18:03:40 -07:00
DisplayList.cs Various improvements 2019-08-17 11:30:42 -07:00
DisplayListSelection.cs Add C64 encodings to instruction and data operand editors 2019-08-15 17:53:12 -07:00
ExternalFile.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
FormatDescriptor.cs Improve multi-encoding output in 64tass 2019-08-21 13:46:05 -07:00
FormattedOperandCache.cs Add a string operand cache 2019-08-17 17:03:06 -07:00
HelpAccess.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
LineListGen.cs Add a string operand cache 2019-08-17 17:03:06 -07:00
MainController.cs Documentation update 2019-08-19 14:16:35 -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 Add combo box for default text scan mode 2019-08-12 18:01:29 -07:00
ProjectProperties.cs Add C64 character conversions to hex dump viewer 2019-08-16 15:45:42 -07:00
PseudoOp.cs PETSCII does DCI 2019-08-20 17:55:12 -07:00
RuntimeDataAccess.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
SourceGen.csproj Add a string operand cache 2019-08-17 17:03:06 -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 Add default text encoding mode to system definition 2019-08-14 18:03:40 -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