Operational Note: To mount a diskette on a drive, use either the "Disks" menu or click on the associated area on the front panel. A floppy drive area on the front panel will become highlighted when the mouse pointer moves over it. A file selection dialog will allow selection of a floppy disk image. To remove a diskette from a drive (leaving the drive empty), select the "Unmount" checkbox and click the CANCEL button.
A quick example to run a Kaypro 4/84.
java -jar VirtualKaypro.jar 4/84
This example is for a Kaypro 10 that has been expanded to hold 256K RAM and have the Real-Time-Clock installed.
java -jar VirtualKaypro.jar 10E
java -jar VirtualKaypro.jar kaypro10e.cpnetYou will notice that the front panel contains an addition LED, for the CP/NET device.
NDOS3to start CP/NET.
NETWORK P:=A:which will map CP/M drive "P:" to the directory created above.
DIR P:which should return "No File" since there are no files in the directory yet.
PIP P:=A:D*.COM[OV]which should list 5 files as being copied to P:.
These "COM" files are not normally usable on your host computer, but demonstrate how easy it is to exchange files between the CP/M system and the outside world. Text files would make a better example. One caveat is that CP/M uses CR-LF as the line endings, and Linux/Unix uses only LF. So if you copy a Linux text file into "~/HostFileBdos/a" and examine (TYPE) it on CP/M, the lines will not be displayed correctly. Programs exist to convert file line endings, one such package is "dos2unix". This package includes the command "unix2dos" which may be used to convert files:
unix2dos -n linux.txt ~/HostFileBdos/a/cpm.txtOn CP/M there is a new command TYPECR.COM that will TYPE a text file to the screen, adding CRs as needed. There is also a new CP/M command TR.COM which will translate line endings while copying files (similar to PIP.COM). The CP/M 3 HELP has been expanded to include CP/NET and new commands.
See the CP/NET documentation for more help on using and understanding CP/NET.
On CP/M 3, CP/NET may be stopped, or removed, which frees up TPA. The command
RSXRM NDOS3will tell CP/NET to stop and remove itself.
Directories "a" through "p" may be created on the host system under "~/HostFileBdos", and may be mapped in CP/NET as the corresponding drives on "the server". In addition, the config file may specify another top-level directory other than "~/HostFileBdos", and there may be multiple servers each using a different top-level directory, allowing many more repositories for files. The CP/NET server implementation does not (can not) access files outside of the designated top-level directory, but use caution to ensure that a configuration is what you intended and that important files on your computer are not destroyed.
It is also possible to setup CP/NET servers on remote machines, using your host computer's network to access them. Documentation for this exists under the Virtual H89 project. Using this scheme, it would be possible to setup a collection (network) of distributed CP/M file shares.