1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-02 13:51:36 +00:00
6502bench/SourceGen/SGTestData/Source
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
..
10000-allops-value-6502.S Add W65C02S support, part 2 2020-10-10 18:34:19 -07:00
10001-allops-value-65C02.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10002-allops-value-65816.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10003-allops-value-W65C02.S Add W65C02S support, part 2 2020-10-10 18:34:19 -07:00
10010-allops-zero-6502.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10011-allops-zero-65C02.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10012-allops-zero-65816.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10013-allops-zero-W65C02.S Add W65C02S support, part 2 2020-10-10 18:34:19 -07:00
10020-embedded-instructions.S Refactor tests 1002x and 1003x 2020-10-18 20:30:42 -07:00
10022-embedded-instructions.S Refactor tests 1002x and 1003x 2020-10-18 20:30:42 -07:00
10030-flags-and-branches.S Refactor tests 1002x and 1003x 2020-10-18 20:30:42 -07:00
10032-flags-and-branches.S Refactor tests 1002x and 1003x 2020-10-18 20:30:42 -07:00
10040-data-recognition.S Rename test 10042 2020-10-18 09:16:50 -07:00
20000-numeric-types.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
20010-string-types.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20020-operand-formats.S Split 2002x-operand-formats test 2020-06-08 17:47:26 -07:00
20022-operand-formats.S Split 2002x-operand-formats test 2020-06-08 17:47:26 -07:00
20030-labels-and-symbols.S Regression test rework, part 3 2020-06-06 17:06:31 -07:00
20032-labels-and-symbols.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20040-address-changes.S Improve handling of C64 PRG header 2020-10-17 16:45:13 -07:00
20042-address-changes.S Improve handling of C64 PRG header 2020-10-17 16:45:13 -07:00
20050-branches-and-banks.cfg Regression test rework, part 4 2020-06-06 17:30:50 -07:00
20050-branches-and-banks.S Regression test rework, part 4 2020-06-06 17:30:50 -07:00
20052-branches-and-banks.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20052-branches-and-banks.S Add a line to 20052-branches-and-banks 2021-07-31 13:51:35 -07:00
20060-target-adjustment.S Refactor 2006x-target-adjustment 2020-10-19 15:46:05 -07:00
20062-target-adjustment.S Refactor 2006x-target-adjustment 2020-10-19 15:46:05 -07:00
20070-hinting.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20081-label-localizer.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20090-notes-and-comments.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20100-label-dp.S Add 20100-label-dp test 2020-10-19 16:02:28 -07:00
20102-label-dp.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20120-char-encoding.S Allow single-character DCI strings 2021-08-08 15:38:39 -07:00
20122-char-encoding.S Rework 201XX-char-encoding-X tests 2020-10-19 15:01:02 -07:00
20150-local-variables.S Clone 20152-local-variables 2020-10-19 17:14:56 -07:00
20152-local-variables.S Expand 20152-local-variables test 2021-07-20 11:28:26 -07:00
20162-cycle-counts-65816.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20170-external-symbols.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20172-external-symbols.S Minor fix for 24-bit MULTI_MASK 2020-11-03 11:47:53 -08:00
20182-extension-scripts.S Mark flags as indeterminate for inline BRK 2020-08-22 08:56:38 -07:00
20190-non-unique-labels.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20200-ui-edge-cases.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20212-reloc-data-bank2.S Update relocation data handling 2020-07-10 17:41:38 -07:00
20212-reloc-data-bank8.S Add 20212-reloc-data test 2020-07-05 17:17:44 -07:00
20212-reloc-data-filler.S Add 20212-reloc-data test 2020-07-05 17:17:44 -07:00
20212-reloc-data-lnk.S Add two options to OMF converter 2020-07-20 13:50:49 -07:00
20212-reloc-data-main.S Update relocation data handling 2020-07-10 17:41:38 -07:00
20212-reloc-data-relover.S Add 20212-reloc-data test 2020-07-05 17:17:44 -07:00
20222-data-bank.S Data Bank Register management, part 6 (of 6) 2020-07-10 15:53:43 -07:00
20233-rockwell.S Add W65C02S support, part 4 (of 4) 2020-10-11 18:43:00 -07:00
20240-large-overlay.S Fix 64tass output for non-loadable files 2021-08-01 17:21:20 -07:00
allops-common-65C02.S Initial file commit 2018-09-28 10:05:11 -07:00
allops-common-6502.S Initial file commit 2018-09-28 10:05:11 -07:00
allops-common-65816.S Initial file commit 2018-09-28 10:05:11 -07:00
allops-common-W65C02.S Add W65C02S support, part 2 2020-10-10 18:34:19 -07:00