home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpmhelp / mload.hlp < prev    next >
Text File  |  1994-07-27  |  5KB  |  104 lines

  1. GENERAL INFORMATION
  2. SYNTAX
  3. :GENERAL INFORMATION
  4. Thi≤á prograφ i≤ ß replacemen⌠ fo≥ thσ cp/φ "LOADó program«á  Wh∙
  5. replacσ "LOAD"┐á  well..«á LOAD.CO═ ha≤ ß fe≈ deficiencies«á  Fo≥
  6. example¼á iµá you≥á he° file'≤ origiεá i≤á abovσá 100h¼á LOAD.CO═
  7. prepend≤ blanδ spacσ t∩ thσ outpu⌠ filσ t∩ insurσ i⌠ wil∞ worδ a≤
  8. ß CP/═ transient«  I⌠ doesn'⌠ carσ iµ thσ filσ i≤ no⌠ intendeΣ a≤
  9. ßá CP/═ transien⌠ anΣ i⌠ als∩ doesn'⌠ likσ he° record≤ witΦ mixeΣ
  10. loaΣá addresses«á  Fo≥ example¼á onσ tha⌠ load≤ belo≈ ßá previou≤
  11. record╗á whicΦá i≤á ß perfectl∙á legitimatσá happenstance«á Also¼
  12. LOAD.CO═á caεá loaΣá onl∙á onσ prograφ a⌠á ßá time¼á anΣá ha≤á n∩
  13. provisioε fo≥ ß loaΣ bia≤ iε thσ commanΣ specification«á Finally¼
  14. therσá i≤ n∩ provisioε fo≥ use≥ specificatioε oµ thσ outpu⌠á filσ
  15. name.
  16.  
  17. Iεá it≤ simples⌠ form¼á MLOAD'≤ synta° i≤ identica∞ t∩á LOAD.COM«
  18. Thus¼á therσá shoulΣá bσ n∩ probleφ iε learninτ t∩á usσá thσá ne≈
  19. program«á  Thσá onl∙ significan⌠ differencσ herσ i≤á that¼á unde≥
  20. LOAD.COM¼á al∞á file≤ arσ outpu⌠ startinτ a⌠ 100h¼á eveε iµá the∙
  21. originatσá elsewhere«á  MLOA─á output≤ startinτ a⌠ thσá he°á filσ
  22. origiε (actually¼á thσ firs⌠ he° recorΣ specifie≤ thσ outpu⌠ loaΣ
  23. address)«  Thσ bia≤ optioε ma∙ bσ useΣ t∩ overridσ this.
  24. ~
  25. Aεá examplσ shoulΣ clarif∙ this«á  Supposσ yo⌡ havσ ßá filσá tha⌠
  26. load≤á a⌠ 1000h«á  LOAD.CO═ woulΣ savσ aε outpu⌠ filσ tha⌠ begin≤
  27. a⌠á 100Φá anΣ load≤ pas⌠ 1000Φ (t∩ whereve≥á thσá prograφá ends)«
  28. MLOA─ wil∞ savσ aε outpu⌠ filσ startinτ froφ 1000Φ only«  If¼ fo≥
  29. somσá reason¼á yo⌡ neeΣ thσ filσ t∩ star⌠ a⌠ 100Φ iε spitσ oµ it≤
  30. 1000Φá origiεá (Θ caε thinδ oµ severa∞ circumstance≤á wherσá thi≤
  31. woulΣá bσá necessary)¼á you'Σ havσ t∩ specif∙ ßá bia≤á t∩á MLOAD«
  32. Thus¼ usinτ thi≤ example¼ "MLOA─ MYFIL┼ 0F00ó woulΣ do.
  33.  
  34. Notσ tha⌠ thi≤ prograφ re-initialize≤ itselµ eacΦ timσ i⌠ i≤ run«
  35. Thus¼á iµá you≥ systeφ support≤ ß direc⌠ brancΦ t∩ thσ tpß (viß ß
  36. zero-lengtΦ .CO═ file¼á o≥ thσ ZCP╥ "GOó command)¼ yo⌡ ma∙ safel∙
  37. re-executσ MLOAD.
  38. :SYNTAX
  39.      mloaΣ [<outnam=>][<file1.type>,]<file2>[,<file3...>▌ [bias]
  40.  
  41. áááááááááááááZCPR2-stylσá d⌡ spec≤ arσ full∙ supported¼á fo≥ botΦ
  42. áááááááááááááinpu⌠ anΣ outpu⌠ files«  Thus¼ thσ followinτ commanΣ
  43. áááááááááááááline≤ arσ permissable:
  44.  
  45.               b3>mload a4:myfile.com=0:bigfil,b6:patch1,c9:patch2
  46.               a6>mload b5:=c3:mdm717.com,mdmpatch
  47.  
  48. <outnam╛     i≤ thσ Optiona∞ outpu⌠ filσ name«  Onl∙ thσ Optiona∞
  49.              drivσá anΣ use≥ speπ anΣ thσ primar∙ filenamσ ma∙ bσ
  50.              specified«áá  Thσáá outpu⌠áá filetypσáá i≤áá deriveΣ
  51.              exclusivel∙á froφ thσ 3-bytσ strinτ a⌠á 103Φá withiεè             MLOAD.
  52. ~
  53. áááááááááááááIµá n∩á outpu⌠ filenamσ i≤á specified¼á i⌠á wil∞á bσ ì
  54. áááááááááááááderiveΣ froφ thσ firs⌠ inpu⌠ filename¼ witΦ filetypσ ì
  55. áááááááááááááoµá 'COM'¼á iµ no⌠ otherwisσ specifieΣ (thi≤ defaul⌠ ì
  56. áááááááááááááfiletypσ ma∙ bσ patcheΣ directl∙ int∩ mloaΣ vißá DD╘ ì
  57. áááááááááááááo≥á witΦá MLOA─á itself¼á usinτ ß patcΦá filσá - it≤ ì
  58. ááááááááááááálocatioεá i≤á a⌠ 103╚ iε MLOAD.COM)«á  Notσá tha⌠á ß ì
  59. ááááááááááááácommanΣ linσ oµ thσ forφ "C:=<FILENAME>ó wil∞á placσ ì
  60. áááááááááááááthσá outpu⌠á filσá oε thσ "Có drivσá witΦá thσá samσ ì
  61. áááááááááááááprimar∙ filenamσ a≤ thσ inpu⌠ file.
  62. ~
  63. <file1.type╛ái≤á aεá Optiona∞á Non-He°  filσá t∩á bσá patcheΣá b∙
  64.              subsequentl∙áá nameΣá He°á files«áá  Specifyinτá thσ
  65.              filetypσ enable≤ thi≤ function.
  66.  
  67. áááááááááááááThi≤á featurσá obviatinτ an∙ neeΣ t∩ usσá DDT«á  Thσ
  68. áááááááááááááfirs⌠ (anΣ onl∙ thσ first⌐ filespeπ (afte≥ thσá "="¼
  69. áááááááááááááiµá used⌐á ma∙ bσ Non-he° anΣ thσ filetypσá Mus⌠á bσ
  70. áááááááááááááspecified.á  Examples:
  71.  
  72. ááááááááááááá1«  mloaΣ ws.com,wspatch
  73. áááááááááááááLoad≤á WS.COM¼á overlay≤á i⌠ witΦá wspatch.hex¼á anΣ
  74. áááááááááááááwrite≤ thσ outpu⌠ t∩ WS.COM.
  75.  
  76. ááááááááááááá2«  mloaΣ MEXTEST=MEX112.COM,MXO-US13
  77. áááááááááááááLoad≤ MEX112.COM¼ overlay≤ i⌠ witΦ MXO-US13.HEX¼ anΣ
  78. áááááááááááááwrite≤á thσ outpu⌠ filσ t∩á MEXTEST.COM«á Notσá tha⌠
  79. áááááááááááááthi≤áá i≤á thσá RecommendeΣá Techniquσá becausσáá i⌠
  80. ááááááááááááápreserve≤ thσ origina∞ file!
  81.  
  82. ááááááááááááá3.  mloaΣ ws.ovr,ovrpatch
  83. áááááááááááááLoad≤ WS.OV╥ anΣ patche≤ i⌠ witΦ "OVRPATCH.HEX".
  84. ~
  85. <file2╛      specifie≤ thσ filσ t∩ bσ loaded¼ unles≤ ß file1.typσ
  86.              ha≤á beeε specified«á  Iε tha⌠ case¼á i⌠ specifie≤ ß
  87.              a Hex file to load.
  88.  
  89. <file3╛      specifie≤ Hex file(≤) t∩ loaΣ.
  90.  
  91. <bias╛       i≤ thσ offse⌠ withiε  thσ saveΣ imagσ t∩ appl∙á wheε
  92.              loadinτ thσ file.
  93. ~
  94. MLOA─á witΦá n∩á argument≤ print≤ ßá smal∞á hel≡á message«á  Thi≤
  95. messagσá i≤á als∩á printeΣ wheneve≥ ß commanΣ linσá synta°á erro≥
  96. occurs.
  97.  
  98. Filename≤á Ma∙á contaiε drive/use≥ specs¼á anΣ mus⌠á No⌠á contaiε
  99. wildcards«á  Inpu⌠ filename≤ mus⌠ bσ separateΣ b∙ commas¼á anΣá ß
  100. spacσ i≤ requireΣ betweeε thelas⌠ filenamσ anΣ thσ optiona∞ bias.
  101.  è┴áá loaΣá informatioεá summar∙á i≤á printeΣá a⌠á thσáá successfu∞
  102. conclusioεá oµá thσ load«á  An∙ error≤ iε loadinτ wil∞á generall∙
  103. includσ thσ namσ oµ thσ filσ iε question.
  104.