home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / CPR86 / CPR86Z.PAT < prev    next >
Text File  |  2000-06-30  |  3KB  |  125 lines

  1. Dennis Vallianos
  2. [70406,1163]
  3. Lindenhurst, NY
  4.  
  5.  
  6. CPR860 is a fine addition to CP/M-86, offering a much more
  7. sophisticated user interface than DRI's stock system.  I found
  8. it worked as advertised on the Zenith-100 series, but because
  9. the program was not specifically developed for the Z-100, the
  10. ability to run 8 bit COM files was lost.  The following patches
  11. to CPR860 & several of Zenith's bios modules will correct this
  12. problem.
  13.  
  14. NOTE: My system is presently running with 192K of RAM & that's
  15. the only memory size I've tested this with.  You may or may not
  16. have problems with less memory.
  17.  
  18.  
  19. Starting with CPR860.BIN perform the following patches with
  20. DDT86:
  21.  
  22. DDT86
  23. rCPR860.BIN
  24.  
  25. Patch using the S command as follows:
  26.  
  27. ADDRESS   ORIG       Z100
  28. 639       A0         CD
  29. 63A        38         DF
  30. 63B       07         02
  31.  
  32. wCPR860.CMD
  33.  
  34. The above patch tells CPR how to find the PATHNDLR code in the
  35. bios.
  36.  
  37. Similarly patch OVL0.BIN:
  38. rOVL0.BIN
  39.  
  40. Patch using the S command as follows:
  41.  
  42. ADDRESS   ORIG       Z100
  43. D26       DF          DD
  44. D31       04         0C
  45. D38       06          0E
  46. D43       04          0C
  47. D49       06          0E
  48. D6B       DF          DD
  49. DDC       DF          DD
  50. DEA       04          0C
  51. DF2       06          0E
  52. F0C       DF          DD
  53. F16       DF          DD
  54.  
  55. wOVERLAY.CMD
  56. ^C
  57. The above patch changes the interrupt location used by ZIP to
  58. store the vector normally stored at INT 224.  The change is
  59. required because as supplied, OVL0.BIN will write over INT DFh,
  60. which is used on Zenith systems to enter the bios when trying to
  61. run a COM file.
  62.  
  63. The files are now able to work with the Zenith bios, except for
  64. a number of addresses the bios knows of in the original CCP.
  65. These addresses will be different when CPR860 is installed over
  66. CPM.SYS.  You will have to educate the bios by editing two of
  67. its files to change these addresses & then reassemble.
  68.  
  69. Locate the following code in BIOS86.A86:
  70.     ORG    CPMCCP+0939H
  71. DFTDRV    RB    0        ;DEFAULT DRIVE
  72.  
  73. Change the +0939H to +0736H & save the modified file.
  74.  
  75.  
  76. The following changes have to be made in PATHNDLR.LIB:
  77.  
  78. 1. Find the following code section & comment it out with ';'
  79. at the beginning of each line (leave the PATCH02: label alone).
  80.  
  81. PATCH02:
  82. ;    IF    R8085
  83. ;    LEA    DI,COMFCB+9
  84. ;    LEA    SI,COMTYPE
  85. ;    MOV    CX,3
  86. ;    CLD
  87. ;    REP    MOVSB
  88. ;    CALL    OPENC
  89. ;    JNZ    PATCH02A
  90. ;    ENDIF
  91. ;    CALL    RESETDISK
  92. ;    JMP    JPCOMER
  93.  
  94. CPR86 has already done this work for you, as well as checking
  95. the required drives/user areas on the search path for both CMD &
  96. COM files!  If it gets this far, CPR has already switched to the
  97. correct du & opened the COM file.
  98.  
  99. 2. Toward the end of the module, a number of locations in the
  100. CCP (soon CPR) are defined.  You must redefine each ORG
  101. statement as follows:
  102.  
  103. NAME        ORIG ORG    NEW ORG
  104. LOADERR:    06DCH        0539H
  105. GOUSER:        0738H        0620H
  106. COMFCB        0827H        085BH
  107.  
  108. The first two locations show PATHNDLR where to renter CPR86,
  109. depending on whether or not it was able to successfully load the
  110. COM file.  The last address is used elsewhere in the bios, but
  111. defined here.  Save the modified file & reassemble a new bios &
  112. then a new CPM.SYS, as follows:
  113.  
  114. [NOTE: IF USING 5" DISKS, YOU'LL HAVE TO WATCH YOUR SPACE WHILE
  115. DOING THIS.]
  116.  
  117. ASM86 BIOS86 $PZ SZ
  118. PIP CPMX.H86=CPM.H86,BIOS86.H86[v
  119. GENCMD CPMX 8080 CODE[A40]
  120. REN CPM.SYS=CPMX.CMD
  121.  
  122. At this point you should switch over to the instructions in
  123. CPR860's INSTL0.DOC to complete the merging of CPR860.CMD into
  124. CPM.SYS.                05/25/84
  125.