[z-machine] stream/window interaction
Thomas Thurman
marnanel@marnanel.org
Fri, 21 Nov 2003 19:09:30 +0000
On Fri, Nov 21, 2003 at 11:02:30AM -0800, Amir Karger wrote:
> Stream 4: Um, are you allowed to do a read in the upper window? I don't
> think I saw anything about that in the spec either :)
Yes, AFAICS:
# 5 aread text parse time routine -> (result)
#
# This opcode reads a whole command from the keyboard (no prompt
# is automatically displayed). It is legal for this to be called
# with the cursor at any position on any window.
I don't know of anything that uses this. Gnusto can't cope with
upper-window reads yet, but it should (bug 3811, fwiw).
T