Firstly the AMSDOS command CPM loads the first sector of track 0 into the CPC464. On a system disc this sector has been arranged to be a program which then loads the rest of the system tracks into memory. Various checks are performed to determine that the system tracks contain valid CP/M software and to calculate where in memory to load them.
Part of CP/M is permanently in ROM inside the
3.3 Configuration Sector.
During the loading process, when CP/M is first activated, various system parameters are loaded from a special sector within the system tracks. These parameters include the
3.4 Console control codes.
In the CP/M environment a variety of special key operations are used to control
program flow. These keystrokes replace the action of the [ESC]ape key used in AMSTRAD BASIC, although some applications packages may
[CTRL]S | halts the screen output from CP/M. Type any character to resume. |
[CTRL]C | typed at the start of a line returns control to the Direct Console Mode. |
| Many utilities and applications programs will also recognise this as a |
| request to abandon the program. |
[CTRL]P | hardcopy toggle. Turn on/off log of all screen output to printer. |
[CTRL]Z | end of text. |
3.5 Logging in a disc
Unless special action is taken by the CP/M program (as FILECOPY does for example) then CP/M will not allow you to write to a disc unless it has been 'logged in'. Furthermore the type of disc format (SYSTEM, DATA OR IBM) is only re- determined when a disc is logged in. For drive A this takes place whenever CP/M returns to the Direct Console Mode, or when [CTRL]C is typed at the A> or B> prompt. For Drive B this takes place the first time that the disc in drive B is accessed after drive A has been logged in.
Should you try writing to a disc that has not been logged in, the error message Bdos Err on <DRIVE> : R/O will be displayed. Press any key to continue. If the changed disc was also of a different format then A read or write error will occur. Type C to continue.
AMSTRAD Disc Drive & Interface | Chapter 3.2 |