17.01.2013 Views

AmstradCPC6128-hypertext-en-Sinewalker

AmstradCPC6128-hypertext-en-Sinewalker

AmstradCPC6128-hypertext-en-Sinewalker

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Needless to say, it is possible to become quite an expert at how CP/M and all the<br />

various utilities work, and at times, such expertise can be very useful in helping out<br />

wh<strong>en</strong> we get into trouble. Most of us, however, only need to know <strong>en</strong>ough to get us<br />

started, and the rest of this chapter is designed to introduce all the features and<br />

facilities without obscuring the vital facts with too many frills.<br />

Whereas BASIC has its Direct Mode and the 'R e a d y' prompt, CP/M has a Direct<br />

Console Mode and is id<strong>en</strong>tified by the A> or B> prompt. Certain built-in commands<br />

are available but the majority of the 'housekeeping' work is done by loading and<br />

running 'transi<strong>en</strong>t programs'. They are called 'transi<strong>en</strong>t' because they are only in the<br />

computer (loaded from the disc) while you are using them, as opposed to being<br />

built-in.<br />

As well as standard CPIM error messages, the system also g<strong>en</strong>erates a number of<br />

specialised hardware error messages which can be distinguished by the fact that they<br />

normally appear on the bottom line of the scre<strong>en</strong> in a 'banner' form.<br />

CP/M Plus on the disc<br />

The major part of CP/M Plus resides in a special file which has the filetype ' • EMS',<br />

and is found on Side 1 of the system discs package. The computer loads CP/M from<br />

this file into the memory using a two stage process.<br />

Initially, the AMSDOS command I C PM loads the first sector oftrack O. On a system<br />

disc this sector has be<strong>en</strong> arranged to be a program which th<strong>en</strong> loads the • EMS file<br />

into memory. The remainder of the system tracks are unused.<br />

Early moming start profile<br />

During the loading process, wh<strong>en</strong> CP/M Plus is first activated, if the file<br />

PRO F I LE. SUB is pres<strong>en</strong>t on the disc, th<strong>en</strong> the instructions.in that file are<br />

SUB M I T ted. This facility can be used to re-arrange the keyboard, customise the<br />

scre<strong>en</strong> output, initialise a printer and ev<strong>en</strong> auto-start an application program. In<br />

chapter 4 we saw how to r<strong>en</strong>ame the profile file supplied on Side 1 in order to activate<br />

it.<br />

While the profile file is working, a small temporary file is op<strong>en</strong>ed on the disc, which<br />

must therefore be write-<strong>en</strong>abled. This is why the master disc itself cannot include a<br />

recognisable profile file.<br />

Chapter 5 Page 18 AMSDOS and CPIM

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

Saved successfully!

Ooh no, something went wrong!