1
0
mirror of https://github.com/fadden/6502bench.git synced 2025-01-07 06:30:52 +00:00
6502bench/SourceGen/WpfGui
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
..
AboutBox.xaml Version 1.7.4 2021-06-08 13:15:19 -07:00
AboutBox.xaml.cs
CodeListItemStyle.xaml
DataFileLoadIssue.xaml
DataFileLoadIssue.xaml.cs
DiscardChanges.xaml
DiscardChanges.xaml.cs
EditAddress.xaml
EditAddress.xaml.cs
EditAppSettings.xaml Add toolbar button for "show cycle counts" 2020-09-04 17:49:28 -07:00
EditAppSettings.xaml.cs Split "show cycle counts" in two 2020-08-27 13:59:53 -07:00
EditBitmapAnimation.xaml
EditBitmapAnimation.xaml.cs
EditComment.xaml
EditComment.xaml.cs
EditDataBank.xaml Data Bank Register management, part 5 2020-07-10 13:29:36 -07:00
EditDataBank.xaml.cs Data Bank Register management, part 3 2020-07-09 16:52:23 -07:00
EditDataOperand.xaml Change PETSCII keyboard shortcut 2020-05-05 21:40:42 -07:00
EditDataOperand.xaml.cs Allow single-character DCI strings 2021-08-08 15:38:39 -07:00
EditDefSymbol.xaml Expand max local variable width to 257 2021-07-20 13:08:19 -07:00
EditDefSymbol.xaml.cs Expand max local variable width to 257 2021-07-20 13:08:19 -07:00
EditInstructionOperand.xaml Change PETSCII keyboard shortcut 2020-05-05 21:40:42 -07:00
EditInstructionOperand.xaml.cs Rename "hints" to "analyzer tags" 2020-10-15 16:55:29 -07:00
EditLabel.xaml
EditLabel.xaml.cs
EditLocalVariableTable.xaml Add Ctrl+Enter as a way to close the LVTable edit dialog 2020-08-27 17:09:18 -07:00
EditLocalVariableTable.xaml.cs Add Ctrl+Enter as a way to close the LVTable edit dialog 2020-08-27 17:09:18 -07:00
EditLongComment.xaml
EditLongComment.xaml.cs
EditLvTableLocation.xaml
EditLvTableLocation.xaml.cs
EditNote.xaml
EditNote.xaml.cs
EditProjectProperties.xaml Add W65C02S support, part 1 2020-10-10 15:46:34 -07:00
EditProjectProperties.xaml.cs Add W65C02S support, part 1 2020-10-10 15:46:34 -07:00
EditStatusFlags.xaml
EditStatusFlags.xaml.cs Set owner of status flags edit window 2021-06-03 17:16:07 -07:00
EditVisualization.xaml Add Export feature to visualization editor 2020-06-20 17:32:57 -07:00
EditVisualization.xaml.cs Add Export feature to visualization editor 2020-06-20 17:32:57 -07:00
EditVisualizationSet.xaml
EditVisualizationSet.xaml.cs
Export.xaml
Export.xaml.cs Tweak column widths for clipboard and Export default 2020-07-16 10:48:03 -07:00
ExportVisualization.xaml Add Export feature to visualization editor 2020-06-20 17:32:57 -07:00
ExportVisualization.xaml.cs Add Export feature to visualization editor 2020-06-20 17:32:57 -07:00
FindBox.xaml
FindBox.xaml.cs
FontPicker.xaml
FontPicker.xaml.cs
FormatAddressTable.xaml Rename "hints" to "analyzer tags" 2020-10-15 16:55:29 -07:00
FormatAddressTable.xaml.cs Rename "hints" to "analyzer tags" 2020-10-15 16:55:29 -07:00
GotoBox.xaml
GotoBox.xaml.cs Fix "goto address" for overlapping segments 2021-07-30 14:40:17 -07:00
MainWindow.xaml Rename "hints" to "analyzer tags" 2020-10-15 16:55:29 -07:00
MainWindow.xaml.cs Work around minor column width update issue 2021-06-03 15:03:22 -07:00
NewProject.xaml Remove "Atari Arcade Cabinet" system definition 2020-07-01 11:06:23 -07:00
NewProject.xaml.cs
ProjectLoadIssues.xaml
ProjectLoadIssues.xaml.cs
ShowWireframeAnimation.xaml
ShowWireframeAnimation.xaml.cs Add Atari AVG visualizer 2020-04-11 17:24:21 -07:00