If there is not enough room, use MOVCPM to make a new CP/M that uses a
little less memory, or alter the MOVCPM program to reserve a little bit
more CBIOS space. This can be done by changing location 023DH in MOVCPM.
By adding 1 to this value an extra 256 bytes is added to the BIOS space
reserved, and so on.
If this method is being tried, I assume that the BIOS Source Code is not
available. I hope that I am not disclosing too much information in the
following suggestions, which I am basing on my original CBIOS.
a) The ‘Signon’ messages are at the end of the CBIOS.
b) The Workspaces are just before this.
c) The PUTVID and GETVID routines are just before this.
d) Keyboard and Editing routines come just before this.
If you can find these routines and data areas, then you can try out the
following suggestions. Choose an address just AFTER your CBIOS, where you
will place the Clock AND the
Keyboard routines. The latter are not
very long. If you can locate the equivalent
routines, it will be
possible to ‘CALL’ them. If not then they must be added in.
Assemble the Clock routines and include the Keyboard code, with ‘ORG’ set
for your chosen address. Any Clock workspaces will have to reside here as
Patch this code into the end of the CBIOS, and place a ‘JUMP’ at the
start of the code of the original keyboard routine, to the new code.
If this all works, use DDT/ZSID/GEMDEBUG to move a copy of CP/M down over
MOVCPM and save it as CLOKBIOS.SYS or similar name. You can then put it
on to the SYSTEM tracks of your disk with SYSGEN. Note that this is a
fixed size BIOS, and if you alter memory size, and regenerate CP/M with
MOVCPM, you will have to re-assemble and patch the new code.
Top line locking might be achieved by jumping to extra code at the end of
the CBIOS, from the warm boot routines, or by adding the command into the
‘update’ part of the routine. Since it would then be executed every time
that the keyboard is scanned, there would be an extra time penalty.
One final problem might remain. SYSGEN and COLD BOOT may need altering to
READ/WRITE the increased code in the system tracks.
My previous article in the 80-BUS NEWS, on how to insert
‘SYS’ into the
CBIOS gives quite a bit of information on some of these problems, particularly
7 and 9 .
Printers, need not be in working order. Please write with
details to D. Torrens, ___ __ __ ______, Marlborough, Wilts