Hard limits of width and height poorly enforced
Opened this issue · 1 comments
DavidGriffith commented
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 commented
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.