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.

Profile files can be constructed using a word processor, text editor (such as E D • CO M),<br />

or ev<strong>en</strong> from BASIC. The small BASIC program below could have be<strong>en</strong> used to<br />

g<strong>en</strong>erate the file PRO F I LE. SUB:<br />

10 OPENOUT "PROFILE.SUB"<br />

20 PRINT #9,"SETKEYS KEYS.CCP"<br />

30 PRINT #9,"LANGUAGE 3"<br />

40 CLOSEOUT<br />

Console control codes<br />

In the CP/M <strong>en</strong>vironm<strong>en</strong>t, a variety of special key operations are used. These<br />

keystrokes replace the action of the [ESC]ape and cursor keys used in AMSTRAD<br />

BASIC. The control codes below are assigned after running the command:<br />

SETKEYS KEYS.CCP<br />

.... where both the transi<strong>en</strong>t program SET KEY S • CO M and the command file<br />

KEY S • C C P are found on Side 1 of the system discs package.<br />

Control<br />

Code<br />

[CONTROl]A<br />

[CONTROl]B<br />

[CONTROl]C<br />

[CONTROl]E<br />

[CONTROl]F<br />

[CONTROl]G<br />

[CONTROl]H<br />

[CONTROl]1<br />

[CONTROl]J<br />

Key Action<br />

Q Moves the cursor one character to the<br />

left.<br />

[CONTROl]Q Moves the cursor to the beginning of the<br />

.... or.... line. If the cursor is already at the<br />

[CONTROL]!) beginning, moves to the <strong>en</strong>d.<br />

[CONTROL] [ESC] Abandon.<br />

[CONTROL] [RETURN] Physical carriage return.<br />

!) Moves cursor one character to the right.<br />

[ClR] Deletes character under cursor.<br />

[DEL] Backspace delete.<br />

rr AB] Moves cursor to the next tab stop.<br />

S<strong>en</strong>d command line.<br />

AMSDOS and CPIM chapter 5 Page 19

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

Saved successfully!

Ooh no, something went wrong!