1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-09-28 10:55:03 +00:00
6502bench/SourceGen
Andy McFadden 3368182e14 Allow single-character DCI strings
The DCI string format uses character values where the high bit of the
last byte differs from the rest of the string.  Usually all the high
bits are clear except on the last byte, but SourceGen generally allows
either polarity.

This gets a little uncertain with single-character strings, because
SourceGen can't auto-detect DCI very effectively.  A series of bytes
with the high bit set could be a single high-ASCII string or a series
of single-byte DCI strings.

The motivation for allowing them is C64 PETSCII.  While ASCII allows
"high ASCII" as an escape hatch, PETSCII doesn't have that option, so
there's no way to mark the data as a character or a string.  We still
want to do a bit of screening, but if the user specifies a non-ASCII
character set and the selected bytes have their high bits set, we
want to just treat the whole set as 1-byte DCI.

Some minor adjustments were needed for a couple of validity checks
that expected longer strings.

This adds some short DCI strings in different character sets to the
char-encoding regression tests.

(for issue #102)
2021-08-08 15:38:39 -07:00
..
AsmGen Allow single-character DCI strings 2021-08-08 15:38:39 -07:00
Examples Update A2-HP-CDA example 2020-07-10 21:22:18 -07:00
Properties Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
Res Refine handling of C64 PRG header 2020-10-18 13:22:24 -07:00
RuntimeData Update ACME version in docs 2021-07-31 15:15:21 -07:00
Sandbox Reboot sandbox when required 2020-07-19 13:20:18 -07:00
SGTestData Allow single-character DCI strings 2021-08-08 15:38:39 -07:00
Tests Fix 64tass output for non-loadable files 2021-08-01 17:21:20 -07:00
Tools Rename "hints" to "analyzer tags" 2020-10-15 16:55:29 -07:00
WpfGui Allow single-character DCI strings 2021-08-08 15:38:39 -07:00
Anattrib.cs Rename "hints" to "analyzer tags" 2020-10-15 16:55:29 -07:00
App.config Fix startup issues 2019-07-20 17:36:12 -07:00
App.xaml Improve visualization 2019-12-04 15:59:37 -08:00
App.xaml.cs Version 1.7.5-dev3 2021-08-01 20:06:01 -07:00
AppSettings.cs Split "show cycle counts" in two 2020-08-27 13:59:53 -07:00
AutoLabel.cs Label rework, part 1 2019-11-08 21:02:15 -08:00
ChangeSet.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
CodeAnalysis.cs Warn about multi-line start/stop tags 2020-10-15 17:18:49 -07:00
DataAnalysis.cs Allow single-character DCI strings 2021-08-08 15:38:39 -07:00
DefSymbol.cs Prefer narrower project/platform symbols 2020-01-23 10:49:22 -08:00
DisasmProject.cs Refine handling of C64 PRG header 2020-10-18 13:22:24 -07:00
DisplayList.cs Various minor changes 2020-03-30 16:50:52 -07:00
DisplayListSelection.cs Add C64 encodings to instruction and data operand editors 2019-08-15 17:53:12 -07:00
Exporter.cs Change bookmark link element 2021-05-23 15:28:30 -07:00
ExternalFile.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
FormatDescriptor.cs Fix junk alignment check 2019-10-23 13:25:50 -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 Refine handling of C64 PRG header 2020-10-18 13:22:24 -07:00
LocalVariableLookup.cs Fix various local variable de-duplication bugs 2020-01-13 18:32:56 -08:00
LocalVariableTable.cs Fix various local variable de-duplication bugs 2020-01-13 18:32:56 -08:00
MainController.cs Fix table formatting for embedded destinations 2021-08-01 18:15:44 -07:00
MessageList.cs Check for hidden visualizations 2019-12-25 11:15:22 -08:00
MultiLineComment.cs Tweak line folding code 2019-11-01 19:47:56 -07:00
NavStack.cs Tweak navigation 2019-10-10 11:57:36 -07:00
PlatformSymbols.cs Expand 20152-local-variables test 2021-07-20 11:28:26 -07:00
ProjectFile.cs Rename "hints" to "analyzer tags" 2020-10-15 16:55:29 -07:00
ProjectProperties.cs Default "smart PLP handling" to off 2020-07-24 21:38:45 -07:00
PseudoOp.cs Update ACME generator for v0.97 2021-07-31 14:42:36 -07:00
RuntimeDataAccess.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
Sgec.cs SGEC tweaks 2020-07-16 10:14:28 -07:00
SourceGen.csproj Add Apple II screen memory chart 2020-08-20 17:24:28 -07:00
Symbol.cs Fix symbol entry bug in operand editors 2019-12-26 11:04:37 -08:00
SymbolTable.cs Prefer narrower project/platform symbols 2020-01-23 10:49:22 -08:00
SystemDefaults.cs Optionally treat BRKs as two-byte instructions 2019-10-09 14:55:56 -07:00
SystemDefs.cs Progress toward OMF file handling 2020-06-30 08:20:12 -07:00
UndoableChange.cs Rename "hints" to "analyzer tags" 2020-10-15 16:55:29 -07:00
VisBitmapAnimation.cs Progress toward wireframe animations 2020-03-08 17:05:08 -07:00
Visualization.cs Add Export feature to visualization editor 2020-06-20 17:32:57 -07:00
VisualizationSet.cs Add a progress bar to HTML export 2020-03-15 14:07:05 -07:00
VisWireframeAnimation.cs Add Atari AVG visualizer 2020-04-11 17:24:21 -07:00
WeakSymbolRef.cs Add local variable uniquification 2019-08-31 14:19:50 -07:00
WireframeObject.cs Consolidate wireframe data validation 2020-04-23 11:25:45 -07:00
XrefSet.cs Show "ptr" for pointer use in cross-reference list 2020-09-04 13:26:41 -07:00