home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
simtel
/
sigm
/
vols000
/
vol081
/
implemnt.doc
< prev
next >
Wrap
Text File
|
1985-02-09
|
4KB
|
85 lines
IMPLEMENTATION NOTES
Thσ disδ contain≤ ß .SU┬ filσ fo≥ eacΦ Pasca∞ program« Notσ tha⌠ ì
al∞á oµá thσ program≤ excep⌠ F╞á requirσá CONSTS.PAS¼á TYPES.PAS¼ ì
GETFILES.PAS¼á anΣ PROCS.PA╙ durinτ compilation¼á anΣ tha⌠ PRINT¼ ì
XREF¼á anΣá T╨ als∩ requirσ assembl∙ languagσá subroutines«á Thσ ì
followinτ suggestion≤ ma∙ hel≡ t∩ ge⌠ yo⌡ started.
Compilσá thσá program≤ b∙ executinτá FF.SUB¼á PRINT.SUB¼á PP.SUB¼ ì
XREF.SUB¼á anΣá TP.SUB«á Thσ .SU┬ file≤ assumσá tha⌠á everythinτ ì
happen≤ oε thσ curren⌠ systeφ disk¼á whicΦ mus⌠ oµ coursσ contaiε ì
thσ compiler¼ assembler¼ linker¼ MAIN.SRC¼ etc.
Usσá PRETTY.SU┬á t∩á obtaiεá ßá pretty-printeΣá listinτá oµá eacΦ ì
program«á Thi≤á procedurσá require≤ thσ namσ oµ ß Pasca∞á sourcσ ì
filσ a≤ ß parameter«á Fo≥ example║ SUBMI╘ PRETT┘ F╞ PRETT┘ use≤ ì
PRIN╘á t∩ prin⌠ ß listinτ oµ thσ pretty-printeΣ prograφá anΣá it≤ ì
cross-referencσ table« B∙ default¼ PRIN╘ assume≤ 11ó pape≥ anΣ ╢ ì
lines/inch╗á i⌠á print≤ 6░ line≤ oµ tex⌠ oε eacΦá page¼á printinτ ì
pagσ heading≤ anΣ usinτ form-feeΣ character≤ fo≥ pagination«á I⌠ ì
doe≤ no⌠ truncatσ o≥ wra≡ lonτ lines.
Tes⌠á T╨ b∙ formattinτ thi≤ filσ witΦ it«á Thσ commanΣ T╨á DIS╦ ì
shoulΣá creatσ ß filσ DISK.DO├ identica∞ t∩ thσ filσ DISK.DO├á oε ì
thi≤á disk«á Iµá i⌠á does¼á usσ T╨ t∩á forma⌠á thσá documentatioε ì
containeΣ iε thσ file≤ SYSTEM.TEX¼ SYSUT.TEX¼ anΣ SYSTP.TEX« Thσ ì
commanΣá T╨á SYSTE═ doe≤ this¼á creatinτ thσá formatteΣá manua∞ ì
SYSTEM.DOC¼á thσ tablσ oµ content≤ filσ SYSTEM.CON¼á anΣ thσ filσ ì
oµ cross-reference≤ SYSTEM.REF¼á whicΦ i≤ oµ n∩ grea⌠ interes⌠ t∩ ì
thσ user.
Computer≤á beinτá wha⌠ the∙ are¼á yo⌡ wil∞ probabl∙ ge⌠ stucδá a⌠ ì
somσ poin⌠ iε thσ proceedings«á Unfortunately¼á ╔ canno⌠ predic⌠ ì
wha⌠ wil∞ g∩ wrong¼ bu⌠ herσ arσ somσ possibl∙ alarminτ symptoms.
Al∞á oµ thσ program≤ worδ witΦ Versioε 4.░ oµ thσ compile≥ anΣá ╔ ì
believσá tha⌠á al∞ excep⌠ P╨ als∩ worδá witΦá Versioεá 3.0«á Thσ ì
problem≤á witΦá P╨á unde≥ Versioε 3.░á concerεá passinτá one-bytσ ì
integer≤ b∙ reference«
Somσ oµ thσ operation≤ arσ quitσ slow«á M∙ systeφ require≤ abou⌠ ì
1╡ minute≤ t∩ compilσ TP«á Furthermore¼ T╨ wil∞ requirσ a⌠ leas⌠ ì
╖á minute≤á t∩ proces≤ SYSTE═ -- i⌠ run≤ a⌠ abou⌠ 120░ word≤á pe≥ ì
minutσ unde≥ Cachσ BIO╙ witΦ flopp∙ disks.
Largσá intermediatσ file≤ wil∞ bσ created«á Checδ thσ amoun⌠á oµ ì
freσ disδ spacσ beforσ eacΦ compilation¼á especiall∙ beforσá wheε ì
compilinτ TP« Thσ submi⌠ procedure≤ deletσ file≤ a≤ sooε a≤ the∙ ì
arσ n∩ longe≥ required.
╔á havσ haΣ n∩ memor∙ problem≤ runninτ Cachσ BIO╙ iε 128K«á ╔ d∩ ì
no⌠ kno≈ whethe≥ T╨ caε bσ compileΣ oε ß 48╦ machine«á I⌠ shoulΣ ì
_ruεá oε ß 48╦ machine¼á bu⌠ therσ wil∞ bσ les≤ spacσ fo≥á cross-ì
reference≤á anΣ "keeps"«á Thσ simples⌠ wa∙ t∩ reducσ thσá memor∙ ìèrequirement≤á oµá T╨ woulΣ bσ t∩ spli⌠ i⌠ iε two║á par⌠á ▒á woulΣ ì
initializσá thσ globa∞ table≤ anΣ chaiε t∩ par⌠ ▓ whicΦ woulΣá d∩ ì
thσ work.
Somσá oµ thσ cross-reference≤ iε SYSTEM.DO├ wil∞á bσá unsatisfieΣ ì
(therσá wil∞ bσ statement≤ likσ "seσ Sectioε 0.0.0")«á Therσ arσ ì
tw∩á reason≤á fo≥ this║á onσ i≤ tha⌠ T╨ require≤á tw∩á passe≤á t∩ ì
satisf∙á forwarΣá references¼á anΣá thσ othe≥ i≤ tha⌠á therσá arσ ì
reference≤ t∩ section≤ oµ thσ manua∞ tha⌠ arσ no⌠ oε thi≤ disk.
T╨ assume≤ 1▓ characters/incΦ b∙ default«á EacΦ linσ i≤ precedeΣ ì
b∙ ╢ blank≤ (0.5")¼á anΣ contain≤ a⌠ mos⌠ 7╕ character≤ (6.5"⌐ oµ ì
text«á Thu≤á thσ tex⌠ fit≤ ont∩ 8.5"x11ó pape≥ witΦ 1óá margins« ì
Iµ you≥ printe≥ print≤ 1░ characters/incΦ anΣ yo⌡ usσ 8.5ó paper¼ ì
thσá line≤á wil∞ bσ to∩ long«á (The∙ wil∞ als∩ bσá to∩á lonτá t∩ ì
displa∙á oεá aεá 80-columε screen.)α Yo⌡ caε tel∞á T╨á t∩á prin⌠ ì
shorte≥á line≤ b∙ insertinτ thσ commanΣ \H╠ ╡ 6╡ a⌠ thσ fron⌠á oµ ì
thσ file║ looδ a⌠ DISK.TE╪ t∩ seσ wherσ i⌠ goes.
PRIN╘á ha≤á ß "Tó optioε fo≥ printinτ .DO├ file≤ produceΣ b∙á TP« ì
Yo⌡á caεá say¼á fo≥á example║á PRIN╘ SYSTEM.DO├á T1,╡á Thi≤á i≤ ì
supposeΣ t∩ prin⌠ thσ firs⌠ ╡ page≤ oµ SYSTEM.DOC« Unfortunatel∙ ì
thi≤ optioε doe≤ no⌠ worδ oε m∙ system«á Wheε thσ "Tó optioεá i≤ ì
selected¼á thσá printe≥á seem≤á t∩ ignorσ thσá ETX/AC╦á protocol« ì
Pleasσá le⌠á mσá kno≈á iµ yo⌡ managσ t∩á fi°á thσá bug«á Iεá thσ ì
meantime¼ usσ \bΣ PI╨ LST:=SYSTEM.DO├ \eΣ instead.
Good luck!