home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
-
- ===========
- Z80DMOD.LBR
- ===========
-
-
-
- Z80DOS10 (Modification)
-
-
-
-
- This library contains three files for use in assembling Carsonáì
- Wilson's Z80DOS V1.0 by those who cannot or do not wish to modifyáì
- their BIOS as required by the original assembly in order to getáì
- the full time and date stamping facility of Z80DOS.
-
- Wilson provided for a jump into the BIOS to a time routine whicháì
- had to be inserted there. This was clearly by analogy to theáì
- other DOS routines, which normally jump into the BIOS jump vectoráì
- at the start of every BIOS, and it left space in Z80DOS foráì
- further expansion.
-
- I didn't have accurate BIOS source code for the BIOS in my Morrowáì
- MD-3, and all my attempts to modify the source I did have left meáì
- in the end without the Morrow's virtual drive feature, which Iáì
- was unwilling to give up, even for the excellent Z80DOS. On theáì
- other hand, I couldn't, in the absence of accurate source code,áì
- figure out how to restore the virtual drive.
-
- I took another look at Wilson's BIOS modification code andáì
- realized that it wasn't machine-dependent, which would haveáì
- forced its inclusion in the BIOS - the location of the code mightáì
- vary, but the 17-byte code itself was identical for all machines.áì
- This gave me the idea of putting it into the DOS area instead ofáì
- into the BIOS. Since there are a few bytes unused at the end ofáì
- the DOS area, I relocated the code to the last 17 bytes beforeáì
- the start of the BIOS jump vector.
-
- The three files required for this modification are Z80DOSM.Z80áì
- and Z80DHDRM.LIB, which are nearly identical to Wilson's originaláì
- files of the same name, minus the "M" (for "modification") at theáì
- end of the file name, and Z80DMOD.Z80, a new include file whicháì
- is based on Wilson's BIOSTIME.Z8D, the sample code for modifyingáì
- the BIOS.
-
- The main module file, Z80DOSM.Z80, simply adds the fileáì
- Z80DMOD.Z80 to the list of modules to include in the assembly andáì
- also includes Z80DHDRM.LIB rather than the original (with no "M").
-
- Z80DHDRM.LIB has one more equate than the original Z80DHDR.LIB,áì
- TIMEBUFF, for specifying the location of the time bufferáì
- (formerly part of the BIOS modification). The BIOSTIME equateáì
- has redirected the jump into the BIOS to the end of the DOS area.áì
- These, with accompanying notes, are the only changes fromáì
- Wilson's original Z80DHDR.LIB. The time buffer equate may beáì
- freely changed to any location in protected RAM.
-
- To assemble Z80DOS with this modification in place it isáì
- unnecessary to alter or delete any of Wilson's original files.áì
- Just make sure all three of the files in this library are presentáì
- and assemble Z80DOSM.Z80 instead of Z80DOS.Z80. In every otheráì
- respect you can follow Wilson's excellent instructions foráì
- installation, as long as you adjust the equates in Z80DHDRM.LIBáì
- instead of Z80DHDR.LIB and remember to read in Z80DOSM.HEX ratheráì
- than Z80DOS.HEX when working with DDT or DDTZ.
-
-
- Fred Haines
-
- Glendale Littera RCPM/QBBS
- sysop: Abel Iwaz
- [818] 956-6164 (PC Pursuit)
-
- Chicago Lillipute #1 or #2
- sysop: Richard Jacobson
- [312] 649-1730 or 664-1730 (PC Pursuit)