Releases: skx/cpmulator
v0.3.0
This release overhauls our operation in two significant ways:
- When launching the emulator with no arguments you now get the CCP (i.e. command-prompt).
- Enter "EXIT", "HALT", or "QUIT" to exit.
- It is now possible to map drives to sub-directories, which is useful for the CCP-mode.
Launch the emulator with the "-directories" flag, and the contents of ./A
will be used as the A: drive, the directory ./B
will be shown on the B: drive, etc.
v0.2.0
This release implements three additional CP/M BIOS functions
- BDOS function 13 (DRV_ALLRESET) - Reset discs
- BDOS function 20 (F_READ) - read next record
- BDOS function 21 (F_WRITE) - write next record
Previously only the only file-reading function implemented was F_READRAND, which read a "random" block (i.e. not a sequential read, but a read from a given block offset)
F_READ and F_WRITE are used to sequentially read, or write, fixed records of 128 bytes to the file that was previously opened, or created. With these two functions implemented the save
and restore
functions of the ZORK games now work correctly.
v0.1.1
This is the first release of the cpmulator which is somewhat functional:
- Text output and text input functions are implemented.
- Punchcard functions, and printer functions, are ignored.
- File creation, and file deletion are implemented.
- Files can be opened, closed, and read via "RandomRead"
- "Random Reading" means that records of 128 bytes can be read from an open file, in any order.
- CP/M implements both "random reading" and "sequential reading". However Z-Machine games only requires the former.
This might not seem like much functionality, however it is sufficient to play the ZMachine games from Infocom. If you don't have them you can download them from the internet, for example this directory and play them:
$ cpmulator ZORK1.COM
ZORK I: The Great Underground Empire
Copyright (c) 1981, 1982, 1983 Infocom, Inc. All rights
reserved.
ZORK is a registered trademark of Infocom, Inc.
Revision 88 / Serial number 840726
West of House
You are standing in an open field west of a white house, with
a boarded front door.
There is a small mailbox here.
>open mailbox
Opening the small mailbox reveals a leaflet.
>read leaflet
(Taken)
"WELCOME TO ZORK!
ZORK is a game of adventure, danger, and low cunning. In it
you will explore some of the most amazing territory ever seen
by mortals. No computer should be without one!"