home *** CD-ROM | disk | FTP | other *** search
- SUPRBDOS User's Guide
-
- The following files should be in your distribution package:
- READ.ME- overview of SUPERBDOS features
- SUPRBDOS.DOC -user's guide and installation instructions
-
- DOS.Z80-
- DOS1.MAC- source to SUPERBDOS
- DOS2.MAC
- FINDOFF.COM -program to assist you in installing SUPRBDOS
-
- ZASM.LBR- public domain Z80 assembler used in installation of
- SUPRBDOS
- PUBLIC.COM-utility for handling public files
- PUBLIC.DOC
- PUBLIC.SRC
- UNCR12.COM- file uncruncher
-
- INSTALLATION
-
- If you have a '83 model Kaypro II or IV, you're in luck. You can skip this
- installation if you get the file KPSPRDOS.LBR. There you will find a ready
- made system based on K83ZCPR3. If you have another machine with a standard
- CP/M system, your work is only a little harder.
-
- 1. Extract all files from ZASM.LBR onto your SUPRBDOS disk.
-
- 2. Copy SYSGEN.COM and DDT.COM from your CP/M disk to your SUPRBDOS disk.
-
- 3. Create a disk file containing your CP/M or ZCPR3 system image. Do
- this by running sysgen as follows:
-
- A>sysgen
- SYSGEN VER 2.2
- SOURCE DRIVE NAME (OR RETURN TO SKIP)a
- SOURCE ON A, THEN TYPE RETURN<ret>
- FUNCTION COMPLETE
- DESTINATION DRIVE NAME (OR RETURN TO REBOOT)<ret>
-
- A>SAVE x CPM.BIN
-
- x is size of your CP/M system in 256-byte "pages". If you are not
- sure what this number is, try 50.
-
- 4. Run FINDOFF. If all goes well, the program will tell you
- "Your bdos memory address is y" and
- "Your bdos is located at z in file CPM.BIN"
- "Your offset is w".
- Write down y, z, and w.
-
- 5. Assemble SUPRBDOS by running ZASM DOS.AAZ HEX=<bdos memory address>
- For example, if your bdos memory address from FINDOFF is $D400,
- you type
- ZASM DOS.AAZ HEX=0D400 (do not type '$', '<' or '>')
- The assembly will take several minutes. You should have a file
- DOS.HEX (about 10K or so) when the assembly is finished.
-
- 6. Overlay the old BDOS with SUPRBDOS.
-
- A>ddt cpm.bin
- DDT VERS 2.2
- NEXT PC
- a b (DDT prints these numbers)
- icpm.bin (you type this)
- r (you type this)
- idos.hex (you type this)
- r<offset> (type "R" followed immediately by the offset given by
- FINDOFF)
- ^C (exit DDT)
- A>
-
- Now, do SAVE x SUPRBDOS.BIN, where x is the same number you used in
- saving CPM.BIN.
-
- 7. You now have a copy of SUPRBDOS. Install it on a few test disks by doing
- A>sysgen suprbdos.bin
- SYSGEN 2.2
- DESTINATION DRIVE (RETURN TO REBOOT)a
- DESTINATION ON A, THEN TYPE RETURN<ret>
- FUNCTION COMPLETE
-
- 8. Warm boot your system with a SUPRBDOS disk in A. If it boots correctly,
- continue testing by copying files, running programs, until you are
- satisfied that it works. Try this: Warm boot with SUPRBDOS, PIP, and
- a test file in A. Change the disk in B without hitting Control-C. PIP
- the test file to B. No "Bdos Err on B: R/O"!
-
- If your system hangs or goes completely nuts upon warm booting with
- SUPRBDOS, repeat the installation again. If the problem recurs, most
- likely your offset is incorrect. If your offset came from FINDOFF,
- please write and tell me about it. Include as much information as
- possible. Otherwise, see your local CP/M expert (a vanishing breed,
- but some are still around).
-
-
- USAGE
-
- -----Changing Disks Without Control-C
-
- SUPRBDOS should work just like your old BDOS, quietly and out of your way.
- It has some additional features which make it much nicer than your old BDOS.
-
- For example, let's say you're writing the "Great American Novel" with
- WordStar. It's late, you've written all day, and you want to move on to
- other things. You hit ^K^D to save your work, and WordStar burps:
- **Disk Full. Press <ESC>**
-
- With your old BDOS, if you switched disks, you'd get
- Bdos Err on A: R/O
- and you'd say bye-bye to Chapter 5 unless you had a text recovery program.
-
- With SUPRBDOS, move to the beginning of file using ^R, not ^Q^R, and mark the
- beginning of a block. Move to the end of file using ^C, not ^Q^C, and mark
- the end of block. Hit ^K^W to write the block to disk. Enter a filename on a
- drive not containing your novel (probably your WordStar disk). Remove the
- disk from that drive, and insert a blank disk. Hit return, and your work will
- be saved to a new disk. Finally, replace the old disk. Try this with your
- old BDOS, and you'd be quite sorry.
-
- SUPRBDOS's "Control-C-less" operation is not limited to Wordstar. You may
- change disks at any time, with any program, with one exception. IF A FILE IS
- OPEN FOR WRITING, DO NOT CHANGE DISKS UNTIL THE FILE IS PROPERLY CLOSED. IF
- YOU DO, YOU WILL TRASH YOUR DISKS! This is why, in the example above, we
- changed the disk containing WordStar, not the disk containing the novel. No
- files were open for writing on the Wordstar disk, so it was ok to change it.
- The novel file was open, so its disk could not be changed.
-
- -----Public Files
-
- If you use user areas, you'll love this. Public files are files which are
- accessible from all user areas. Normally, if Wordstar was in A7: and
- your text files in A8:, you could not edit your files with Wordstar. If
- Wordstar and its overlays were made public files, you could be logged into
- A8:, B6:, or any other user area and still run Wordstar.
-
- Public files are invisible to the use of wildcards, so you may not copy them
- with PIP *.*. They must be specified by name. Public files are also
- read-only, so they may not be erased.
-
- To make a file PUBLIC, run the PUBLIC program which is included with SUPRBDOS.
-
- Ex: A>public ws.com
-
- To restore a file to normal (make it private),
- A>public ws.com x <---the X makes the file private.
-
- ----Error Messages
-
- SUPRBDOS may produce the following error messages:
-
- Disk Error on A: Read error
- Disk Error on A: Write error
- Disk Error on T: Non-existent drive
- Disk Error on A: Read-Only (this happens only if disk was set to r/o
- with function 28, not when disks are
- changed)
- Disk Error on A: File is Read Only
-
- The BDOS function and the file involved (if applicable) are included, so a
- full message may be:
-
- Disk Error on A: Write error
- Function 22 ; File = CHAPTER.5
-
- In this case, there was a write-error trying to create file CHAPTER.5.
-
- -----Advanced Features
-
- SUPRBDOS has optional time-stamping capabilities built in. To use these, you
- must have a real time clock and a bios routine which access the clock. You
- must edit DOS.Z80 and set DOTIME to TRUE and reinstall SUPRBDOS. You must
- also "initialize the directory for time stamps", according to the author of
- P2DOS, from which SUPERBDOS is derived. How this is done is not explained.
- Maybe an adventurous soul out there will find a way.
-
- SUPRBDOS can be installed so that functions 13 and 37 allow the free
- interchange of single and double sided disks. On many machines, such
- as the Kaypro IV, changes between single and double sided disks are
- recognized only at warm boots. Obviously, this is a limitation on the
- switching of disks without Control-C. If your machine is one of these
- and if you have the source to your bios, you can remove this limitation.
- Add code to your bios cold boot routine to initialize a jump to the
- routine which decides if the computer is looking at a single or double
- sided disk. Suppose this routine is DISKINIT. Change your cold boot
- routine to look like
-
- CHKTYP EQU 04BH
-
- CBOOT: Blah
- Blah
- Blah
- LD HL,CHKTYP
- LD A,0C3H ;initialize a jump
- LD (CHKTYP),A
- LD HL,DISKINIT ;to DISKINIT
- LD (CHKTYP+1),HL
- Blah
- Blah
- JP CCP ;pass control to CCP
-
- This code puts a JP DISKINT instruction at 04BH. Edit DOS.Z80, setting
- the RESDSK conditional to TRUE. Set SETDSK equal to CHKTYP. Re-assemble
- SUPRBDOS. Now, functions 13 and 37 will identify new disks by calling
- CHKTYP, which in term "calls" DISKINIT.
-
- This feature is extremely useful to have when using disk cataloging programs,
- the file utility NSWP207, the library manager NULU 1.5, and many others
- with which expect disk changes and call functions 13 and 37 to change
- disks.
-
- Questions and comments can be directed to
- Benjamin Ho
- 626 Emerson St.
- Evanston, IL 60201
-
- ***************************************
- Legal Stuff
-
- To my knowledge, all components of the SUPRBDOS system are public domain
- for non-commerical use only. SUPRBDOS is a modification of P2DOS, by
- H.A.J. Ten Brugge from the Netherlands, and therefore is subject to the
- same restrictions as P2DOS.
-
-
-
-
- of P2DOS, by
- H.A.J. Ten Brugge from the Netherlands, and therefore is subject to the
- same restrictions a