home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / znode3 / z80dos / z80dmod.lbr / Z80DMOD.DZC / Z80DMOD.DOC
Encoding:
Text File  |  1993-06-08  |  3.1 KB  |  84 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8. ===========
  9. Z80DMOD.LBR
  10. ===========
  11.  
  12.  
  13.  
  14. Z80DOS10 (Modification)
  15.  
  16.  
  17.  
  18.  
  19. This library contains three files for use in assembling Carsonáì
  20. Wilson's Z80DOS V1.0 by those who cannot or do not wish to modifyáì
  21. their BIOS as required by the original assembly in order to getáì
  22. the full time and date stamping facility of Z80DOS.
  23.  
  24. Wilson provided for a jump into the BIOS to a time routine whicháì
  25. had to be inserted there.  This was clearly by analogy to theáì
  26. other DOS routines, which normally jump into the BIOS jump vectoráì
  27. at the start of every BIOS, and it left space in Z80DOS foráì
  28. further expansion.
  29.  
  30. I didn't have accurate BIOS source code for the BIOS in my Morrowáì
  31. MD-3, and all my attempts to modify the source I did have left meáì
  32. in the end without the Morrow's virtual drive feature, which Iáì
  33. was unwilling to give up, even for the excellent Z80DOS.  On theáì
  34. other hand, I couldn't, in the absence of accurate source code,áì
  35. figure out how to restore the virtual drive.
  36.  
  37. I took another look at Wilson's BIOS modification code andáì
  38. realized that it wasn't machine-dependent, which would haveáì
  39. forced its inclusion in the BIOS - the location of the code mightáì
  40. vary, but the 17-byte code itself was identical for all machines.áì
  41. This gave me the idea of putting it into the DOS area instead ofáì
  42. into the BIOS.  Since there are a few bytes unused at the end ofáì
  43. the DOS area, I relocated the code to the last 17 bytes beforeáì
  44. the start of the BIOS jump vector.
  45.  
  46. The three files required for this modification are Z80DOSM.Z80áì
  47. and Z80DHDRM.LIB, which are nearly identical to Wilson's originaláì
  48. files of the same name, minus the "M" (for "modification") at theáì
  49. end of the file name, and Z80DMOD.Z80, a new include file whicháì
  50. is based on Wilson's BIOSTIME.Z8D, the sample code for modifyingáì
  51. the BIOS.
  52.  
  53. The main module file, Z80DOSM.Z80, simply adds the fileáì
  54. Z80DMOD.Z80 to the list of modules to include in the assembly andáì
  55. also includes Z80DHDRM.LIB rather than the original (with no "M").
  56.  
  57. Z80DHDRM.LIB has one more equate than the original Z80DHDR.LIB,áì
  58. TIMEBUFF, for specifying the location of the time bufferáì
  59. (formerly part of the BIOS modification).  The BIOSTIME equateáì
  60. has redirected the jump into the BIOS to the end of the DOS area.áì
  61. These, with accompanying notes, are the only changes fromáì
  62. Wilson's original Z80DHDR.LIB.  The time buffer equate may beáì
  63. freely changed to any location in protected RAM.
  64.  
  65. To assemble Z80DOS with this modification in place it isáì
  66. unnecessary to alter or delete any of Wilson's original files.áì
  67. Just make sure all three of the files in this library are presentáì
  68. and assemble Z80DOSM.Z80 instead of Z80DOS.Z80.  In every otheráì
  69. respect you can follow Wilson's excellent instructions foráì
  70. installation, as long as you adjust the equates in Z80DHDRM.LIBáì
  71. instead of Z80DHDR.LIB and remember to read in Z80DOSM.HEX ratheráì
  72. than Z80DOS.HEX when working with DDT or DDTZ.
  73.  
  74.  
  75. Fred Haines
  76.  
  77. Glendale Littera RCPM/QBBS
  78. sysop: Abel Iwaz
  79. [818] 956-6164 (PC Pursuit)
  80.  
  81. Chicago Lillipute #1 or #2
  82. sysop: Richard Jacobson
  83. [312] 649-1730 or 664-1730 (PC Pursuit)
  84.