Make case insensitive/preserving #11

Merged
bcox merged 1 commit from case-folding-issue-8 into main 2026-03-11 04:03:49 +00:00
Owner

The assembler is now case-insensitive on input, folding
all input to a single case, except inside quoted strings
(.BYT directives). Labels may now contain lowercase
characters, but they are case-insensitive.

This allows mixed-case in both PETSCII Upper/Lower and
ISO encodings, as all printable characters in strings are
preserved as-is.

(In PETSCII Upper/Graphics, you can use the graphics
characters on the shifted letters in names, but they will
be ugly, and they won't be distinct from the unshifted
version. That is, LABEL=label=Label=lABEL=whatever glyphs
that would be in PETSCII.)

The assembler is now case-insensitive on input, folding all input to a single case, except inside quoted strings (.BYT directives). Labels may now contain lowercase characters, but they are case-insensitive. This allows mixed-case in both PETSCII Upper/Lower and ISO encodings, as all printable characters in strings are preserved as-is. (In PETSCII Upper/Graphics, you can _use_ the graphics characters on the shifted letters in names, but they will be ugly, and they won't be distinct from the unshifted version. That is, LABEL=label=Label=lABEL=whatever glyphs that would be in PETSCII.)
The assembler is now case-insensitive on input, folding
all input to a single case, except inside quoted strings
(.BYT directives). Labels may now contain lowercase
characters, but they are case-insensitive.

This allows mixed-case in both PETSCII Upper/Lower and
ISO encodings, as all printable characters in strings are
preserved as-is.

(In PETSCII Upper/Graphics, you can _use_ the graphics
characters on the shifted letters in names, but they will
be ugly, and they won't be distinct from the unshifted
version. That is, LABEL=label=Label=lABEL=whatever glyphs
that would be in PETSCII.)
bcox merged commit 30c868561b into main 2026-03-11 04:03:49 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bcox/x16-mads!11
No description provided.