home *** CD-ROM | disk | FTP | other *** search
- Getting the shell running...
-
- (This thing runs only on CP/M 2.2)
-
- First hack your CBIOS to include storage for the
- structure the shell calls iop. The address in the
- bios listing of this structure is the SHBUF define
- in the Shell source. This kluge allows us to save
- data for the shell between warm boots. The structure
- of the buffer in the bios is as follows:
-
- bufsiz: equ 1030 ;default in bdscio.h
-
- iop:
- shdsk: db 0
- shsav: dw 0
- nocli: db 0
- shbuf: ds BUFSIZ
-
- The Bios MUST also be modified to check the entry
- iop->_nocli at warm boots and zero it at cold boots.
- When this flag is low the CCP should be modified at
- the following addresses.
-
- CCP+7 = 02h
- CCP+8 = 'S'
- CCP+9 = 'H'
-
- This modification should occur AFTER the CCP has been
- loaded at warmboot. To make matters more complicated,
- There are two entrypoints (undocumented) to the CCP.
- One, CCP+0, checks the buffer we have just munged and
- if it comtains a filename, runs the .com file of the
- same name. Entrypoint two, CCP+2, zeros the buffer.
- Hence, If we save a CP/M image with the buffer modified
- and our CBIOS uses the first entrypoint CP/M will
- attempt to run SH.COM at every bootup (I have taken
- advantage of this on my own system, you may wish to do
- the same). Whichever method one uses to chain the shell,
- The bios must check the iop->_nocli flag before
- warmboots and act on the CCP accordingly if the shell-
- builtin, ccp is to work.
-
- If you are not an experienced CP/M hacker you should
- either get help in installing the shell or not attempt
- it at all. Likewise, if your bios is not accessible at
- source level, forget it. Be sure to send useful mods
- and repair jobs (There are certainly some bugs) to
- the CUG or to me directly.
-
- Addresses:
- USPS Steve Blasingame
- 4121 Hidden Hill
- Norman, OK 73069
-
- Usenet duke!uok!bsteve
-
-
- As a last resort you can call me at (405) 3602336
- after hours and BEFORE MIDNIGHT.
-
-
-