1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-05-31 22:41:37 +00:00
6502bench/SourceGen/SGTestData/20140-char-encoding-s.dis65
Andy McFadden 635084db9d Fix DCI string edge case
If a DCI string ended with a string delimiter or non-ASCII character
(e.g. a PETSCII char with no ASCII equivalent), the code generator
output the last byte as a hex value.  This caused an error because it
was outputting the raw hex value, with the high bit already set, which
the assembler did not expect.

This change corrects the behavior for code generation and on-screen
display, and adds a few samples to the regression test suite.

(see issue #102)
2021-08-10 14:08:39 -07:00

882 lines
13 KiB
Plaintext

### 6502bench SourceGen dis65 v1.0 ###
{
"_ContentVersion":4,
"FileDataLength":1417,
"FileDataCrc32":212868891,
"ProjectProps":{
"CpuName":"6502",
"IncludeUndocumentedInstr":false,
"TwoByteBrk":false,
"EntryFlags":32702671,
"AutoLabelStyle":"Simple",
"AnalysisParams":{
"AnalyzeUncategorizedData":true,
"DefaultTextScanMode":"C64ScreenCode",
"MinCharsForString":4,
"SeekNearbyTargets":true,
"UseRelocData":false,
"SmartPlpHandling":false,
"SmartPlbHandling":true},
"PlatformSymbolFileIdentifiers":[],
"ExtensionScriptFileIdentifiers":[],
"ProjectSyms":{
}},
"AddressMap":[{
"Offset":0,
"Addr":4096}],
"TypeHints":[{
"Low":0,
"High":0,
"Hint":"Code"}],
"StatusFlagOverrides":{
},
"Comments":{
"16":"inappropriate format should be ignored"},
"LongComments":{
"-2147483647":{
"Text":"Projected edited to format non-char operands as chars.",
"BoxMode":false,
"MaxWidth":80,
"BackgroundColor":0}},
"Notes":{
},
"UserLabels":{
},
"OperandFormats":{
"0":{
"Length":2,
"Format":"NumericLE",
"SubFormat":"Ascii",
"SymbolRef":null},
"2":{
"Length":2,
"Format":"NumericLE",
"SubFormat":"HighAscii",
"SymbolRef":null},
"4":{
"Length":2,
"Format":"NumericLE",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"6":{
"Length":2,
"Format":"NumericLE",
"SubFormat":"C64Screen",
"SymbolRef":null},
"8":{
"Length":2,
"Format":"NumericLE",
"SubFormat":"Ascii",
"SymbolRef":null},
"10":{
"Length":2,
"Format":"NumericLE",
"SubFormat":"HighAscii",
"SymbolRef":null},
"12":{
"Length":2,
"Format":"NumericLE",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"14":{
"Length":2,
"Format":"NumericLE",
"SubFormat":"C64Screen",
"SymbolRef":null},
"16":{
"Length":2,
"Format":"NumericLE",
"SubFormat":"Ascii",
"SymbolRef":null},
"18":{
"Length":2,
"Format":"NumericLE",
"SubFormat":"HighAscii",
"SymbolRef":null},
"20":{
"Length":2,
"Format":"NumericLE",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"22":{
"Length":2,
"Format":"NumericLE",
"SubFormat":"C64Screen",
"SymbolRef":null},
"24":{
"Length":2,
"Format":"NumericLE",
"SubFormat":"Ascii",
"SymbolRef":null},
"29":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Ascii",
"SymbolRef":null},
"30":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"HighAscii",
"SymbolRef":null},
"31":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"32":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"C64Screen",
"SymbolRef":null},
"33":{
"Length":2,
"Format":"NumericLE",
"SubFormat":"Ascii",
"SymbolRef":null},
"35":{
"Length":2,
"Format":"NumericLE",
"SubFormat":"HighAscii",
"SymbolRef":null},
"37":{
"Length":2,
"Format":"NumericLE",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"39":{
"Length":2,
"Format":"NumericLE",
"SubFormat":"C64Screen",
"SymbolRef":null},
"41":{
"Length":2,
"Format":"NumericBE",
"SubFormat":"Ascii",
"SymbolRef":null},
"43":{
"Length":2,
"Format":"NumericBE",
"SubFormat":"HighAscii",
"SymbolRef":null},
"45":{
"Length":2,
"Format":"NumericBE",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"47":{
"Length":2,
"Format":"NumericBE",
"SubFormat":"C64Screen",
"SymbolRef":null},
"50":{
"Length":13,
"Format":"StringGeneric",
"SubFormat":"Ascii",
"SymbolRef":null},
"63":{
"Length":14,
"Format":"StringGeneric",
"SubFormat":"HighAscii",
"SymbolRef":null},
"78":{
"Length":11,
"Format":"StringGeneric",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"90":{
"Length":15,
"Format":"StringGeneric",
"SubFormat":"C64Screen",
"SymbolRef":null},
"106":{
"Length":17,
"Format":"StringGeneric",
"SubFormat":"Ascii",
"SymbolRef":null},
"124":{
"Length":18,
"Format":"StringGeneric",
"SubFormat":"HighAscii",
"SymbolRef":null},
"143":{
"Length":30,
"Format":"StringGeneric",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"174":{
"Length":95,
"Format":"StringGeneric",
"SubFormat":"Ascii",
"SymbolRef":null},
"270":{
"Length":95,
"Format":"StringGeneric",
"SubFormat":"HighAscii",
"SymbolRef":null},
"366":{
"Length":60,
"Format":"StringGeneric",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"426":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"427":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"428":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"429":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"430":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"431":{
"Length":26,
"Format":"StringGeneric",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"457":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"458":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"459":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"460":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"462":{
"Length":60,
"Format":"StringGeneric",
"SubFormat":"C64Screen",
"SymbolRef":null},
"522":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"523":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"C64Screen",
"SymbolRef":null},
"524":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"525":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"526":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"527":{
"Length":26,
"Format":"StringGeneric",
"SubFormat":"C64Screen",
"SymbolRef":null},
"553":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"554":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"555":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"556":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"558":{
"Length":15,
"Format":"StringReverse",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"574":{
"Length":18,
"Format":"StringNullTerm",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"593":{
"Length":84,
"Format":"StringNullTerm",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"678":{
"Length":20,
"Format":"StringL8",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"699":{
"Length":22,
"Format":"StringL16",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"722":{
"Length":7,
"Format":"StringDci",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"730":{
"Length":19,
"Format":"StringReverse",
"SubFormat":"C64Screen",
"SymbolRef":null},
"750":{
"Length":23,
"Format":"StringGeneric",
"SubFormat":"C64Screen",
"SymbolRef":null},
"774":{
"Length":24,
"Format":"StringL8",
"SubFormat":"C64Screen",
"SymbolRef":null},
"799":{
"Length":26,
"Format":"StringL16",
"SubFormat":"C64Screen",
"SymbolRef":null},
"826":{
"Length":15,
"Format":"StringDci",
"SubFormat":"C64Screen",
"SymbolRef":null},
"1103":{
"Length":34,
"Format":"StringGeneric",
"SubFormat":"Ascii",
"SymbolRef":null},
"1138":{
"Length":16,
"Format":"StringGeneric",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1154":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"1155":{
"Length":2,
"Format":"StringGeneric",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1157":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"1158":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"1159":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1160":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"1161":{
"Length":2,
"Format":"StringGeneric",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1163":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"1164":{
"Length":2,
"Format":"StringGeneric",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1166":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"1167":{
"Length":2,
"Format":"StringGeneric",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1169":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"1170":{
"Length":2,
"Format":"StringGeneric",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1172":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"1173":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1175":{
"Length":12,
"Format":"StringGeneric",
"SubFormat":"C64Screen",
"SymbolRef":null},
"1187":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"1188":{
"Length":2,
"Format":"StringGeneric",
"SubFormat":"C64Screen",
"SymbolRef":null},
"1190":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"1191":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"1192":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"C64Screen",
"SymbolRef":null},
"1193":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"1194":{
"Length":2,
"Format":"StringGeneric",
"SubFormat":"C64Screen",
"SymbolRef":null},
"1196":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"1197":{
"Length":2,
"Format":"StringGeneric",
"SubFormat":"C64Screen",
"SymbolRef":null},
"1199":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"1200":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"1201":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"C64Screen",
"SymbolRef":null},
"1202":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"1203":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"1204":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"C64Screen",
"SymbolRef":null},
"1205":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Hex",
"SymbolRef":null},
"1206":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"C64Screen",
"SymbolRef":null},
"1208":{
"Length":33,
"Format":"StringGeneric",
"SubFormat":"HighAscii",
"SymbolRef":null},
"1247":{
"Length":5,
"Format":"StringDci",
"SubFormat":"Ascii",
"SymbolRef":null},
"1252":{
"Length":2,
"Format":"StringDci",
"SubFormat":"Ascii",
"SymbolRef":null},
"1254":{
"Length":1,
"Format":"StringDci",
"SubFormat":"Ascii",
"SymbolRef":null},
"1255":{
"Length":1,
"Format":"StringDci",
"SubFormat":"Ascii",
"SymbolRef":null},
"1257":{
"Length":5,
"Format":"StringDci",
"SubFormat":"HighAscii",
"SymbolRef":null},
"1262":{
"Length":2,
"Format":"StringDci",
"SubFormat":"HighAscii",
"SymbolRef":null},
"1264":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Ascii",
"SymbolRef":null},
"1265":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"Ascii",
"SymbolRef":null},
"1267":{
"Length":5,
"Format":"StringDci",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1272":{
"Length":2,
"Format":"StringDci",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1274":{
"Length":1,
"Format":"StringDci",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1275":{
"Length":1,
"Format":"StringDci",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1277":{
"Length":5,
"Format":"StringDci",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1282":{
"Length":2,
"Format":"StringDci",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1284":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1285":{
"Length":1,
"Format":"NumericLE",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1287":{
"Length":5,
"Format":"StringDci",
"SubFormat":"C64Screen",
"SymbolRef":null},
"1292":{
"Length":2,
"Format":"StringDci",
"SubFormat":"C64Screen",
"SymbolRef":null},
"1294":{
"Length":1,
"Format":"StringDci",
"SubFormat":"C64Screen",
"SymbolRef":null},
"1295":{
"Length":1,
"Format":"StringDci",
"SubFormat":"C64Screen",
"SymbolRef":null},
"1297":{
"Length":6,
"Format":"StringDci",
"SubFormat":"Ascii",
"SymbolRef":null},
"1304":{
"Length":10,
"Format":"StringDci",
"SubFormat":"Ascii",
"SymbolRef":null},
"1314":{
"Length":10,
"Format":"StringDci",
"SubFormat":"Ascii",
"SymbolRef":null},
"1325":{
"Length":11,
"Format":"StringDci",
"SubFormat":"HighAscii",
"SymbolRef":null},
"1336":{
"Length":11,
"Format":"StringDci",
"SubFormat":"HighAscii",
"SymbolRef":null},
"1348":{
"Length":8,
"Format":"StringDci",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1357":{
"Length":10,
"Format":"StringDci",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1367":{
"Length":10,
"Format":"StringDci",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1378":{
"Length":1,
"Format":"StringDci",
"SubFormat":"C64Petscii",
"SymbolRef":null},
"1380":{
"Length":11,
"Format":"StringDci",
"SubFormat":"C64Screen",
"SymbolRef":null},
"1392":{
"Length":10,
"Format":"StringDci",
"SubFormat":"C64Screen",
"SymbolRef":null},
"1402":{
"Length":10,
"Format":"StringDci",
"SubFormat":"C64Screen",
"SymbolRef":null},
"1413":{
"Length":1,
"Format":"StringDci",
"SubFormat":"C64Screen",
"SymbolRef":null}},
"LvTables":{
},
"Visualizations":[],
"VisualizationAnimations":[],
"VisualizationSets":{
},
"RelocList":{
},
"DbrValues":{
}}