home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / cpm / zcpr2 / vector3.zcp < prev    next >
Text File  |  1984-03-18  |  3KB  |  69 lines

  1. 03/16/84
  2.  
  3. RE: Vector 3 systems and ZCPR
  4.  
  5. Sigi Kluger, El Paso RCPM
  6.  
  7. VECTOR GRAPHIC systems usually are modified CP/M systems. Modifications
  8. range from some additional Z80 code in the CCP to "extended CP/M" with
  9. extra BDOS functions more like CP/M plus, banked RAM and so on. One unique
  10. feature is a checksum check on CCP/BDOS at warmboot to avoid reloading
  11. from disk if they have not been damaged. Installation of ZCPR is hampered by
  12. BIOS warmboot code which does a version check on the CCP and returns
  13. a SYSTEM ERROR message. If you install ZCPR the usual way, the system will
  14. work fine until a warmboot is performed, at which time the SYSTEM ERROR
  15. message will hang the system.
  16.  
  17. To avoid that error message and to enjoy all the features of ZCPR (or ZCPR2
  18. or ZCPR3 when released), you must modify your BIOS slightly. This modification
  19. merely consists of a 1-byte change in the BIOS.
  20.  
  21. The following sample code was extracted from a 40k CP/M 2.22H. Your values
  22. may vary of course, but the key data is the same.
  23.  
  24. 1. VECTOR keeps the CCP starting page and CP/M version letter in CCP+86:
  25.  
  26. 7D86    DB    'H'  ;CP/M version letter
  27. 7D87    DB    7DH  ;start page of CCP
  28.  
  29. 2. The two bytes above are cross-checked by the BIOS in the warmboot routine:
  30.  
  31. 93DD    CALL    9414H
  32. 93E0    LXI    B,0E00H
  33. 93E3    LXI    D,1
  34. 93E6    CALL    9414H
  35. 93E9    CALL    9D0BH
  36. 93EC    MVI    B,40H
  37. 93EE    LHLD    7D68H    ;<-- CCP+86H ABOVE
  38. 93F1    LXI    D,7D48H    ;<-- (CCP AND 0FF00H) + 'H' (H=VERSION)
  39. 93F4    ORA    A
  40. 93F5    SBC    DE    ;SUBTRACT TO TEST EQUALITY
  41. 93F7    JRZ    9435H    ;<=== CHANGE THIS TO JRZ 9435H
  42. 93F9    LXI    H,9404H
  43. 93FC    CALL    9475H    ;DISPLAY ERROR MESSAGE
  44. 93FF    CALL    9486H    ;WAIT FOR KEYPRESS
  45. 9402    JR    93C2H    ;ATTEMPT WARMBOOT AGAIN
  46. ;
  47. 9404    DB    CR,LF,'SYSTEM ERROR-'
  48.  
  49. Changing the byte at 93f7h above from 28H to 20H (from JRZ to JR) results
  50. in the error message being skipped. ZCPR can now be installed safely.
  51.  
  52. If you have a different CP/M version (like 2.22J in a hard disk system)
  53. you will have to trace the BIOS warmboot code (use RAID, not DDT) to
  54. find the JRZ above. Simply search for the SYSTEM ERROR message and
  55. work your way back to the JRZ.
  56.  
  57. This has been tested on CP/M 2.22H and was found working. No guarantee
  58. that the changes will work in Extended CP/M, Timeshare CP/M or any other
  59. version of VECTOR CP/M, although I will test it under 2.22J later when I
  60. have some more time.
  61.  
  62. If you have any problems installing ZCPR on your VECTOR 3 system, please
  63. don't hesitate to get in contact. I can be reached via one of the
  64. following systems:
  65.  
  66. El Paso RCPM (915) 598-1668 300/1200
  67. Chicago CBBS (312) 545-8086 300/1200
  68. Compuserve 72766,1544
  69.