1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-07-04 16:30:01 +00:00
6502bench/SourceGen/AsmGen
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
..
WpfGui First pass at ACME support 2019-08-03 20:54:07 -07:00
AsmAcme.cs Improve multi-encoding output in 64tass 2019-08-21 13:46:05 -07:00
AsmCc65.cs Improve multi-encoding output in 64tass 2019-08-21 13:46:05 -07:00
AsmMerlin32.cs Improve multi-encoding output in 64tass 2019-08-21 13:46:05 -07:00
AsmTass64.cs Improve multi-encoding output in 64tass 2019-08-21 13:46:05 -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 Improve multi-encoding output in 64tass 2019-08-21 13:46:05 -07:00
IAssembler.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
IGenerator.cs Improve multi-encoding output in 64tass 2019-08-21 13:46:05 -07:00
LabelLocalizer.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00