Cedric
Cedric
INTRODUCTION
Speed has been achieved in three ways. The program has been
written in assembly language - it occupies only 23 sectors
on disc so it loads quickly. Text is kept memory resident
and is efficiently stored - for example the editor source
program (35 pages of well-documented code, taking 112
sectors on disc) leaves 14400 bytes free in the text when
memory to $BFFF is available; the text buffer holds about
165 sectors altogether. Once an editing operation (most
require only a single keystroke) is complete internally,
the screen "repainting" is aborted if another operation is
pending; thus avoiding continual "repainting" delays.
- 2-
RUN-TIME MEMORY MAP
_________________
MEMEND => | |
| |
| |
| |
| |
| |
| |
| |
| |
| TEXT |
| BUFFER |
| |
| |
| |
| |
| |
| |
| |
|-----------------|
| PASTE |
| BUFFER |
|-----------------|
| |
| |
| PROGRAM |
| |
| |
| |
|-----------------|
| CONFIGURATION |
| TABLES |
$100 |-----------------|
| STACK |
|_________________|
- 3-
CALLING CEDRIC
MENU COMMANDS
- 4-
W--WRITE The name of a text file will be requested. The
original input file name will be displayed, if
you wish use the same name just type "=" follwed
by a carriage return. If a file of the same name
and extension already exists on that drive it
will be renamed with the extension .BAK (an
existing .BAK file will in this case be deleted
first). The whole text will be written to a new
file of the selected name, with FLEX space
compression.
- 5-
in the macro buffer. It is as if the editor is
"learning" as it goes.
SINGLE-KEY OPERATIONS
- 6-
<CU> [^U] CURSOR UP The cursor moves up one line. If
at the top line already the screen scrolls down
by half a screen if possible so that the cursor
line is centred.
<CD> [^D] CURSOR DOWN The cursor moves down one line.
If already at the bottom line the screen scrolls
up by half a screen if possible so that the
cursor line is centred.
<LE> [^J] LINE END The cursor goes forward to the end
of the line. If already at the end it goes to the
end of the next line. (^J is usually available as
the "linefeed" key.)
- 7-
<SR> [^N] SEARCH+REPLACE Searches forward (right) for
the next occurrence of the target word and
replaces it with the replacement word.
- 8-
be copied to disc or cut to the paste buffer.
<CT> [^Y] CUT TEXT The marked text will be cut from
the text and saved in the paste buffer. If the
marked text is too long for the paste buffer you
will be so advised and asked if you want to
erase it anyway.
- 9-
CONFIGURATION
-10-
OPT PAG
************************************************
* CEDRIC CONFIGURATION OVERLAY
* FILE "CED-CNFG.TXT"
* THIS EXAMPLE RE-PRODUCES THE CONFIGURATION
* AS ORIGINALLY DISTRIBUTED
* M.J.RANDALL 1985
************************************************
* TO RECONFIGURE CEDRIC RENAME CED.CMD TO
* CED.BIN THEN ASSEMBLE CED-CNFG.TXT THEN
* APPEND IT TO CED.BIN:-
* "+++APPEND CED.BIN,CED-CNFG.BIN,CED.CMD"
* TRY "+++1.CED" TO MAKE SURE THAT IT WORKS
* IF IT DOES THEN COPY CED.CMD TO YOUR
* SYSTEM DISC. IF NOT YOU SHOULD RE-READ
* YOUR TERMINAL DOCUMENTATION AND CHECK
* YOUR VERSION OF CED-CNFG. IF ALL ELSE FAILS
* GET IN TOUCH WITH THE AUTHOR
************************************************
************************************************
* OPERATOR CHARACTER TABLE
************************************************
************************************************
* CONFIGURABLE "CONSTANTS"
************************************************
************************************************
* TERMINAL CONTROL SEQUENCES ETC
************************************************
* IT IS ASSUMED THAT DIRECT CURSOR ADDRESSING
* IS ACHIEVED BY SENDING A SEQUENCE OF BYTES
* FOLLOWED BY TWO BYTES THAT SPECIFY THE ROW
* AND COLUMN IN ANY ORDER. ROW OR COLUMN MAY
* HAVE A CONSTANT OFFSET ADDED TO THE BYTE
************************************************
* ADVANCED CONFIGURATION
************************************************
* PRE-CONFIGURED MACROS
* DEFAULT TABS
END
0 ERROR(S) DETECTED
+++