17.01.2013 Views

AmstradCPC6128-hypertext-en-Sinewalker

AmstradCPC6128-hypertext-en-Sinewalker

AmstradCPC6128-hypertext-en-Sinewalker

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Advanced programming<br />

Side 2 of your system discs package contains a number of programs int<strong>en</strong>ded for use<br />

by advanced and system programmers. It is recomm<strong>en</strong>ded that the user consult<br />

SOFT 971- A Guide to CP/M Plus, or other refer<strong>en</strong>ce works.<br />

Working with CP/M 2.2<br />

This section is int<strong>en</strong>ded to highlight the differ<strong>en</strong>ces wh<strong>en</strong> operating using CP/M 2.2.<br />

CP/M 2.2 is loaded from the first two tracks of a System disc. The bootstrap sector is<br />

differ<strong>en</strong>t from that used to load CP/M Plus and care should be tak<strong>en</strong> not to confuse<br />

them. Although it is possible to use V<strong>en</strong>dor, IBM, and Data format discs in either disc<br />

drive, operational considerations usually restrict their use to the second disc drive.<br />

Unless special action is tak<strong>en</strong> by the CPIM program (as F I LEe 0 PY does for<br />

example) th<strong>en</strong> CPIM 2.2 will not allow you to write to a disc unless it has be<strong>en</strong> 'logged<br />

in'. Furthermore, the type of disc format (System, Data, or IBM) is only<br />

re-determined wh<strong>en</strong> a disc is logged in. For the main disc drive within the computer<br />

(Drive A) this takes place wh<strong>en</strong>ever CP/M 2.2 returns to the Direct Console Mode, or<br />

wh<strong>en</strong> [CONTROl]C is typed at the A> or B> prompt. For an additional drive (Drive<br />

B) this takes place the first time that the disc in Drive B is accessed, after Drive A has<br />

be<strong>en</strong> logged in.<br />

Should you try writing to a disc that has not be<strong>en</strong> logged in, the infamous error<br />

message:<br />

Bdos Err on ,drive>: RIO<br />

.... will be displayed. Press any key to continue. If the changed disc was also of a<br />

differ<strong>en</strong>t format th<strong>en</strong> a read or write error will occur. Type C to continue.<br />

If you receive software on a disc in V<strong>en</strong>dor format, th<strong>en</strong> in order to use it<br />

conv<strong>en</strong>i<strong>en</strong>tly, you may either copy it to a CPIM 2.2 system disc by using F I LEe 0 P Y<br />

or PIP, or alternatively convert the disc to a system disc by adding your CP/M to it.<br />

This is achei ved with the BOO T G E Nand S Y S G E N commands. Carefully read the<br />

End User Lic<strong>en</strong>ce Agreem<strong>en</strong>t in this manual (App<strong>en</strong>dix 1).<br />

S Y S G E N (with no parameters) is a specialised copier program which prompts for a<br />

source and destination disc, and copies the CP/M 2.2 system tracks from one disc to<br />

another. BOO T G E N similarly copies Sector 1, track 0 (the loader) and the<br />

configuration sector from one disc onto another.<br />

The D I R command does not accept parameters (other than a file specifier). The<br />

fil<strong>en</strong>ames are not sorted into any particular order, but the po si tion of the fil<strong>en</strong>ame in<br />

the D I R display indicates the position of that file's <strong>en</strong>try in the disc directory.<br />

AMSDOS and CPIM Chapter 5 Page 33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!