|
CPCEMU - Differences
3. Differences between CPC and CPCEMUIn this chapter, I describe those features that differentiate CPCEMU from a real CPC. The section that follows will explain those keys on the keyboard that have a special meaning during emulation, especially the function keys. Afterwards you will be told how to load from disk or cassette.
3.1 KeyboardMaybe you have already noticed that the function keys of the PC do not map directly to those of the CPC. They cause some strange output which I will describe below. Or maybe you have been looking for the COPY-key for hours... All CPC keys are really emulated somewhere, you can be sure of that. Here the secrets are unveiled:
3.2 Loading of programs, menusIn this section you will learn how to load programs from disk, tape or snapshots. Certainly the same goes for saving. How to use the menu is described, too.
3.2.1 Loading from Disk, MenusUnder normal conditions AMSDOS (Amstrad DOS) is active, and all file instructions use the disk. You do not need to insert a real CPC disk into your PC drive every time you access a file (apart from the fact that you may have 3 inch CPC disks only). To obtain better speed a CPC disk is contained inside a so-called disk image. This file can be located anywhere on the hard disk (or on a high density disk). Here some BASIC AMSDOS instructions:
There are some other instructions but they are not so important.
The Insert Disk MenuUntil now you can use only one disk, the one already inserted in the drive. To insert another disk, simply press F3 and the following menu appears:
With the cursor keys <hoch/runter> you can select a line. You can also do that by typing in letters (go back with <DEL>). Change numbers with the cursor keys <left/right> or with direct input of digits. <RETURN> in any line (e.g. the first one) takes the changes. It would be dismissed with <ESC>. Drive Number is the desired drive (0=A, 1=B); Side Select is a side switch for double sided disks, it has no effect when using a single sided format. With Write Protected you can mark a disk as write protected (0=No, 1=Yes, write protected). If Autostart is active, the first BASIC program on the disk is run automatically after you have inserted the disk (alternatively: DISC.BAS).
The File-Selection MenuNow press <RETURN> and a directory of the disk drive appears. Select a new disk with the same methods as described above. If there is already a disk lying inside the drive you do not need to remove it first as in real life. This is automatically done. At the bottom of the screen this disk is displayed. You will see at most 15 files, if there are more, [_] appears.
You can also select names directly by pressing a first letter. When using the mouse, click [_] for <page up>, [_] for <page down>, [<] for <cursor left>, [>] for <cursor right> and [ok] for <return>. Use [¦] as <ESC>. Use the right mouse button to mark a line. .. is the parent directory; [A], [B], ... are the available drives. Please select only floppy drives with a disk inserted. Otherwise you could get some trouble. It is also possible to insert disks from inside ZIP archives. Select a ZIP archive by pressing <return> and its directory is displayed as a normal directory. If you select a file from inside a ZIP archive, it is automatically extracted into a temporary file. For this feature you will need the program PKUNZIP somewhere in the DOS searchpath, or in the CPCEMU directory. Temporary files are automatically deleted if they are not needed any more. Changes are not written to the ZIP archive. If you save something on a disk image inside a ZIP file, it will be lost after you insert another disk. If you want to change disk images inside ZIP archives, extract them before starting CPCEMU. How to create disk images from CPC disks that you own is described in chapter 5 (Data Transfer CPC <-> PC).
3.2.2 Loading from and saving on cassetteWhat actually is a cassette for CPCEMU? Well, files on cassette are regular files in DOS directories. After the |TAPE instruction the BASIC instructions for file handling use the cassette. But only those starting not with |. Now you can use the instructions described in the section above (CAT, RUN, LOAD, SAVE, MERGE) for cassette. If you omit a filename, the file selection menu will appear which was described in the previous section. With SAVE you can either overwrite an existing file or create a new one by specifying a new name in the last line (new file). Certainly you can load programs from inside ZIP archives, saving is ignored. You only get such a fine cassette drive with the emulator!
3.2.3 Loading and Saving of snapshotsSnapshots are memory dumps that not only contain the actual memory contents but also the internal states of the hardware chips, e.g. the processor. At any time you can interrupt the running program and save it as a snapshot. Later you can load it, and continue at the same position you were at when you interrupted it. You create a snapshot with F6. Specify the snapshot size, if it is 64K or 128K. 128K snapshots only make sense if the second memory bank is in use. In this case use 128K Snapshot = 1, with the meaning 1=Yes. The file selection menu is the same as already described with the disk, with the additional comments given for the cassette (3.2.1 and 3.2.2). You can load a snapshot with F5. Chapter 4. Changing the Configuration
© Marco Vieth, Mai 1998 MV, 04.03.2006 20:51:46 |