This is an old revision of the document!
Table of Contents
Z80 Emulator for Slackware
This following information will assist you in getting MYZ80 by Simeon Cran running on Slackware 14 under DOSBox.
PREWORK:
1. Locate the zipfile myz80.zip, and extract the contents to a folder named Z80-Sim.
2. Install DOSBox from SlackBuilds.org
REF's:
http://slackbuilds.org
http://www.dosbox.com
http://dosbox.sourceforge.net/wiki
3. Read the CP/M Emulator Documentation in the Z80-Sim subdirectory.
4. DOSBox - Command Summary
The following commands can be used in DOSBbox
intro intro mount intro cdrom intro special help help /all
CNTL+F11 to Slow down Emulation - Decrease DOSBox Cycles
CNTL+F12 to Speed up Emulation - Increase DOSBox Cycles
ALT+ENTER to Toggle to FULL Screen or Normal Display
Be sure to also read those instructions.
5. Testing DOSBox commands and methods.
The following is an example of typical commands needed to mount and un-mount a subdirectory in DOSBox.
I had several recipes that were saved in C:\pw\2_LDK\Cookin
on an old Dos machine. I copied the complete C:\pw folder to /home/larry/C:/
. This folder will be mounted as C:
Drive in DOSBox so the EXE, COM, or BAT files can be executed. To mount my C: drive, I used the mount command to mount the Linux folder as c and then change to Drive C:\>
and executed my old DOS Programs.
I executed DOSBox from the Slackware Xfce menu: APPLICATIONS MENU → SYSTEM → DOSBox
When the DOSBox window opened I mounted my SUBDIRECTORY as Drive C.
/home/larry/pw
DOSBox positions you at Drive z as default.
mount c ~/C: C: dir/p cd pw pw
From within pw
I just used a normal program exit.
Before I can un-mount the drive, I must change back to drive z:
, then I can issue the un-mount command.
To unmount C:
and exit DOSBox use the following commands:
z: mount -u c
6. Running MYZ80 the Z80 CP/M Emulator
I executed DOSBox from the Slackware XFCE menu: APPLICATIONS MENU → SYSTEM → DOSBox
DOSBox positions you at Drive z as default.
I typed the following commands adjusting for the specific Emulator name.
mount c ~/path/to/Z80-Sim c: dir /p myz80
There are two programs (IMPORT.COM & EXPORT.COM) that allow me to import and export files into the DSK
images. I wanted to use Nulu12 and Nsweep because those were not included. I found the files on the
Internet, but I needed to extract them from a LBR file. That led to a search for UNARC16.ARK. I found
the file and finally found instructions about just renaming it to UNARC16.COM, and then executing the
file since it was a Self Extracting type file. That allowed me to extract Nulu12 and Nsweep from some
of the ARC type files. Then I just imported Nsweep.com and Nulu12.com into the Z80 Emulator.
That allowed me to search more LBR files, including the myz80com.lbr file.
Other Z80 CP/M Commands:
dir dir B: user 1 dir B: user 2 dir C: user 0 dir
It should be used any time a Floppy is Inserted in any Physical Drive.
Now the whole world of CP/M is now available for your work or play. Be sure to check out all the other nice utilities from the CP/M Days.
When I am finished with the Emulator, I use EXIT to exit. Then I need to un-mount the subdirectory and exit the Terminal Window.
I use the following commands:
z: mount -u c exit
If my Terminal hangs, I can open another Terminal and execute the following commands to stop the process and close the Terminal.
top q
I look for the Process number associated with DOSBox. Assume 6545. I use the following command to Terminate the Process.
kill -9 6545
REF: for CP/M Archives
http://z80cpu.eu/mirrors/oak.oakland.edu/
http://www.classiccmp.org/cpmarchives/cpm/
Sources