home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / mbug / mbug066.arc / ABSTRACT.066 < prev    next >
Text File  |  1979-12-31  |  7KB  |  307 lines

  1. .pl66
  2. ---------------- VOLUME 66 ABSTRACTS ----------------
  3.  
  4. Thi≤á filσá contain≤á abstract≤ oε thσá followinτá program≤á anΣ ì
  5. files. 
  6.  
  7.     A.OCO
  8.     A.PCO
  9.     COMPARE.COM
  10.     CPMDIR.C
  11.     DISK.DOC    <-- included at end of this file
  12.     DMSPATCH.ASM
  13.     DSCUSPAT.ASM
  14.     EQ.COM
  15.     EQ.PAS
  16.     FMAN.PRN
  17.     FROMCPM.C
  18.     FWD.PAS
  19.     HW5.PAS
  20.     HW5DATA.
  21.     MICROPAT.ASM
  22.     PASYNTAX.DOC
  23.     PC.SUB
  24.     PFET.COM
  25.     PFET.PAS
  26.     PHONE.C
  27.     PLAYDATA.
  28.     PLAYKAL.PAS
  29.     POPS.DOC
  30.     POWTWO.PAS
  31.     PPC.COM
  32.     PPC.DOC
  33.     PPC.PAS
  34.     PSTACK.DOC
  35.     REGEN.DOC 
  36.     RSPEED.ASM
  37.     RSPEED.COM
  38.     RTP.ASM
  39.     RTP.COM
  40.     SKEW2PAT.ASM
  41.     SKEW3PAT.ASM
  42.     SMAN.PRN
  43.     SPEED.COM
  44.     SPEED2.COM
  45.     STIRLING.PAS
  46.     TESTER.PAS
  47.     VALIDATE.SUB
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56. ====╛á PPC.COM¼á PFET.CO═á è
  57. anΣ relateΣ file≤ comprisσ BoΓ Vaε Valsah'≤ Pasca∞ compiler«  I⌠ ì
  58. i≤á ß compile≥ fo≥ ß subse⌠ oµ thσ Pasca∞ programminτá language¼ ì
  59. writteε iε Pasca∞ anΣ caε compilσ itself.
  60.  
  61. Thσ samplσ program≤ tha⌠ ╔ compileΣ workeΣ a≤ the∙ should«á  Thσ ì
  62. Eigh⌠ Queen≤ prograφ (EQ.PAS⌐ printeΣ ß buncΦ oµ permutation≤ oµ ì
  63. thσ digit≤ ▒ t∩ ╕ th∩ ╔ didn'⌠ ge⌠ ou⌠ m∙ ches≤ boarΣ anΣá checδ ì
  64. them.
  65.  
  66. POWTWO.PAS 
  67.  
  68. print≤ thσ negativσ power≤ oµ tw∩ froφ 
  69.  .╡ t∩ .000976562╡á(2**-1...2**-10).
  70.  
  71. BotΦá program≤ tooδ les≤ thaε halµ ß minutσ t∩ compilσ usinτ thσ ì
  72. supplieΣ SUBMI╘ filσ anΣ SPEED2.CO═ (be⌠ yo⌡ though⌠ n∩ onσ useΣ ì
  73. SUBMI╘ files!)«á  EQ.CO═ tooδ les≤ thaε halµ ß minutσ t∩ ruε anΣ ì
  74. POWTWO.CO═ raε a≤ fas⌠ a≤ i⌠ coulΣ print«á  Thi≤ wa≤ donσ oε ß ▓ ì
  75. meτ Z-80«á  Wheε the∙ werσ compileΣ withou⌠ SPEED2.CO═ the∙ botΦ ì
  76. tooδ morσ thaε ß minute.
  77.  
  78. Thσá compile≥ wa≤ ß clas≤ assignmen⌠ fo≥ onσ oµá Bob'≤á classes«  ì
  79. I⌠ i≤ ver∙ wel∞ documenteΣ a≤ t∩ ho≈ t∩ usσ thσ compile≥ anΣ thσ ì
  80. specifiπá subse⌠á i⌠ compile≤ (i⌠ eveε ha≤ somσ oµá Bob'≤á usua∞ ì
  81. creativσ misspellings).
  82.  
  83. Thosσá interesteΣ iε thσ innard≤ oµ compiler≤ o≥ largσá program≤ ì
  84. iε genera∞ shoulΣ finΣ thi≤ interesting.
  85.  
  86.      Abstract by Paul Krystosek
  87.  
  88. .paèContents of this disk -- largely from DISK.DOC notes by Bob Van Valzah
  89. =====================
  90.  
  91. A.OCO -- 
  92.  
  93. Thi≤á samplσá prograφá i≤á thσ objec⌠ codσ outpu⌠á oµá thσá PFE╘ ì
  94. portioε oµ thσ compile≥ package«  (OC╧ ╜ Objec⌠ COde).
  95.  
  96. A.PCO -- 
  97.  
  98. Thi≤ samplσ prograφ i≤ thσ P-codσ outpu⌠ oµ thσ PPC.CO═á portioε ì
  99. oµá thσá compiler«á  BotΦ A.PC╧ anΣ A.OCO¼á iεá thi≤á case¼á arσ ì
  100. partiall∙ compileΣ output≤ oµ EQ.PAS¼á thσ eigh⌠ queen≤ problem«  ì
  101. Normally¼ iµ yo⌡ usσ thσ PC.SU┬ filσ fo≥ compilations¼ A.OC╧ anΣ ì
  102. A.PC╧á wil∞á botΦ bσ writteε t∩ disδ anΣ subsequentl∙ eraseΣá b∙ ì
  103. thσ submi⌠ file.
  104.  
  105. COMPARE.COM -- 
  106.  
  107. prograφ t∩ comparσ tw∩ files¼á froφ CP/═ Usersº Grou≡ disδá #40¼ ì
  108. usefu∞á fo≥á checkinτ difference≤ betweeε differen⌠ version≤á oµ ì
  109. thσ samσ program.
  110.  
  111. CPMDIR.C -- 
  112.  
  113. ┴á UNI╪ ├ prograφ fo≥ printinτ ß CP/═ director∙ t∩ STDOU╘á (UNI╪ ì
  114. printer).
  115.  
  116. DISK.DOC -- 
  117.  
  118. Bob Van Valzah's notes on some of the files on this disk.
  119.  
  120.  
  121. DMSPATCH.ASM -- 
  122.  
  123. Patching for SPEED.COM or SPEED2.COM
  124. for use on DMS controller.
  125.  
  126. DSCUSPAT.ASM -- 
  127.  
  128. Patchinτá fo≥á SPEED.CO═á o≥ SPEED2.CO═ fo≥ usσá oεá thσá DISCU╙ ì
  129. controller.
  130.  
  131. EQ.COM -- 
  132.  
  133. CompileΣá outpu⌠á oµ EQ.PAS¼á thσ eigh⌠á queen≤á ches≤á problem¼ ì
  134. writteε b∙ Bob.
  135.  
  136. EQ.PAS -- 
  137.  
  138. Sourcσá codσ iε Pasca∞ t∩ prin⌠ ou⌠ al∞ solution≤ t∩ thσá eight-ì
  139. queen≤ ches≤ problem.
  140.  
  141.  
  142. èFMAN.PRN -- 
  143.  
  144. "Fast Manual" -- documentation for SPEED.
  145.  
  146. FROMCPM.C -- 
  147.  
  148. UNIX C program to print a CP/M file to STDOUT via modem.
  149.  
  150. FWD.PAS -- Sample Pascal Program.
  151.  
  152. HW5.COM -- Sample program.
  153.  
  154. HW5.PAS -- 
  155.  
  156. Samplσ PASCA╠ prograφ t∩ builΣ aε optima∞ searcΦ treσ anΣ decodσ ì
  157. ß message.
  158.  
  159. HW5DATA. -- Sample data for above program.
  160.  
  161. MICROPAT.ASM -- 
  162.  
  163. Patch for SPEED for use on MICROPOLIS disk controller systems.
  164.  
  165. PASYNTAX.DOC -- Bob's notes on PASCAL syntax.
  166.  
  167. PC.SUB -- Submit file for compiling from .PAS file to .COM file.
  168.  
  169. PFET.COM -- Part of PPC compiler package.
  170.  
  171. PFET.PAS -- 
  172.  
  173. Sourcσá codσá fo≥á thσá PFE╘ portioεá oµá thσá compile≥á packagσ ì
  174. (compile≤ P-codσ int∩ objec⌠ code).
  175.  
  176. PHONE.C -- 
  177.  
  178. UNI╪á ├á prograφ t∩ prin⌠ ou⌠ thσ word≤ yo⌡ caε spel∞ witΦá you≥ ì
  179. phonσ number.
  180.  
  181. PLAYDATA. -- data for following program.
  182.  
  183. PLAYKAL.PAS -- 
  184.  
  185. Samplσá prograφá t∩á determinσ bes⌠ move≤ iεá ßá gamσá oµá KalaΦ ì
  186. (Anybod∙ kno≈ ho≈ t∩ pla∙ Kalah?)
  187.  
  188. POPS.DOC -- 
  189.  
  190. Bob's documentation on the P-codes used by the compiler.
  191.  
  192. POWTWO.PAS -- 
  193.  
  194. Sample program to print out the negative powers of 2.
  195.  
  196. è               PPC.COM -- PASCAL PASCAL COMPILER.
  197.  
  198. PPC.DOC -- Documentation on the compiler.
  199.  
  200. PPC.PAS -- Pascal Source code for the compiler.
  201.  
  202. PSTACK.DOC -- 
  203.  
  204. Documentatioε oε thσ stacδ operation≤ oµ thσ run-timσ P-machine.
  205.  
  206. REGEN.DOC -- Notes on how to modify and recompile the compiler.
  207.  
  208. RSPEED.ASM -- Disk Hardware Read Speed Tester.
  209.  
  210. RSPEED.COM -- Object of above.
  211.  
  212. RTP.ASM -- Run Time Package Source code file.
  213.  
  214. RTP.COM -- Run Time Package Object code file.
  215.  
  216. SKEW2PAT.ASM -- Patch for SPEED or SPEED2.
  217.  
  218. SKEW3PAT.ASM -- Patch for SPEED or SPEED2.
  219.  
  220. SMAN.PRN -- Speed Users Manual.
  221.  
  222. SPEED.COM -- Disk Speed-up program for CP/M 1.4
  223.  
  224. SPEED2.COM -- Same as above for CP/M 2.2
  225.  
  226. STIRLING.PAS -- Sample program to generate Stirling numbers.
  227.  
  228. TESTER.PAS -- Sample program.
  229.  
  230. VALIDATE.SUB -- Submit file to verify that your computer is "fertile."
  231.  
  232.  
  233. .paè
  234.  
  235. Contents of this disk
  236. =====================
  237.  
  238.  
  239. compare.com    file compare utility from previous CP/M UG disk
  240.         an absolute must for self compiler writers
  241.  
  242. cpmdir.c    V7 UNIX C program to print a CP/M directory on stdout
  243.  
  244. disk.doc    this file
  245.  
  246. eq.pas        prints all solutions to the "eight queens problem"
  247.  
  248. fromcpm.c    V7 UNIX C program to read a CP/M file to standard output
  249.  
  250. fwd.pas        Pascal program illustrating forward procedure declarations
  251.  
  252. hw5.pas        builds an optimal binary search tree and decodes a message
  253.  
  254. hw5data        sample data for above
  255.  
  256. pasyntax.doc    syntax graphs for this Pascal compiler
  257.  
  258. pc.sub        submit file to compile a Pascal program
  259.  
  260. pfet.com    object code of the p-code to 8080 translator
  261.  
  262. pfet.pas    source of above
  263.  
  264. phone.c        C program to print words you can spell with your phone number
  265.  
  266. playkal.pas    Pascal program to determine best moves in game of Kalah
  267.  
  268. playdata    sample data for above
  269.  
  270. pops.doc    documentation on the p-codes used by the compiler
  271.  
  272. powtwo.pas    Pascal program to print negative powers of two
  273.  
  274. ppc.com        object code of Pascal to p-code compiler
  275.  
  276. ppc.doc        users manual for Pascal compiler
  277.  
  278. ppc.pas        source of Pascal compiler
  279.  
  280. pstack.doc    documentation on the run time p-machine stack
  281.  
  282. regen.doc    notes on how to modify and compile the compiler
  283.  
  284. rtp.asm        source for the run time package
  285.  
  286. rtp.com        object of above
  287. èspeed.com    makes your system go faster by disk buffering
  288.  
  289. speed2.com    above for 2.x systems
  290.  
  291. stirling.pas    Pascal program to print a table of Stirling numbers
  292.  
  293. tester.pas    tests functionality of Pascal compiler
  294.  
  295. validate.sub    submit file to make sure you have a "fertile" compiler
  296.  
  297.  
  298.  
  299. Both playkal.pas and hw5.pas are solutions to programming assignments
  300. for my computer science classes at the University of Illinos.  They are
  301. included here to show how to build trees when you don't have pointers.
  302. They also illustrate a kludgey way of simulating Pascal records when you
  303. don't have them either.
  304.  
  305. stirling.pas is included to show a kludgey way to do output formatting.
  306.  
  307.