1
0
mirror of https://github.com/fadden/6502bench.git synced 2025-01-05 23:30:20 +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
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
App.xaml
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
ChangeSet.cs
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
DisasmProject.cs Refine handling of C64 PRG header 2020-10-18 13:22:24 -07:00
DisplayList.cs
DisplayListSelection.cs
Exporter.cs Change bookmark link element 2021-05-23 15:28:30 -07:00
ExternalFile.cs
FormatDescriptor.cs
FormattedOperandCache.cs
HelpAccess.cs
LineListGen.cs Refine handling of C64 PRG header 2020-10-18 13:22:24 -07:00
LocalVariableLookup.cs
LocalVariableTable.cs
MainController.cs Fix table formatting for embedded destinations 2021-08-01 18:15:44 -07:00
MessageList.cs
MultiLineComment.cs
NavStack.cs
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
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
SymbolTable.cs
SystemDefaults.cs
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
Visualization.cs Add Export feature to visualization editor 2020-06-20 17:32:57 -07:00
VisualizationSet.cs
VisWireframeAnimation.cs
WeakSymbolRef.cs
WireframeObject.cs
XrefSet.cs Show "ptr" for pointer use in cross-reference list 2020-09-04 13:26:41 -07:00