home *** CD-ROM | disk | FTP | other *** search
- AUTOPA╙ 2.1
- -----------
- updateΣ 01-18-84
-
- AUTOPA╙ i≤ ß specia∞ prograφ designeΣ t∩ kee≡ tracδ oµ .PA╙ file≤ ì
- anΣá automaticall∙ compilσ ONL┘ thosσ file≤ tha⌠ yo⌡ havσá editeΣ ì
- sincσá thσ las⌠ timσ yo⌡ compileΣ them«á Thi≤ i≤ quitσ hand∙ fo≥ ì
- project≤á involvinτ man∙ modules¼á sincσ i⌠ relieve≤ yo⌡á oµá thσ ì
- tasδá oµá keepinτá tracδá oµ whicΦ file≤á yo⌡á havσá updateΣá anΣ ì
- assemblinτ theφ one-by-one.
-
- Therσ arσ threσ program≤ useΣ witΦ thi≤ function.
-
- AUTOPA╙ automaticall∙ compilσ .PA╙ files
- SETOF╞ disablσ ß filσ (turε i⌠ off)
- SETO╬ enablσ ß filσ (turε i⌠ on)
-
- SETO╬ allow≤ yo⌡ t∩ overridσ thσ previou≤ SETOFF¼á t∩ turε oε thσ ì
- filσ withou⌠ havinτ t∩ edi⌠ it« Normall∙ thσ filσ wil∞ bσ turneΣ ì
- oε jus⌠ b∙ editinτ it.
-
- HO╫ T╧ US┼ AUTOPAS
- ------------------
-
- Usσ oµ thσ AUTOPA╙ prograφ i≤ simple«á Jus⌠ typσ iε AUTOPA╙ ì
- anΣ i⌠ wil∞ d∩ thσ rest«á Yo⌡ als∩ havσ thσ optioε oµ specifyinτ ì
- whicΦ drivσ thσ sourcσ (.PAS⌐ file≤ arσ on¼á anΣ specifyinτ whicΦ ì
- drivσá yo⌡á wan⌠ thσ relocatablσ (.ERL⌐ file≤á on«á Iµá yo⌡á arσ ì
- runninτá CP/M½ (CP/═ 3.░ o≥ greater)¼á yo⌡ mus⌠ havσ thσá prograφ ì
- SUBMIT.CO═á present«á AUTOPA╙ expect≤ MTPLUS.CO═ anΣá SETOFF.CO═ ì
- (anΣá SUBMIT.CO═á unde≥ CP/M+⌐ t∩ bσ oε thσ drivσ yo⌡ arσá loggeΣ ì
- into.
- ┴ .PA╙ filσ ha≤ tw∩ possiblσ conditions╗ i⌠ i≤ eithe≥ SE╘ O╬ ì
- (enableΣ fo≥ assembling)¼ o≥ SE╘ OF╞ (disabled)« Notσ tha⌠ thesσ ì
- condition≤ wil∞ NO╘ affec⌠ thσ norma∞ operatioε oµ MTPLUS¼ o≥ an∙ ì
- othe≥á prograφá either«áá Al∞á i⌠á affect≤á i≤á whethe≥á AUTOPA╙ ì
- recognize≤ i⌠ o≥ not« ┴ filσ tha⌠ ha≤ neve≥ beeε SE╘ beforσ wil∞ ì
- alway≤ bσ SE╘ ON«á Tha⌠ i≤ thσ defaul⌠ condition«á Thσ onl∙ wa∙ ì
- t∩ ge⌠ ß filσ SE╘ OF╞ i≤ witΦ thσ SETOF╞ program¼ o≥ witΦ AUTOPA╙ ì
- whicΦ use≤ SETOFF«á T∩ ge⌠ ß filσ SE╘ O╬ yo⌡ ma∙ edi⌠ i⌠ o≥á usσ ì
- thσá SETO╬ program«á Iµ yo⌡ cop∙ ß filσ usinτ PIP¼á thσ ne≈ cop∙ ì
- wil∞ bσ SE╘ ON«
- Wheε yo⌡ invokσ AUTOPA╙ i⌠ look≤ a⌠ al∞ oµ thσ .PA╙ file≤ oε ì
- thσ disδ anΣ determine≤ whethe≥ the∙ arσ SE╘ O╬ o≥ SE╘á OFF«á Iµ ì
- thσá filσá i≤á SE╘á O╬ i⌠ wil∞ bσ addeΣ t∩ ßá lis⌠á oµá file≤á t∩ ì
- compile«á Iµá i⌠á doe≤ no⌠ finΣ an∙ .PA╙ file≤ SE╘ ON¼á i⌠á wil∞ ì
- prin⌠ thσ messagσ NON┼ FOUN─ anΣ exi⌠ witΦ n∩ effect« Iµ an∙ arσ ì
- found¼á the∙ wil∞ bσ addeΣ t∩ thσ $$$.SU┬ filσ oε drivσ A:« Thi≤ ì
- i≤ simila≥ t∩ usinτ SUBMIT¼á a≤ thσ systeφ wil∞ theε executσá thσ ì
- ne≈á command≤ a≤ thougΦ the∙ werσ createΣ b∙ SUBMIT«á EacΦá filσ ì
- wil∞ bσ compileΣ anΣ theε SE╘ OFF¼ onσ a⌠ ß time« Fo≥ CP/M+¼ thσ ì
- SUBMI╘ facilit∙ work≤ differently¼ s∩ AUTOPA╙ put≤ thσ filσ name≤ ì
- int∩á ß filσ calleΣ AUTOTEMP.SU┬ anΣ chain≤ t∩ SUBMI╘ wheε i⌠á i≤ ì
- done.
-
- T∩ summarize;
- 1⌐ Edi⌠ whicheve≥ file≤ yo⌡ neeΣ to.
- 2⌐ Executσ AUTOPAS.
- 3⌐ Fo≥ eacΦ SE╘ O╬ .PA╙ filσ -
- a⌐ Thσ filσ i≤ compiled.
- b⌐ Thσ filσ i≤ SE╘ OFF.
- 4⌐ Finished.
-
- OPTIONS
- -------
-
- AUTOPA╙ s: $o
- ▐ ^ ^^
- ⁿ | ||
- AUTOPA╙ command--------½ | ||
- -options- | ||
- 1⌐ Locatioε oµ sourcσ files----+ ||
- 2) $ or # for MTPLUS options------+|
- MTPLUS options go here----------+
-
- 1) Locatioε oµ sourcσ files«á Thi≤ optioε specifie≤ whicΦ ì
- áááááááááádisδ drivσ contain≤ thσ .PA╙ file≤ yo⌡ wisΦ t∩ compile« ì
- ááááááááááIµá no⌠á included¼á i⌠á default≤ t∩ thσ drivσá yo⌡á arσ ì
- áááááááááácurrentl∙ loggeΣ into«á Thi≤ optioε ma∙ bσ followeΣ b∙ ì
- ááááááááááß coloε anΣ spaces if you wish.
-
- 2) MTPLU╙á require≤á ß ñ o≥ ú t∩á delimi⌠á options«á Jus⌠ ì
- áááááááááádeclarσá theφá herσá thσ wa∙ yo⌡á woulΣá wheεá invokinτ ì
- ááááááááááMTPLU╙ normally«á AUTOPA╙ wil∞ pu⌠ these option≤á int∩ ì
- ááááááááááever∙ MTPLU╙ command.
-
- Note: AUTOPAS may be imbedded in a SUBMIT file.
-
- EXAMPLES
- --------
-
- The files TEST.PAS and MUNG.PAS are on drive A:.
-
- A>AUTOPAS <---- you type this in,
- Auto MTPLUS version 2.1 the rest is automatic
-
- A>MTPLUS TEST.PAS <---- i⌠ founΣ TEST.PAS
-
- <compilation messages>
-
- A>SETOFF TEST.PAS <---- now, disable it
- TEST.PAS <---- show which file it sets
-
- A>MTPLUS MUNG.PAS <---- it found MUNG.PAS
-
- <compilation messages>
-
- A>SETOFF MUNG.PAS <---- disable it, it has been
- MUNG.PAS compiled. Remember, this
- happens automatically.
- A>
-
- Now¼ supposσ yo⌡ ruε AUTOPAS again¼ witΦ n∩ editinτ between:
-
- A>AUTOPAS <---- you type this in
- Auto MTPLUS version 2.1
- NONE FOUND.
-
- A>
-
- The∙ havσ al∞ beeε disabled¼ anΣ nonσ havσ beeε editeΣ sincσ ì
- thσ las⌠ timσ yo⌡ compileΣ usinτ AUTOPAS«
-
-
- No≈ edi⌠ MUNG.PAS anΣ ruε AUTOPAS again:
-
- (edit session goes here!)
-
- A>AUTOPAS <---- you type this in again
- Auto MTPLUS version 2.1
-
- A>MTPLUS MUNG.PAS <---- it found MUNG.PAS
-
- <compilation messages>
-
- A>SETOFF MUNG.PAS <---- disable it, it has been
- MUNG.PAS compiled.
- A>
-
- ...anΣ that'≤ all¼á sincσ yo⌡ didn'⌠ se⌠ TEST.PA╙ oεá again¼ ì
- eithe≥ witΦ SETO╬ o≥ b∙ editinτ it.
- Thσá usσ oµ SETO╬ anΣ SETOF╞ i≤ ver∙ simple«á Al∞ yo⌡ d∩ i≤ ì
- typσ iε thσ commanΣ witΦ thσ namσ oµ thσ filσ yo⌡ wan⌠á set¼á anΣ ì
- SETO╬ o≥ SETOF╞ wil∞ d∩ thσ rest.
-
- A>SETON MUNG.PAS <---- you type this in
- MUNG.PAS
-
- A>AUTOPAS <---- you type this in, too
- Auto MTPLUS version 2.1
-
- A>MTPLUS MUNG.PAS <---- it found MUNG.PAS
-
- <compilation messages>
-
- A>SETOFF MUNG.PAS <---- disable it, it has been
- MUNG.PAS compiled.
-
- A>
-
- ...just like when you edited it.
-
- Now let us suppose those files are on drive B:.
-
- A>AUTOPAS B <---- you type this in
- Auto MTPLUS version 2.1
-
- A>MTPLUS B:TEST.PAS <---- i⌠ founΣ TEST.PAS
-
- <compilation messages>
-
- A>SETOFF B:TEST.PAS <---- now, disable it
- TEST.PAS <---- show which file it sets
- (the drive isn't shown)
- A>MTPLUS B:MUNG.PAS <---- it found MUNG.PAS
-
- <compilation messages>
-
- A>SETOFF B:MUNG.PAS <---- disable it
- MUNG.PAS
-
- A>
-
- Perhap≤á yo⌡á woulΣá likσá ß listinτ fo≥ eacΦá filσá oεá thσ ì
- printer:
-
- A>AUTOPAS B: $PP <---- specify source on B:,
- Auto MTPLUS version 2.1 route .PRN file to the
- printer
- A>MTPLUS B:MUNG.PAS $PP <---- it found MUNG.PAS
-
- <compilation messages>
-
- A>SETOFF B:MUNG.PAS <---- disable it, it has been
- MUNG.PAS compiled.
-
- A>
-
-
-
- HOW IT WORKS
- ------------
-
- File≤ createΣ whilσ runninτ unde≥ CP/═ normall∙ havσ thσ f1º ì
- attributσ turneΣ off« CP/═ anΣ mos⌠ application≤ program≤ d∩ no⌠ ì
- kno≈á anythinτ abou⌠ thi≤ attributσ bit¼á anΣ s∩ the∙ ignorσá it« ì
- Editor≤ likσ WORDSTA╥ whicΦ creatσ ß ne≈ filσ ever∙ timσ yo⌡ edi⌠ ì
- wil∞ no⌠ se⌠ thi≤ attribute¼á s∩ ever∙ timσ yo⌡ edi⌠ ß file¼á thσ ì
- ne≈á cop∙ wil∞ havσ thσ attributσ bi⌠ turneΣ off«á ╔ havσá takeε ì
- advantagσ oµ thi≤ fact¼á anΣ useΣ i⌠ a≤ aε indicatioε tha⌠ ß filσ ì
- ha≤á beeε edited«á Thi≤ conditioε correspond≤ t∩ wha⌠ ╔ cal∞ SE╘ ì
- ON¼á tha⌠ is¼ enableΣ fo≥ automatiπ assembling« AUTOPA╙ look≤ oε ì
- thσá specifieΣ disδ fo≥ al∞ .PA╙ file≤ tha⌠ arσ se⌠á on«á Iµá i⌠ ì
- find≤ any¼á i⌠ create≤ ß $$$.SU┬ filσ (or¼ iµ onσ alread∙ exists¼ ì
- open≤á i⌠ fo≥ updating⌐ anΣ put≤ thσ namσ oµ eacΦ se⌠ oε filσá iε ì
- it« Wheε i⌠ i≤ finisheΣ findinτ al∞ thσ files¼ i⌠ close≤ $$$.SU┬ ì
- anΣá return≤á t∩ CP/M«á Theε CP/═ execute≤ thσá file¼á whicΦá i⌠ ì
- think≤á wa≤ madσ b∙ SUBMIT«á EacΦ filσ i≤ compileΣ iε turn¼á anΣ ì
- theε se⌠ ofµ b∙ executinτ SETOFF.COM«á Neithe≥ SETOFF¼ SETO╬ no≥ ì
- AUTOPA╙ i≤ affecteΣ b∙ an∙ attributσ bit≤ othe≥ thaε f1'¼á no≥ d∩ ì
- the∙ affec⌠ them.
- Unde≥ CP/M½ thσ SUBMI╘ facilit∙ work≤ differently«á T∩ makσ ì
- AUTOPA╙á worδ witΦ CP/M½ ╔ decideΣ t∩ creatσ ß norma∞á .SU┬á filσ ì
- (calleΣ AUTOTEMP.SUB⌐ witΦ thσ statement≤ t∩ bσ executed¼ anΣ ER┴ ì
- AUTOTEMP.SU┬á a⌠ thσ end¼á anΣ theε chaiε t∩ SUBMIT.CO═ witΦá thσ ì
- filσ namσ AUTOTEM╨ iε thσ systeφ filσ contro∞ blocδ a⌠ 05CH« Yo⌡ ì
- mus⌠ havσ SUBMIT.CO═ oε you≥ defaul⌠ drive«á Iµ yo⌡ havσ renameΣ ì
- SUBMIT.CO═ anΣ yo⌡ canno⌠ re-compilσ AUTOPAS.PAS¼ theε usσ DD╘ o≥ ì
- SI─ t∩ finΣ thσ strinτ 'SUBMIT.COMº withiε AUTOPAS.COM«á Yo⌡ ma∙ ì
- changσ i⌠ t∩ whateve≥ yo⌡ like╗á notice¼á however¼á tha⌠ thσ bytσ ì
- previou≤á t∩á thσ firs⌠ bytσ iε thσ strinτ i≤ ß lengtΦá bytσá anΣ ì
- shoulΣ bσ changeΣ t∩ match.
-
- - Jeffrey J. Nonken
- Santa Ana, Ca.