Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement sequential file read #24

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Implement sequential file read #24

merged 1 commit into from
Apr 16, 2024

Conversation

skx
Copy link
Owner

@skx skx commented Apr 16, 2024

This pull-request implements the sequential block-read operation, and closes #22.

With this I can restore thes aved-state I created in #23:

>restore
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.

>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.

>quit
Your score is 10 (total of 350 points), in 20 moves.
This gives you the rank of Beginner.
Do you wish to leave the game? (Y is affirmative): >y

This pull-request implements the sequential block-read operation,
and closes #22.

With this I can restore thes aved-state I created in #23:

```
>restore
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.

>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.

>quit
Your score is 10 (total of 350 points), in 20 moves.
This gives you the rank of Beginner.
Do you wish to leave the game? (Y is affirmative): >y
```
@skx skx merged commit 6f536c5 into master Apr 16, 2024
2 checks passed
@skx skx deleted the 22-read branch April 16, 2024 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot restore game: F_READ unimplemented
1 participant