1
0
mirror of https://github.com/fadden/6502bench.git synced 2025-07-30 00:24:08 +00:00

Add 2016-char-encoding-a and variations

All tests use the same data file and nearly the same project file.
The only difference is the default text encoding property setting.
For "-a" it's ASCII, for "-p" it's PETSCII, for "-s" it's C64 screen
code.  Right now this only affects the code generated for 64tass.

The test itself is a collection of strings and characters in the
supported character encodings.  How these are handled varies
significantly between assemblers.
This commit is contained in:
Andy McFadden
2019-08-16 14:53:50 -07:00
parent 81029afae5
commit 479be1a58e
22 changed files with 3928 additions and 3 deletions

View File

@@ -106,8 +106,8 @@
!scr "`abcdefghijklmnopqrstuvwxyz{|}~"
; The 2005 test exercises low/high ASCII strings, so no need to do that here.
; Do a quick test with C64 characters. Note Screen Code can't be null-terminated,
; and PETSCII can't be DCI.
; Do a quick test with C64 characters. Note Screen Code can't be null-terminated
; by definition, and PETSCII can't effectively be DCI.
!byte $84
!pet "IICSTEP esrever" ;format as StringReverse
!byte $84
@@ -118,6 +118,8 @@
!pet 19,"PETSCII with length" ;format as StringL8
!byte $84
!pet 20,0,"PETSCII with length2" ;format as StringL16
!byte $84
!pet "bad dcI" ;EDIT: format as StringDCI
!byte $84
!scr "edoC neercS esrever" ;format as StringReverse
@@ -126,7 +128,7 @@
!byte $84
!scr 24,0,"Screen Code with length2" ;format as StringL16
!byte $84
!scr "Screen Code DC",$c9 ;format as DCI
!scr "Screen Code DC",$c9 ;format as StringDCI
!byte $84
!byte $85