Download:
http://zzo38computer.org/zmachine/interp/zmachine.ps
Download:
http://zzo38computer.org/zmachine/interp/zmachine.ps
Specify the story file name as a command-line argument (I don't know if
any PostScript implementation other than Ghostscript allows PostScript
files to take command-line arguments; in case you are using a different
one, you can know to make an array called ARGUMENTS in userdict which contains the command line arguments).
I believe it is complete; the only feature not yet implemented is the
printer output. (I don't know much about text layout in PostScript. But I have some idea: I will have to do word wrapping, font selection (I could
have one font for normal text, one font for input, and one font for fix
pitch text), and page breaking. This would be done in the Zscriptchar procedure, which currently does nothing, but calling it when scripting is
on is already implemented.)
Please report any bugs (if any), or any other comments or questions or complaints you might have, by posting a follow-up message.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (2 / 14) |
Uptime: | 242:14:30 |
Calls: | 6,624 |
Files: | 12,175 |
Messages: | 5,320,202 |