Date : Tue, 24 Dec 1985 07:46:00 PST
From : "Webb Mike"@LLL-MFE.ARPA
Subject: re: auto loading a kaypro
a method for auto loading of cp/m i have used on several different systems
is this:
o fist you need to copy a bootable work disk, and be sure
you have ddt/edfile/patch or some tool you are comfortable
with,for use in patching your system image.if you don't
have a favorite,the PATCH utility is one i can't live without
and i recomend it.
o you will also need a copy of your 'system' (ie save a copy
with "sysgen" or "movcpm" to the disk). again if you use
patch,you can also just patch the system tracks.
o using the debug/patching tool of your choice,open up your
system image and look for the begining of your CCP.(i am
asuming
that you are *NOT* running zcpr/zcpr2/zcpr3. if you are,ignore
the rest of this note,and read the documentation on the zcpr?
you are running.)the big clue here is it should be around 0A00H
and you normaly will find the DIGITAL RESEARCH copyright notice
close by.
o your CCP should begin with 2 jumps. the first is the normal
entry for the ccp,the second is an entry to bypass the auto
load 'feature' you are trying to turn on.(these will be
C3 xx xx C3 xx xx)
o when you find this seq. it is decoded as:
C3 xx xx C3 xx xx nn ## ** ** ** ** ** ** and so on...
\______/ \______/ /\ /\ /\
normal alt. || || || the command starts here and goes
ccp ccp || || |+- for a maximum of nn characters.
entry entry || ||
|| |+- this is a single byte containing the
|| length of your command string.
||
|+- this is a singel byte containing the max.
space in the command buffer.(normaly
'7F')
o after you have patched your immage,don't forget to save it. you
then run sysgen/movcpm in the normal way to copy this new
system
to your system tracks and then boot it.
that's about it. if you have any questions or problems let me know and i will
try to help. i have never used this on a kaypro,but i think it is generic
CP/M.
i disclaim all disclaimers and further more state that the above info would
have
been impossible for me to provide with out an open copy of "PROGRAMMERS
GUIDE TO
CP/M" eidted by SOL LIBES (hope there are not toooo many typos)
mike webb
webb@lll-mfe.arpa