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 / BEEHIVE / OS / ZPM3N07.ARK / ZPM3LDR.TXT < prev   
Text File  |  1992-04-26  |  3KB  |  67 lines

  1.  
  2.  
  3.                     ZPM3LDR.REL
  4.                     ===========
  5.  
  6.      A CPMLDR.REL replacement for CP/M 3.0 and ZPM3 systems.
  7.  
  8.  
  9. CPMLDR.REL, as supplied by DRI, has a bug which prevents the 
  10. loading of CPM3.SYS files larger than 16k. This is a significant 
  11. problem especially if you intend to enlarge your bios or increase 
  12. the number of buffers allocated to your system.
  13.  
  14. ZPM3LDR.REL was developed primarily to overcome this bug. 
  15. ZPM3LDR.REL is able to load CPM3.SYS files up to the maximum 
  16. possible system size without any problem. ZPM3LDR.REL also offers 
  17. some convenient enhancements.
  18.  
  19.  
  20. The usual way to use ZPM3LDR.REL is exactly as you would use 
  21. CPMLDR.REL: link it to your loader bios and SCB.REL files to make 
  22. the loader program which must be installed onto your system 
  23. tracks. Before you install the program however, you may choose to 
  24. patch the file at locations provided for in ZPM3LDR.REL.
  25.  
  26. The messages issued by ZPM3LDR can be changed. They take a 
  27. standard '$' terminated form (as used by BDOS function 9). Using 
  28. a debugger such as SID.COM, you should be able to view these 
  29. messages and note that they have extra '$' terminators at then 
  30. end of each. This is the room in which you may expand or alter 
  31. the ZPM3LDR messages. Just remember not to overwrite the next 
  32. message.
  33.  
  34. The CPM3.SYS FCB will be visible there too, allowing you to 
  35. change it so that ZPM3LDR will load a file of a different name 
  36. instead.
  37.  
  38. The copyright message is not there because DRI has copyright on 
  39. ZPM3LDR.REL.  That is part of an advanced feature of ZPM3LDR.REL 
  40. which allows it to check for valid CPM3.SYS files. CPMLDR.REL 
  41. would attempt to load any file called CPM3.SYS, even if it wasn't 
  42. really a CP/M 3.0 system file. The results could be catastrophic. 
  43. ZPM3LDR.REL will always check for the 112 byte signature at the 
  44. start of the file, and will refuse to load CPM3.SYS unless the 
  45. signature is correct.
  46.  
  47. This has another advantage. You may patch this signature to 
  48. whatever you wish.  Then, after generating your CPM3.SYS file 
  49. (using GENCPM.COM) you should patch it too. The patch might be to 
  50. put in the version of your BIOS or some such thing.  On MYZ80, I 
  51. use this system whenever I change the MYZ80 80x86 bios in such a 
  52. way that the CPM3.SYS files won't work properly anymore. That 
  53. way, any old CPM3.SYS files that are not valid anymore, won't get 
  54. loaded accidentally.
  55.  
  56. For your information, the first 128 bytes of CPM3.SYS always 
  57. begin with 6 bytes which tell CPMLDR where to load each section 
  58. and where the cold boot entry is. After that there are 10 bytes 
  59. of 0. ZPM3LDR does not check these bytes against anything so you 
  60. can patch them with whatever you like.
  61.  
  62. The next 112 bytes would normally contain the DRI copyright 
  63. message then a fill of 0 bytes to the next record. Because 
  64. ZPM3LDR looks for this as a signature of a valid CPM3.SYS, if it 
  65. is changed, you will have to change ZPM3LDR as well.
  66.  
  67.