zx-rom-mods
zx-rom-mods copied to clipboard
Alpha characters after 'U' print as tokens in 'G' mode.
Cosmetic. Fix available in GW03.ROM.
This is a tricky one, because I would like to keep extensibility, allowing for more than 26 UDG's.
In fact, I am considering completely overhauling ZX85's token system, making it context-insensitive like this ROM's, filling the entire range between 0x80 and 0xFF with tokens. The reason for the context-sensitive tokenization (feeding expressions to VAL
and VAL$
) is gone, as ZX85 has sytnax-checked quotations between {
and }
, which is a superior solution to context-sensitive tokens. This will free up quite a bit of ROM space in ZX85 and allow for lots of UDG's.
In SE Basic IV we use $80 to $05 as tokens (looping after $ff). Instead of UDGs, we store an 8-bit font in the frame buffer and enable every character to be looked up with USR c. Our terminal entry system enables tokens to be entered into VAL
and VAL$
but editing the line detokenizes it. Using {
and }
does sound like a good idea.