home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / DISASM / REVAS25.LBR / CPMAN.TZT / CPMAN.TXT
Text File  |  2000-06-30  |  11KB  |  397 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.                                   REVAS FOR CPM
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.                                Copyright (c) 1978
  41.                                   A. E. Hawley
  42.                              Los Angeles, California
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                                         1
  62.  
  63.  
  64.  
  65.  
  66.  
  67.         REVAS/CPM
  68.  
  69.  
  70.                 Thσá CP═ environmen⌠ require≤ somσ change≤ iε thσ commanΣ ì
  71.         structurσá oµá REVAS¼á a≤á wel∞á a≤ thσ wa∙á iεá whicΦá REVA╙á i≤ ì
  72.         implemented«áá Thσá followinτá descriptioεá oµá ne≈á anΣá changeΣ ì
  73.         feature≤ i≤ aε appendi° t∩ thσ REVA╙ User'≤á Manual¼á V2╗á pleasσ ì
  74.         refe≥á t∩á tha⌠ manua∞ iµ yo⌡ arσ no⌠ alread∙ familia≥ witΦá it'≤ ì
  75.         contents.
  76.  
  77.                 Iεá thσ CP═ environment¼á REVA╙ i≤ presen⌠ a≤ TW╧á files║ ì
  78.         REVAS.CO═á anΣá REVAS.LOD«á Thσá firs⌠á file¼á REVAS.COM¼á i≤á aε ì
  79.         executivσá prograφá whicΦá manage≤á thσá loadinτá oµá thσá targe⌠ ì
  80.         program¼á REVAS¼á anΣá thσ symbo∞ tables«á Thi≤ filσ i≤ ┤á block≤ ì
  81.         (pages⌐ lonτ anΣ run≤ a⌠ ß locatioε jus⌠ belo≈ CPM'≤ CC╨ section« ì
  82.         Yo⌡ can¼á iµ yo⌡ wish¼á renamσ thi≤ filσ usinτ CPM'≤ RE╬ command¼ ì
  83.         bu⌠á i⌠á mus⌠á remaiε ß .CO═ file«á Thi≤ filσá namσá define≤á thσ ì
  84.         transien⌠á commanΣ useΣ t∩ invokσ ß disassembl∙ witΦá REVAS«á Thσ ì
  85.         seconΣá file¼áá REVAS.LOD¼á contain≤á thσá actua∞á REVA╙á prograφ ì
  86.         embeddeΣá iε ß relocatinτ loader«á I⌠ i≤ loadeΣ int∩á memor∙á anΣ ì
  87.         executeΣ b∙ REVAS.COM¼ whicΦ contain≤ ß referencσ b∙ filename.ex⌠ ì
  88.         t∩á REVAS.LOD«á Thus¼á thσá REVAS.LO─ filσ mus⌠ no⌠á bσá renamed« ì
  89.         REVAS.LO─á i≤ 2░ block≤ (pages⌐ long«á (ß blocδ i≤ 25╢ bytes⌐ Al∞ ì
  90.         file≤ arσ assumeΣ t∩ bσ oε thσ currentl∙ selecteΣ disc.
  91.  
  92.                 Thσ prograφ t∩ bσ disassembleΣ (thσ targe⌠ program⌐á mus⌠ ì
  93.         coexis⌠ witΦ REVA╙ iε you≥ computer'≤ memor∙ space« Wheε REVA╙ i≤ ì
  94.         invoked¼á thσá targe⌠ filσ i≤ accesseΣ anΣ loadeΣ a⌠ thσ CP═á tpß ì
  95.         (addres≤á 10░ Hex)«á Thσ REVA╙ disassemble≥ i≤ theε loadeΣá abovσ ì
  96.         thσá targe⌠á pgm«á Iµ ß symbo∞ tablσ filσ fo≥ thσ targe⌠á prograφ ì
  97.         exist≤á oεá thσ disk¼á i⌠ i≤ loadeΣ a⌠ thσ enΣ oµá REVAS«á Iµá n∩ ì
  98.         symbo∞á tablσá filσ exists¼á theε onσ i≤á automaticall∙á created« ì
  99.         Durinτ thσ loadinτ process¼ message≤ wil∞ bσ typeΣ oε thσ consolσ ì
  100.         t∩ le⌠ yo⌡ kno≈ thσ result≤ oµ eacΦ oµ thesσ steps.
  101.  
  102.                 REVA╙ alway≤ use≤ tw∩ files║á FN.TBL¼á anΣ FN.ASM« FN.TB╠ ì
  103.         i≤ thσ filσ t∩ whicΦ REVA╙ write≤ it≤ symbo∞ table≤ (seσ thσá 'Wº ì
  104.         command)«á FN.AS═á i≤á thσ filσ t∩ whicΦ REVA╙á write≤á assemble≥ ì
  105.         mnemonic≤ fo≥ editinτ and/o≥ reassembly« Wheε REVA╙ i≤ invokeΣ i⌠ ì
  106.         searche≤á thσá curren⌠á disπ director∙ fo≥ thesσá files«á Iµá no⌠ ì
  107.         found¼á the∙ arσ automaticall∙ created« Iµ F╬ i≤ no⌠ specifieΣ iε ì
  108.         thσ invokinτ command¼á theε FN=##ú i≤ assumed« Iµ thσ .EX╘ i≤ no⌠ ì
  109.         specifieΣ fo≥ thσ targe⌠ program¼ theε EXT=CO═ i≤ assumed.
  110.  
  111.                 ┴á disassembl∙á i≤á invokeΣá b∙á typinτá ßá standarΣá CP═ ì
  112.         transien⌠ commanΣ (afte≥ thσ CP═ prompt⌐ oµ thσ followinτ form:
  113.  
  114.                                    REVAS [ufn]
  115.  
  116.                 'ufnº i≤ aε unambiguou≤ filσ name¼ a≤ defineΣ iε you≥ CP═ ì
  117.         manual«á Fou≥á possiblσ form≤ oµ thi≤ commanΣ anΣá thσá resultinτ ì
  118.         filσ name≤ involveΣ arσ showε iε thσ tablσ below«á Iε thi≤ table¼ ì
  119.         'EXTº mean≤ an∙ filσ extensioε excep⌠ 'TBL'«á 'FNº stand≤ fo≥ an∙ ì
  120.         filσ name.
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.                                         2
  128.  
  129.  
  130.  
  131.  
  132.  
  133.         REVAS/CPM
  134.  
  135.  
  136.         Command                 Response
  137.  
  138.         REVAS          REVA╙á i≤ loadeΣ a⌠ thσ tpa«á ###.TB╠ anΣá ###.AS═ ì
  139.         áááááááááááááááarσ used.
  140.  
  141.         REVAS FN       FN.CO═ i≤ loadeΣ a⌠ thσ tpß followeΣ b∙ REVAS« Thσ ì
  142.         áááááááááááááááfile≤ FN.TB╠ anΣ FN.AS═ arσ used.
  143.  
  144.         REVAS FN.EXT   FN.EX╘á i≤ loadeΣ a⌠ thσ tpa¼á followeΣ b∙á REVAS« ì
  145.         áááááááááááááááThσ file≤ FN.TB╠ anΣ FN.AS═ arσ used.
  146.  
  147.         REVAS FN.TBL   N∩á targe⌠ prograφ i≤ loaded«á REVA╙ i≤ loadeΣá a⌠ ì
  148.         áááááááááááááááthσ tpa¼ followeΣ b∙ thσ symbo∞ tablσ filσ FN.TBL« ì
  149.         áááááááááááááááIµá FN.TB╠á doe≤ no⌠ exist¼á theε i⌠á i≤á created« ì
  150.         áááááááááááááááFN.AS═ i≤ used.
  151.  
  152.                 Afte≥ thσ loadinτ proces≤ i≤ completed¼ contro∞ i≤ passeΣ ì
  153.         t∩ REVAS¼ a≤ indicateΣ b∙ displa∙ oµ thσ REVA╙ promp⌠ (#⌐ oε you≥ ì
  154.         console« Thσ REVA╙ commanΣ se⌠ i≤ no≈ a⌠ you≥ disposal.
  155.  
  156.                            REVAS/CP═ Specia∞ Commands
  157.  
  158.                 Thσá 'Aº anΣ 'Iº command≤ describeΣ iε thσ User'≤á Manua∞ ì
  159.         arσá no⌠ needeΣ iε thσ CP═ environment¼á anΣ havσ beeε deleteΣ iε ì
  160.         thσá CP═á versioε oµ REVAS«á Thσ 'Wº commanΣ iε thσá CP═á versioε ì
  161.         save≤á thσ curren⌠ symbo∞ table≤ oε disδ iε ß filσ nameΣá FN.TBL« ì
  162.         Thσá 'Oºá (Outpu⌠á channe∞ control⌐ commanΣá anΣá thσá 'Eºá (.EN─ ì
  163.         pseudo-op⌐ command≤ havσ beeε modifieΣ fo≥ thσ CP═ environmen⌠ t∩ ì
  164.         OPE╬á anΣá CLOS┼ thσ FN.AS═ file«á Thσ PuncΦ outpu⌠ optioε i≤á n∩ ì
  165.         longe≥ implementeΣ iε REVAS/CPM¼á sincσ tha⌠ utilit∙ i≤ availablσ ì
  166.         througΦ PIP.
  167.  
  168.         ^C        Control-C re-boots the CPM system.
  169.  
  170.         E         Insert≤ thσ pseudo-o≡ '.ENDº int∩ thσ outpu⌠ streaφ anΣ ì
  171.         ááááááááááproperl∙ close≤ thσ FN.AS═ file«á ┴ FN.AS═ filσ tha⌠ i≤ ì
  172.         ááááááááááno⌠ closeΣ witΦ thi≤ commanΣ wil∞ no⌠ contaiε thσ fina∞ ì
  173.         áááááááááárecorΣá witΦá thσá end-of-filσá marδá requireΣá b∙á thσ ì
  174.         ááááááááááEditor.
  175.  
  176.         O         Thσ ke∙ lette≥ 'Pº ha≤ beeε replaceΣ b∙ 'Aº (fo≥ .ASM)« ì
  177.         ááááááááááOtherwise¼ thσ commanΣ forma⌠ i≤ unchangeΣ froφ tha⌠ iε ì
  178.         ááááááááááthσ user'≤ manual«á Thσ commanΣ 'OPE╬ C,A@º result≤á iε ì
  179.         áááááááááánorma∞á disassembl∙á outpu⌠ a⌠ thσ consolσá anΣá label¼ ì
  180.         ááááááááááopcode¼á anΣá argumen⌠á outpu⌠ t∩ thσ (no≈á open⌐á .AS═ ì
  181.         ááááááááááfile« ┴ subsequen⌠ O├ commanΣ DOE╙ NO╘ CLOS┼ TH┼ FN.AS═ ì
  182.         ááááááááááFILE«á Filσá closurσ MUS╘ bσ accomplisheΣ witΦ thσá 'Eº ì
  183.         áááááááááácommand«á Thσá Consolσ anΣ Lis⌠ device≤ AR┼á deselecteΣ ì
  184.         ááááááááááwheεá thei≥ ke∙ letter≤ arσ ommiteΣ froφ aε 'Oº commanΣ ì
  185.         ááááááááááargumen⌠ list.
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.                                         3
  194.  
  195.  
  196.  
  197.  
  198.  
  199.         REVAS/CPM
  200.  
  201.  
  202.         W         Writσá thσá symbo∞ table≤ int∩ thσá FN.TB╠á file«á Thi≤ ì
  203.         áááááááááácommanΣ open≤ thσ file¼á write≤ t∩ it¼á theε close≤ thσ ì
  204.         ááááááááááfile«á I⌠á wil∞á no⌠á executσ iµá thσá FN.AS═á filσá i≤ ì
  205.         áááááááááácurrentl∙ open¼á anΣ wil∞ prin⌠ ß reminde≥ t∩ closσ thσ ì
  206.         áááááááááá.AS═ filσ iµ i⌠ i≤ open« Thσ commanΣ ma∙ bσ repeateΣ a≤ ì
  207.         ááááááááááofteεá a≤á yo⌡ wisΦ durinτ ß disassembly¼á s∩á yo⌡á caε ì
  208.         ááááááááááalway≤á havσá saveΣá thσ lates⌠ versioεá oµá thσá labe∞ ì
  209.         ááááááááááassignments.
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.                                         4
  260.  
  261.  
  262.  
  263.  
  264.  
  265.         REVAS/CPM
  266.  
  267.  
  268.         A <Switch>%<Input>@
  269.         ááááááááááThσá (new⌐ 'Aº commanΣ i≤ useΣ fo≥ assigninτ ne≈ value≤ ì
  270.         áááááááááát∩ thσ parameter≤ listeΣ iε thσ User'≤ manua∞ unde≥ thσ ì
  271.         ááááááááááheadinτá 'Patches'«á Thσ tablσ whicΦ follow≤ give≤á thσ ì
  272.         ááááááááááexpecteΣ Inpu⌠ fo≥ eacΦ <switch╛ value«á 'HEXº mean≤á ß ì
  273.         ááááááááááhexadecima∞ valuσ iε thσ rangσ ░ t∩ FF╗á 'CHº mean≤ an∙ ì
  274.         áááááááááákeyboarΣá character¼á includinτ lowe≥ casσ anΣá contro∞ ì
  275.         áááááááááácharacters.
  276.  
  277.  
  278.         SWITCH         INPUT          FUNCTION
  279.         0               HEX             Numbe≥á oµ null≤ t∩ senΣ afte≥á ß ì
  280.         áááááááááááááááááááááááááááááááácarriagσ return¼ linσ feeΣ t∩ thσ ì
  281.         áááááááááááááááááááááááááááááááális⌠ device.
  282.  
  283.         1               HEX             Numbe≥á oµá nul∞ t∩ senΣ afte≥á ß ì
  284.         áááááááááááááááááááááááááááááááácarriagσ return¼ linσ feeΣ t∩ thσ ì
  285.         ááááááááááááááááááááááááááááááááconsolσ o≥ puncΦ devices.
  286.  
  287.         2               HEX             Numbe≥ oµ line≤ iε thσ To≡ Margiε ì
  288.         ááááááááááááááááááááááááááááááááoµ thσ Lis⌠ devicσ page.
  289.  
  290.         3               HEX             Numbe≥á oµá line≤ iεá thσá Bottoφ ì
  291.         ááááááááááááááááááááááááááááááááMargiε oµ thσ Lis⌠ devicσ page.
  292.  
  293.         4               HEX             Numbe≥ oµ line≤ oµ tex⌠ pe≥á Lis⌠ ì
  294.         áááááááááááááááááááááááááááááááápage.
  295.  
  296.         5               AE              Righ⌠á justif∙á label≤á iεá labe∞ ì
  297.         ááááááááááááááááááááááááááááááááfield.
  298.  
  299.         5               EE              Lef⌠áá justif∙á label≤á iεá labe∞ ì
  300.         ááááááááááááááááááááááááááááááááfield.
  301.  
  302.         6               CH              Replacσá 'Sºá fo≥á thσá immediatσ ì
  303.         áááááááááááááááááááááááááááááááácommanΣá whicΦ suspend≤á printou⌠ ì
  304.         ááááááááááááááááááááááááááááááááanΣ disassembly.
  305.  
  306.         7               CH              Replacσá 'Rºá fo≥á thσá immediatσ ì
  307.         áááááááááááááááááááááááááááááááácommanΣá whicΦ return≤á t∩á REVA╙ ì
  308.         áááááááááááááááááááááááááááááááácommanΣ mode.
  309.  
  310.         8               CH              Replace≤ thσ ':º labe∞ terminator
  311.  
  312.         9               CH              Replace≤á thσá ';º commen⌠á fielΣ ì
  313.         áááááááááááááááááááááááááááááááádelimiter
  314.  
  315.         A       1 to 4 CH               Thesσáá character≤á replacσáá thσ ì
  316.         áááááááááááááááááááááááááááááááá'.BYTEºá pseudo-o≡ whicΦá define≤ ì
  317.         áááááááááááááááááááááááááááááááádatß storagσ bytes.
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.                                         5
  326.  
  327.  
  328.  
  329.  
  330.  
  331.         REVAS/CPM
  332.  
  333.  
  334.                 Thσ 'Aº commanΣ ha≤ severa∞ restrictions«á First¼ i⌠ onl∙ ì
  335.         operate≤á wheε n∩ othe≥ command≤ havσ beeεá previousl∙á executed« ì
  336.         Second¼ i⌠ onl∙ operate≤ afte≥ thσ CP═ command:
  337.  
  338.                                  REVAS REVAS.LOD
  339.  
  340.              Thσá change≤ whicΦ arσ madσ b∙ thσ 'Aº commanΣ occu≥ onl∙ iε ì
  341.         thσ cop∙ oµ REVAS.LO─ whicΦ i≤ no≈ locateΣ a⌠ thσ tpa«á Afte≥ al∞ ì
  342.         thσá change≤á havσá beeε made¼á thσ ne≈á REVAS.LO─á i≤á saveΣá b∙ ì
  343.         executinτá ßá re-boo⌠á oµ thσ CP═ systeφ (^C⌐ anΣ usinτá thσá CP═ ì
  344.         command:
  345.  
  346.                                 SAVE 20 REVAS.LOD
  347.  
  348.              REVAS¼á oε subsequen⌠ invocation¼á wil∞ contaiε thσ changes« ì
  349.         Al∞ othe≥ command≤ arσ a≤ describeΣ iε thσ REVA╙ user'≤ manual.
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.                                         6
  392.  
  393.  
  394.  
  395.  
  396.  
  397.