Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Hard limits of width and height poorly enforced #76

Open
DavidGriffith opened this issue Mar 28, 2018 · 1 comment
Open

Hard limits of width and height poorly enforced #76

DavidGriffith opened this issue Mar 28, 2018 · 1 comment
Labels

Comments

@DavidGriffith
Copy link
Owner

The Z-machine has a hard limit of 255 characters in width and height. This is because both values are stored as 8-bit unsigned integers. However, if dfrotz or frotz are given hight or width exceeding this, the results are unpredictable. According to this:https://www.intfiction.org/forum/viewtopic.php?f=38&t=11540&start=40 , if the height is 255, then the MORE prompt should be disabled. I can't seem to figure out where this is handled.

@tkorvola
Copy link
Contributor

Looks like a mess. Different front ends have their own variables for controlling whether more prompts are enabled despite common having more_prompts. Disabling more prompts does not appear to modify the number of lines header byte, thus Z-code has no way of knowing about it.

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

No branches or pull requests

2 participants