mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-02 13:51:36 +00:00
635084db9d
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)
12 lines
271 B
INI
12 lines
271 B
INI
# 6502bench SourceGen generated linker script for 20130-char-encoding-p
|
|
MEMORY {
|
|
MAIN: file=%O, start=%S, size=65536;
|
|
# MEM000: file=%O, start=$1000, size=1417;
|
|
}
|
|
SEGMENTS {
|
|
CODE: load=MAIN, type=rw;
|
|
# SEG000: load=MEM000, type=rw;
|
|
}
|
|
FEATURES {}
|
|
SYMBOLS {}
|