mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-01 22:50:35 +00:00
83da0d952c
Added a "fancy" flag to MultiLineComment. If set, we will use formatting commands embedded in the text itself. The max width pop-up and "boxed" flag will be ignored in favor of width and boxing directives. (See issue #111.) The current "fancy" formatter is just a placeholder that folds lines every 10 characters. Removed FormattedMlcCache (added two changes back). Caching the rendered string list in the MLC itself is simpler and more efficient than having a separate cache, and it works for Notes as well. Added anchors for more comments in the 20090 test.
192 lines
4.4 KiB
Plaintext
192 lines
4.4 KiB
Plaintext
### 6502bench SourceGen dis65 v1.0 ###
|
||
{
|
||
"_ContentVersion":6,
|
||
"FileDataLength":169,
|
||
"FileDataCrc32":-1449180249,
|
||
"ProjectProps":{
|
||
"CpuName":"6502",
|
||
"IncludeUndocumentedInstr":false,
|
||
"TwoByteBrk":false,
|
||
"EntryFlags":32702671,
|
||
"AutoLabelStyle":"Simple",
|
||
"AnalysisParams":{
|
||
"AnalyzeUncategorizedData":true,
|
||
"DefaultTextScanMode":"LowHighAscii",
|
||
"MinCharsForString":4,
|
||
"SeekNearbyTargets":true,
|
||
"UseRelocData":false,
|
||
"SmartPlpHandling":true,
|
||
"SmartPlbHandling":true},
|
||
|
||
"PlatformSymbolFileIdentifiers":["RT:TestData/TestSyms.sym65"],
|
||
"ExtensionScriptFileIdentifiers":[],
|
||
"ProjectSyms":{
|
||
}},
|
||
|
||
"AddressMap":[{
|
||
"Offset":0,
|
||
"Addr":4096,
|
||
"Length":-1024,
|
||
"PreLabel":"",
|
||
"DisallowInward":false,
|
||
"DisallowOutward":false,
|
||
"IsRelative":false}],
|
||
"TypeHints":[{
|
||
"Low":0,
|
||
"High":0,
|
||
"Hint":"Code"}],
|
||
"StatusFlagOverrides":{
|
||
},
|
||
|
||
"Comments":{
|
||
"0":"Comment!",
|
||
"2":"\u0026another comment with \u0026\u0026s!",
|
||
"8":"comment ending in backslash\\",
|
||
"10":"comment, with, commas \\\\ \\\" \\/ \\\\\\",
|
||
"34":"Comment at the end of a lengthy bulk hex item might overflow various things, but could be wrapped.",
|
||
"98":"Pull in plataddr to see the comment on the platform file entry."},
|
||
|
||
"LongComments":{
|
||
"-2147483647":{
|
||
"Text":"Old school boxed output header. Brk\r\nmultiple lines yay. How about a hy-phenated word?\r\nLooonglonglonglonglonglonglonglonglonglonglongword.\r\n*\r\nThrow in a line divider. These aren\u0027t:\r\n*!\r\n *\r\n\u0026XYZ\r\n\r\n",
|
||
"IsFancy":false,
|
||
"BoxMode":true,
|
||
"MaxWidth":40,
|
||
"BackgroundColor":0},
|
||
|
||
"0":{
|
||
"Text":"Short, unboxed comment here!! Two spaces after. More hyp-hens?\r\n",
|
||
"IsFancy":false,
|
||
"BoxMode":false,
|
||
"MaxWidth":30,
|
||
"BackgroundColor":0},
|
||
|
||
"2":{
|
||
"Text":"Comment rulers can be helpful in findin the edges of notes. Comments are hyph-enatingly fun. Like the note, this goes out to 80 columns.",
|
||
"IsFancy":false,
|
||
"BoxMode":false,
|
||
"MaxWidth":80,
|
||
"BackgroundColor":0},
|
||
|
||
"4":{
|
||
"Text":"Down to 64 columns this time. Why 64? Why not 64. A rose, by any other name, would break the line at the same place. Or hy-phen split.\r\n",
|
||
"IsFancy":false,
|
||
"BoxMode":false,
|
||
"MaxWidth":64,
|
||
"BackgroundColor":0},
|
||
|
||
"6":{
|
||
"Text":"Ah, the classic 40-column limitation... brings back memories. Of, you know, h-yphenated things.",
|
||
"IsFancy":false,
|
||
"BoxMode":false,
|
||
"MaxWidth":40,
|
||
"BackgroundColor":0},
|
||
|
||
"8":{
|
||
"Text":"Thirty columns. \u0027cause forty felt like too many. Oh, hyp-henation!",
|
||
"IsFancy":false,
|
||
"BoxMode":false,
|
||
"MaxWidth":30,
|
||
"BackgroundColor":0},
|
||
|
||
"10":{
|
||
"Text":"Short box comment, 80 cols.",
|
||
"IsFancy":false,
|
||
"BoxMode":true,
|
||
"MaxWidth":80,
|
||
"BackgroundColor":0},
|
||
|
||
"12":{
|
||
"Text":"\r\nChoppy\r\n\r\nbox\r\n\r\ncomment\r\n\r\n64 cols\r\n\r\n",
|
||
"IsFancy":false,
|
||
"BoxMode":true,
|
||
"MaxWidth":64,
|
||
"BackgroundColor":0},
|
||
|
||
"14":{
|
||
"Text":"Some non-ASCII stuff:\r\n†•<E280A0>␇\r\n(right side of box looks pushed over on-screen because font isn\u0027t fully mono)",
|
||
"IsFancy":false,
|
||
"BoxMode":true,
|
||
"MaxWidth":64,
|
||
"BackgroundColor":0},
|
||
|
||
"16":{
|
||
"Text":"Specific line break case at end of. Sentence.\r\nAlternate version for semicolon zz. Output.\r\n\r\nSame thing but with three spaces zz. Three!\r\nAgain with the three spces between. Things.\r\n\r\nTry to make it the very last thing.. ",
|
||
"IsFancy":false,
|
||
"BoxMode":true,
|
||
"MaxWidth":40,
|
||
"BackgroundColor":0},
|
||
|
||
"101":{
|
||
"Text":"\r\nA trivial fancy comment. Nothing special about it at all. Go on about your business.\r\n\r\n",
|
||
"IsFancy":true,
|
||
"BoxMode":false,
|
||
"MaxWidth":80,
|
||
"BackgroundColor":0}},
|
||
|
||
"Notes":{
|
||
"0":{
|
||
"Text":"And now, a note.",
|
||
"IsFancy":false,
|
||
"BoxMode":false,
|
||
"MaxWidth":80,
|
||
"BackgroundColor":-7278960},
|
||
|
||
"2":{
|
||
"Text":"Another note, this one longer. We don\u0027t get to see where the lines break, which makes it harder to hit the edges.",
|
||
"IsFancy":false,
|
||
"BoxMode":false,
|
||
"MaxWidth":80,
|
||
"BackgroundColor":-5383962},
|
||
|
||
"4":{
|
||
"Text":"Another day, another note.",
|
||
"IsFancy":false,
|
||
"BoxMode":false,
|
||
"MaxWidth":80,
|
||
"BackgroundColor":-256},
|
||
|
||
"6":{
|
||
"Text":"Take note!",
|
||
"IsFancy":false,
|
||
"BoxMode":false,
|
||
"MaxWidth":80,
|
||
"BackgroundColor":-18751},
|
||
|
||
"8":{
|
||
"Text":"Duly noted.",
|
||
"IsFancy":false,
|
||
"BoxMode":false,
|
||
"MaxWidth":80,
|
||
"BackgroundColor":-23296}},
|
||
|
||
"UserLabels":{
|
||
"34":{
|
||
"Label":"bytes",
|
||
"Value":4130,
|
||
"Source":"User",
|
||
"Type":"LocalOrGlobalAddr",
|
||
"LabelAnno":"None"}},
|
||
|
||
"OperandFormats":{
|
||
"34":{
|
||
"Length":64,
|
||
"Format":"Dense",
|
||
"SubFormat":"None",
|
||
"SymbolRef":null,
|
||
"Extra":null}},
|
||
|
||
"LvTables":{
|
||
},
|
||
|
||
"Visualizations":[],
|
||
"VisualizationAnimations":[],
|
||
"VisualizationSets":{
|
||
},
|
||
|
||
"RelocList":{
|
||
},
|
||
|
||
"DbrValues":{
|
||
}}
|