home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
cpmhelp
/
mload.hlp
< prev
next >
Wrap
Text File
|
1994-07-27
|
5KB
|
104 lines
GENERAL INFORMATION
SYNTAX
:GENERAL INFORMATION
Thi≤á prograφ i≤ ß replacemen⌠ fo≥ thσ cp/φ "LOADó program«á Wh∙
replacσ "LOAD"┐á well..«á LOAD.CO═ ha≤ ß fe≈ deficiencies«á Fo≥
example¼á iµá you≥á he° file'≤ origiεá i≤á abovσá 100h¼á LOAD.CO═
prepend≤ blanδ spacσ t∩ thσ outpu⌠ filσ t∩ insurσ i⌠ wil∞ worδ a≤
ß CP/═ transient« I⌠ doesn'⌠ carσ iµ thσ filσ i≤ no⌠ intendeΣ a≤
ßá CP/═ transien⌠ anΣ i⌠ als∩ doesn'⌠ likσ he° record≤ witΦ mixeΣ
loaΣá addresses«á Fo≥ example¼á onσ tha⌠ load≤ belo≈ ßá previou≤
record╗á whicΦá i≤á ß perfectl∙á legitimatσá happenstance«á Also¼
LOAD.CO═á caεá loaΣá onl∙á onσ prograφ a⌠á ßá time¼á anΣá ha≤á n∩
provisioε fo≥ ß loaΣ bia≤ iε thσ commanΣ specification«á Finally¼
therσá i≤ n∩ provisioε fo≥ use≥ specificatioε oµ thσ outpu⌠á filσ
name.
Iεá it≤ simples⌠ form¼á MLOAD'≤ synta° i≤ identica∞ t∩á LOAD.COM«
Thus¼á therσá shoulΣá bσ n∩ probleφ iε learninτ t∩á usσá thσá ne≈
program«á Thσá onl∙ significan⌠ differencσ herσ i≤á that¼á unde≥
LOAD.COM¼á al∞á file≤ arσ outpu⌠ startinτ a⌠ 100h¼á eveε iµá the∙
originatσá elsewhere«á MLOA─á output≤ startinτ a⌠ thσá he°á filσ
origiε (actually¼á thσ firs⌠ he° recorΣ specifie≤ thσ outpu⌠ loaΣ
address)« Thσ bia≤ optioε ma∙ bσ useΣ t∩ overridσ this.
~
Aεá examplσ shoulΣ clarif∙ this«á Supposσ yo⌡ havσ ßá filσá tha⌠
load≤á a⌠ 1000h«á LOAD.CO═ woulΣ savσ aε outpu⌠ filσ tha⌠ begin≤
a⌠á 100Φá anΣ load≤ pas⌠ 1000Φ (t∩ whereve≥á thσá prograφá ends)«
MLOA─ wil∞ savσ aε outpu⌠ filσ startinτ froφ 1000Φ only« If¼ fo≥
somσá reason¼á yo⌡ neeΣ thσ filσ t∩ star⌠ a⌠ 100Φ iε spitσ oµ it≤
1000Φá origiεá (Θ caε thinδ oµ severa∞ circumstance≤á wherσá thi≤
woulΣá bσá necessary)¼á you'Σ havσ t∩ specif∙ ßá bia≤á t∩á MLOAD«
Thus¼ usinτ thi≤ example¼ "MLOA─ MYFIL┼ 0F00ó woulΣ do.
Notσ tha⌠ thi≤ prograφ re-initialize≤ itselµ eacΦ timσ i⌠ i≤ run«
Thus¼á iµá you≥ systeφ support≤ ß direc⌠ brancΦ t∩ thσ tpß (viß ß
zero-lengtΦ .CO═ file¼á o≥ thσ ZCP╥ "GOó command)¼ yo⌡ ma∙ safel∙
re-executσ MLOAD.
:SYNTAX
mloaΣ [<outnam=>][<file1.type>,]<file2>[,<file3...>▌ [bias]
áááááááááááááZCPR2-stylσá d⌡ spec≤ arσ full∙ supported¼á fo≥ botΦ
áááááááááááááinpu⌠ anΣ outpu⌠ files« Thus¼ thσ followinτ commanΣ
áááááááááááááline≤ arσ permissable:
b3>mload a4:myfile.com=0:bigfil,b6:patch1,c9:patch2
a6>mload b5:=c3:mdm717.com,mdmpatch
<outnam╛ i≤ thσ Optiona∞ outpu⌠ filσ name« Onl∙ thσ Optiona∞
drivσá anΣ use≥ speπ anΣ thσ primar∙ filenamσ ma∙ bσ
specified«áá Thσáá outpu⌠áá filetypσáá i≤áá deriveΣ
exclusivel∙á froφ thσ 3-bytσ strinτ a⌠á 103Φá withiεè MLOAD.
~
áááááááááááááIµá n∩á outpu⌠ filenamσ i≤á specified¼á i⌠á wil∞á bσ ì
áááááááááááááderiveΣ froφ thσ firs⌠ inpu⌠ filename¼ witΦ filetypσ ì
áááááááááááááoµá 'COM'¼á iµ no⌠ otherwisσ specifieΣ (thi≤ defaul⌠ ì
áááááááááááááfiletypσ ma∙ bσ patcheΣ directl∙ int∩ mloaΣ vißá DD╘ ì
áááááááááááááo≥á witΦá MLOA─á itself¼á usinτ ß patcΦá filσá - it≤ ì
ááááááááááááálocatioεá i≤á a⌠ 103╚ iε MLOAD.COM)«á Notσá tha⌠á ß ì
ááááááááááááácommanΣ linσ oµ thσ forφ "C:=<FILENAME>ó wil∞á placσ ì
áááááááááááááthσá outpu⌠á filσá oε thσ "Có drivσá witΦá thσá samσ ì
áááááááááááááprimar∙ filenamσ a≤ thσ inpu⌠ file.
~
<file1.type╛ái≤á aεá Optiona∞á Non-He° filσá t∩á bσá patcheΣá b∙
subsequentl∙áá nameΣá He°á files«áá Specifyinτá thσ
filetypσ enable≤ thi≤ function.
áááááááááááááThi≤á featurσá obviatinτ an∙ neeΣ t∩ usσá DDT«á Thσ
áááááááááááááfirs⌠ (anΣ onl∙ thσ first⌐ filespeπ (afte≥ thσá "="¼
áááááááááááááiµá used⌐á ma∙ bσ Non-he° anΣ thσ filetypσá Mus⌠á bσ
áááááááááááááspecified.á Examples:
ááááááááááááá1« mloaΣ ws.com,wspatch
áááááááááááááLoad≤á WS.COM¼á overlay≤á i⌠ witΦá wspatch.hex¼á anΣ
áááááááááááááwrite≤ thσ outpu⌠ t∩ WS.COM.
ááááááááááááá2« mloaΣ MEXTEST=MEX112.COM,MXO-US13
áááááááááááááLoad≤ MEX112.COM¼ overlay≤ i⌠ witΦ MXO-US13.HEX¼ anΣ
áááááááááááááwrite≤á thσ outpu⌠ filσ t∩á MEXTEST.COM«á Notσá tha⌠
áááááááááááááthi≤áá i≤á thσá RecommendeΣá Techniquσá becausσáá i⌠
ááááááááááááápreserve≤ thσ origina∞ file!
ááááááááááááá3. mloaΣ ws.ovr,ovrpatch
áááááááááááááLoad≤ WS.OV╥ anΣ patche≤ i⌠ witΦ "OVRPATCH.HEX".
~
<file2╛ specifie≤ thσ filσ t∩ bσ loaded¼ unles≤ ß file1.typσ
ha≤á beeε specified«á Iε tha⌠ case¼á i⌠ specifie≤ ß
a Hex file to load.
<file3╛ specifie≤ Hex file(≤) t∩ loaΣ.
<bias╛ i≤ thσ offse⌠ withiε thσ saveΣ imagσ t∩ appl∙á wheε
loadinτ thσ file.
~
MLOA─á witΦá n∩á argument≤ print≤ ßá smal∞á hel≡á message«á Thi≤
messagσá i≤á als∩á printeΣ wheneve≥ ß commanΣ linσá synta°á erro≥
occurs.
Filename≤á Ma∙á contaiε drive/use≥ specs¼á anΣ mus⌠á No⌠á contaiε
wildcards«á Inpu⌠ filename≤ mus⌠ bσ separateΣ b∙ commas¼á anΣá ß
spacσ i≤ requireΣ betweeε thelas⌠ filenamσ anΣ thσ optiona∞ bias.
è┴áá loaΣá informatioεá summar∙á i≤á printeΣá a⌠á thσáá successfu∞
conclusioεá oµá thσ load«á An∙ error≤ iε loadinτ wil∞á generall∙
includσ thσ namσ oµ thσ filσ iε question.