3 ms·
A commenter on Zarf's blog ( https://blog.zarfhome.com/2019/04/all-of-infocoms-game-source-code.html#comment-form https://blog.zarfhome.com/2019/04/all-of-infoc
by pm215 8y ago
A commenter on Zarf's blog ( https://blog.zarfhome.com/2019/04/all-of-infocoms-game-source-code.html#comment-form https://blog.zarfhome.com/2019/04/all-of-infocoms-game-sourc... ) reports that ZILF is capable of at least building the Zork source to something that will start up, though given the warnings produced during compilation it's not going to work perfectly...
- laurent123456 8y agoLooking at the code, it seems doable to make sense of it, one instruction at a time. For example this: "Would you like to restart the game from the beginning, restore a saved game position, or end this session of the game?| (Type RESTART, RESTORE, or QUIT):| >"> <READ ,P-INBUF ,P-LEXV> <SET WRD <GET ,P-LEXV 1>> <COND (<EQUAL? .WRD ,W?RESTART> <RESTART> <TELL "Failed." CR>) (<EQUAL? .WRD ,W?RESTORE> <COND (<RESTORE> <TELL "Ok." CR>) (T <TELL "Failed." CR>)>) (<EQUAL? .WRD ,W?QUIT ,W?Q> <QUIT>)>>> - Read user input, and put result in WRD - Switch statement on WRD - Case RESTART: Write Failed and restart - Case RESTORE: Write Ok and continue - Case QUIT: Write Failed and exit
- m463 8y agoI looked at the zork code. Does it reference (missing?) external files, like ADVSAVE ?