Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alpha characters after 'U' print as tokens in 'G' mode. #1

Open
cheveron opened this issue May 24, 2020 · 2 comments
Open

Alpha characters after 'U' print as tokens in 'G' mode. #1

cheveron opened this issue May 24, 2020 · 2 comments

Comments

@cheveron
Copy link

Cosmetic. Fix available in GW03.ROM.

@nagydani
Copy link
Owner

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.

@cheveron
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants