You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to save a game fails because the F_WRITE syscall is not implemented.
Load SAVE disk then enter file name.
(default file name is ZORK1.SAV).
Type <ENTER> to continue > foo
{"time":"2024-04-15T22:11:34.391482519+03:00","level":"ERROR","msg":"Unimplemented syscall","syscall":21,"syscallHex":"0x15"}
Error running ZORK1.COM: UNIMPLEMENTED
The file is created, after the disks were reset (implemented in #20).
The text was updated successfully, but these errors were encountered:
This pull-request implements (sequential) file writing operations,
which allow Zork to save its game-state. I've not yet implemented
F-READ (which is tracked in #22) but confirmed the save loads in
another emulator.
This closes#21:
```
>inventory
You are carrying:
A glass bottle
The glass bottle contains:
A quantity of water
A leaflet
>look
Kitchen
You are in the kitchen of the white house. A table seems to
have been used recently for the preparation of food. A passage
leads to the west and a dark staircase can be seen leading
upward. A dark chimney leads down and to the east is a small
window which is open.
On the table is an elongated brown sack, smelling of hot
peppers.
>save
Load SAVE disk then enter file name.
(default file name is ZORK1.SAV).
Type <ENTER> to continue > FOO
Load Game Disk if it was removed.
Type <ENTER> to continue >
Ok.
>quit
Your score is 10 (total of 350 points), in 18 moves.
This gives you the rank of Beginner.
Do you wish to leave the game? (Y is affirmative): >y
```
Attempting to save a game fails because the F_WRITE syscall is not implemented.
The file is created, after the disks were reset (implemented in #20).
The text was updated successfully, but these errors were encountered: