home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Amos / amproe2x.dms / in.adf / Compiler_Help / Compiler_Help.Txt < prev   
Encoding:
Text File  |  1993-06-16  |  36.9 KB  |  1,077 lines

  1. Main Menu
  2.  
  3. Welcome to the  AMOSPro Compiler Help  system.  Please choose one option:
  4.  
  5.                      {[IHelphelp   ,4,3]   Using the Compiler Help system      } 
  6.  
  7.                      {[IUseShell   ,4,3] The AMOSPro Compiler Shell main panel }
  8.  
  9.                      {[IAbout      ,4,3]         About AMOSPro Compiler        }           
  10.  
  11.                      {[ILatestNews ,4,3]              Latest News!             }           
  12.  
  13. Using Help
  14. Welcome to the AMOS Professional Compiler Help System.  Everything you need
  15. to  know  about  the Compiler is available from here.  So if you get stuck,
  16. help will only be a key press away!
  17.  
  18. You call up the Help by clicking on the 'Help' icon, this is always present
  19. in  the  top right hand corner of screens that have accompanying help text.
  20. When  the  Help  button  has been clicked on and is 'down' you then need to
  21. click  on  an area of the screen that you need help with.  You'll know that
  22. help is available when the mouse pointer starts to animate - this indicates
  23. you  are  over a zone which has help available.  Once you've clicked on the
  24. zone  for  help  the  Help  display  program will be loaded from disc and a
  25. screen will appear detailing the Help you requested.
  26.  
  27. If  the Help text is longer than the Help window you can move through it by
  28. pressing  the Up and Down arrow keys on your keyboard or by clicking on the
  29. arrow  icons  locate  at the top right of the Help window.  To move through
  30. the  text  quicker,  just  drag  the  slider bar on the right border of the
  31. window.
  32.  
  33. Across the top of the Help window there are four icons:
  34.  
  35. 1 The X icon closes the help window and returns you to the Compiler Shell.
  36.  
  37. 2 Prev.Page reverts you back to the help screen you had just been viewing.
  38.  
  39. 3 Main Menu takes you to the main help menu which offers a full list of the
  40.   available help topics.
  41.  
  42. 4 Print creates a hardcopy of the current help screen onto a printer for
  43.   future reference.
  44.  
  45.  
  46. About AMOSPro Compiler
  47.  
  48. The AMOSPro Compiler has been made possible by:
  49.  
  50.     Project Manager:         Richard Vanner
  51.     Main design & programming:    François Lionet
  52.     Shell design & programming:    Jean-Baptiste Bolcato
  53.     Examples by:            Jean-Baptiste / Syntex / François
  54.     Help file & Documentation:    Stephen Hill
  55.     Graphics:            Jean-Baptiste
  56.                     Nick Harper
  57.  
  58.     Production:            Richard Peacock
  59.     Marketing:            Alexa Czechowski
  60.                     Anna Donaldson
  61.                     Johnathon Leas
  62.  
  63.  
  64.         (c) Europress Software Ltd 1993
  65.         Europa House
  66.         Adlington Park
  67.         Macclesfield
  68.         Cheshire
  69.         SK10 4NP
  70.         England
  71.  
  72. Latest News about AMOSPro Compiler!
  73.  
  74.          {[INewCommand   ,4,3]            New command-line commands         }
  75.                  {[IFuture       ,4,3]              The   future  updates           }
  76.                  {[IFrenchGreets1,4,3]            A French greeting list - 1        }
  77.                  {[IFrenchGreets2,4,3]            A French greeting list - 2        }
  78.  
  79.  
  80. A short while after the manual was gone to the printer, we have added a few
  81. commands to the compiler command line.
  82.  
  83. These  new  instructions were designed mainly for debugging purpose, but we
  84. thought they could be really usefull to you, so we left them in!
  85.  
  86.  
  87. Option:    NUMBERS
  88.  
  89. Very usefull option to locate an error in a compiled program.
  90.  
  91. This  option forces the compiler to include the source program line numbers
  92. in  the  object  code.   It  will  automatically  include as well the error
  93. messages  in the code.  So, if an error occurs in your compiled program, it
  94. will return the error like this:
  95.  
  96. Illegal function call at line XXX
  97.  
  98. XXX being the line n the source program, with ALL PROCEDURES OPENED.
  99.  
  100. Warning, this options has some severe drawbacks:
  101.  
  102. -  The source program _must_ be loaded all at once in memory to be compiled
  103. (to  count  the  lines):   you must therefore have enough memory to compile
  104. like this,
  105.  
  106. - Each line number will increase the length of the object code by 4 bytes,
  107.  
  108. - The program will be a tiny tiny bit slower.
  109.  
  110.  
  111. Option: BIG
  112.  
  113. This  compiler estimate the size of its internal buffers from the number of
  114. lines of the source program.
  115.  
  116. We  have  tested  the process with over 1000 programs, and for all of them,
  117. each buffer had a reasonable security edge (half of the buffer).
  118.  
  119. But  one never knows.  There might be a very very special program with only
  120. strings, or only labels or...  whoever knows.
  121.  
  122. The  BIG  option  multiplie  by  FOUR the size of the estimated buffers.  A
  123. difficult program should compile without any problem.
  124.  
  125. So,  if  the  compiler  crashes  when  compiling  your program, try the BIG
  126. option.  We never needed this option.
  127.  
  128. Drawback:
  129.  
  130. - Eat a lot of ram
  131.  
  132.  
  133. Option: DEBUG=1
  134.  
  135. Another good debugging option.
  136.  
  137. With this option, the compiler outputs to the current CLI the number of the
  138. line being executed by the compiled program.
  139.  
  140. Of  course,  it only works if the program has been launched from a CLI, and
  141. it slows down the program a maximum!
  142.  
  143. The output has the form:
  144.  
  145. (1000)(1001)(1005) etc...
  146.  
  147. The compiler does not include lines with REMs.
  148.  
  149. Drawbacks:
  150.  
  151. - Source in ram,
  152. - Code increase by 8 bytes by line,
  153. - Very slow on execution (as CLI scrolling speed is disatrous)
  154.  
  155. Note: DEBUG=2 or over will not work. One option ONE is implemented!
  156.  
  157.  
  158.  
  159. Future updates of AMOSPro Compiler
  160.  
  161. As for AMOSPro Interpreter, the AMOSPro compiler will constantly be
  162. updated in the future. Please report to us any remarks, or compiling 
  163. problems. We will read and take note of all your remarks, and if possible
  164. modify our product from your suggestions.
  165.  
  166. In case of compiling problems, before reporting it to us, please check
  167. carefully that your compiled program run in exactly the same configuration
  168. than you interpreted program. A badly setup boot disc often cause a compiled
  169. program to break, if it cannot find a library for example.
  170. The use the Boot Disc Maker to create bootable disc will ensure that all
  171. the necessary files are present on the disc.
  172.  
  173. If you are sure that a problem comes from the compiler, then make a full
  174. report on the problem:
  175.  
  176. - Configuration,
  177. - What to do to have the problem,
  178. - When does it happen,
  179.  
  180. And most important, send the source program, with all the necessary data,
  181. so that we can test it.
  182.  
  183.  
  184.  
  185. A French Greetings list by François LIONET!
  186.  
  187. Haha!   Best part of the development:  the greeting list.  Here we go for a
  188. little bit of Français maintenant!
  189.  
  190. Or donc, merci merci à:
  191.  
  192. -  Jean  Baptiste  Bocalto:  deux mois de travail avec moi pour le dégouter
  193. totalement du métier de programmeur!
  194.  
  195. - Carine, ma tendre épouse, qui de toutes façons ne lira jamais ce greeting
  196. (vu qu'elle est ne comprend ab-so-lu-ment rien aux ordinateurs)
  197.  
  198. - Christophe, qui ne sait pas encore lire,
  199.  
  200. -  Yves,  ca  y  est, maintenant pour de vrai, c'est fini (ça fait un an et
  201. trois mois que je lui dis que c'est fini dans deux mois!)
  202.  
  203. - Philippe, Denis zé Bernard, vive le KAF, vive ART vive le CTV!
  204.  
  205. - Hélène, Fabrice et Julien (tout neuf!)
  206.  
  207. - Daisy pour sa présence fidèle et humide,
  208.  
  209. -  Et pis bon, tout les gens que je connais, en m'excusant pour a) répondre
  210. aux lettres avec trois mois de retard, b) mettre mon répondeur les jours de
  211. stress, c) vous ennuyer avec des greetings qui n'en finissent pas.
  212.  
  213. Justement, c'est fini. Atchaooo!
  214.  
  215.  
  216. PS: Daisy, c'est mon chien, slurp, slurp (pas de malentendus hein?!)
  217.  
  218.  
  219. A French Greetings list by Jean-Baptiste BOLCATO!
  220.  
  221.  
  222. I  want  to  thank a lot of people, in French!  (so, please jump again onto
  223. your dictionary...)
  224.  
  225. - Francois LIONET (Beuh, Qui c'est çuilà?!)
  226.  
  227. - Franck 'FNACguy/ImagineBoy', Alexandre 'Mr KEEL', Denis 'BASIC INSTINCT',
  228. Fred 'A4000' Picos, Piegouse 'A1200'...
  229.  
  230. -   Doctor   'G5'   BERARD,  tous  les  crapauds  de  Mulhouse:   (Achille,
  231. Wermelinger, Henocq, Ducque, le Bpers et tous les autres!)
  232.  
  233. -    Jean-Yves    'SLAPPY',   Antoine   'Challenger   Grosbidou',   Pierrot
  234. 'PowerBourse!',   Laurent   'BLAISE',  Marianne  'KUNGFU'  (love!)  ,  Greg
  235. 'VaudouMan' et tous les ex et futurs IMAC avengers...
  236.  
  237. - Maman, Papa, Zoé, Mammie, Pépé, Tonton, Tata, Stop!!! 
  238.  
  239. - et tous ceux que j'ai (in)volontorairement oublié... 
  240.  
  241.  
  242. The AMOSPro Compiler-Shell
  243.  
  244. The  main  screen  of  the AMOSPro Compiler Shell contains the main options
  245. which enable you to compile your programs quickly and easily.
  246.  
  247. It's  very easy to select the source, destination and type of your compiled
  248. program and then start the compilation process.
  249.  
  250.             {[IMain_Source    ,4,3]            Source            }
  251.             {[IMain_Dest      ,4,3]          Destination         }
  252.             {[IMain_Type      ,4,3]             Type             }
  253.  
  254.             {[IMain_Compile   ,4,3]           COMPILE!           }
  255.  
  256.             {[IMain_Setup     ,4,3]            Set-Up            }        
  257.  
  258.  
  259. Setup Options button
  260.  
  261. This button takes you to the main setup panel.
  262.  
  263.                         {[IMain_Setup,4,3] View Main Setup panel help }
  264.  
  265.  
  266.  
  267. AMOSPro Compiler main setup panel
  268.  
  269. From  this  panel you can tailor the Compiler exactly to your requirements.
  270. You are able to fine tune the available settings and save these changes out
  271. as  defaults.   So  every time you load the Compiler it will be set up just
  272. how you like it.
  273.  
  274.  
  275.                        {[ISetUp1           ,4,3]      Compiled program Setup     }
  276.                        {[ISetUp2           ,4,3]       Compiler Shell Setup      }
  277.                        {[ISetUp3           ,4,3]      Compiler System Setup      }
  278.  
  279.                        {[ISetUp_LoadConfig ,4,3]           Load Config           }
  280.                        {[ISetUp_Saveconfig ,4,3]           Save Config           }
  281.                        {[ISetUp_Savedefault,4,3]         Save As Default         }
  282.  
  283.  
  284.  
  285. Quit
  286.  
  287. Click  on this icon to end using the Compiler.  A requester will ask you to
  288. confirm your actions.
  289.  
  290.  
  291. Source
  292.  
  293. By  continuously clicking on this icon you will reveal the available source
  294. options that you can use for compiling:
  295.  
  296. Current Program:  This will only be available to AMOS Pro users calling the
  297. Shell  from  the  Editor.   The  source  program to be compiled will be the
  298. program  in  the  current  window  that was active when the user called the
  299. Shell.
  300.  
  301. Disk:   The source program to be compiled can be any AMOS program (or Ascii
  302. file)  located  on  a disk.  When you select COMPILE!  a file selector will
  303. allow you to choose the source file you wish to compile.
  304.  
  305. List of progs:  When you click on COMPILE!  with this option set as source,
  306. the  {[IEditList,4,3]'List  of  programs' Editor} will appear.  This allows
  307. you  to create a list of files which are to be Compiled in one whole batch.
  308. We call this the Auto-Compile option.
  309.  
  310.  
  311. Destination
  312.  
  313. Clicking  on  this  toggle  button  will  reveal  the available destination
  314. options that you can use.
  315.  
  316. Editor  Window:  This is only availble to AMOS Pro users who call the Shell
  317. from  their  Editor.   The  compiled file will be saved into a new AMOS Pro
  318. program window.
  319.  
  320. Disk:  This allows you to save the final compiled program to disk and state
  321. exactly  what  it's to be called and where it will be saved.  Upon clicking
  322. on  COMPILE!   and selecting a source file, a file selector will ask you to
  323. enter  the  name  of  the  destination file.  If you don't enter a name the
  324. Shell  will  create  a  default  name,  it  does this by removing the .AMOS
  325. extension  off  the  source  file  and  using  the  ramining  name  as  the
  326. destination filename.
  327.  
  328. If you are compiling a list of programs then all destination filenames will
  329. be given default names.
  330.  
  331.  
  332. The Type of Destination Compiled file
  333.  
  334. The type of file you want the Compiled file to be is set here.
  335.  
  336. AMOS  Compiled:   If  this  option is set your compiled program can ONLY be
  337. loaded  into  AMOS  Pro.   The  program code is all stored in one procedure
  338. which  is  called  when  the program is run.  This type of Compiled program
  339. allows  you to develop all your work in AMOS Pro until your happy to create
  340. a completed CLI or Workbench program.
  341.  
  342. CLI exec:  The resulting destination file will be a CLI executable program.
  343. Optional  parameters (Send to back and CLI detachable) which effect the way
  344. a CLI program behaves, can be set from the Set up panel.
  345.  
  346. WB exec:  A compiled program created in this format will have an additional
  347. .info  icon  file saved along side it, allowing you to run it directly from
  348. the Workbench screen.
  349.  
  350. Other    parameters    can   affect   the   destination   file,   See   the
  351. {[IMain_SetUp,4,3]Setup} panels for more information.
  352.  
  353.  
  354. COMPILE!
  355.  
  356. This button starts the compilation process.  Once you press it a variety of
  357. things can happen:
  358.  
  359. * If you  are compiling  to  and  from  disk, file  selectors  will  appear
  360.   requesting  the filenames  and  locations  of the  source and destination
  361.   files.
  362.  
  363. * Compiling from   a list of files  will result in  the  appearance of  the
  364.   {[IEditList,4,3]'List of programs' Editor}.
  365.  
  366. * AMOS Pro users who are compiling too and from Editor windows will see the
  367.   compilation at once.
  368.  
  369. When  the Compiler knows where to find the file to be Compiled and where to
  370. place  the final destination file it starts its real work.  If music and/or
  371. an  IFF  animation  have  been  selected, they will be called up during the
  372. Compiling process.
  373.  
  374. If  no  errors occur the compiled program will be saved as the type of file
  375. you  selected and given the parameters set up in the {[ISetUp1,4,3]Compiled program SetUp}
  376. panel.
  377.  
  378.  
  379. Cancel
  380.  
  381. Changes made to a panel will be cancelled if this  button is clicked on. In
  382. other words it Undoes any selections you have made and quits the panel.
  383.  
  384.  
  385. Use
  386.  
  387. Selecting  this  confirms you are happy with all your Setup Options and you
  388. want to use them during this current compiling session.
  389.  
  390.  
  391. Ok
  392.  
  393. The  Ok  Buttons  confirm  changes made to individual panels.  After you've
  394. clicked  on  OK  you're  taken back to the panel that originally called the
  395. panel containing the OK button.
  396.  
  397.  
  398. List of programs Editor
  399.  
  400. If  you  have  selected  'List  of  progs' as the source option in the main
  401. Compiler  Shell window, this screen will appear after you click on COMPILE!
  402. It  allows  you  to  set up a list of files that you want to Compile in one
  403. whole batch.
  404.  
  405. You can click on several buttons: {[IEdList_AddPrg,4,3]Add prog}, {[IEdList_AddDir,4,3]Add Directory},  {[IEdlist_DelPrg,4,3]Delete prog} or
  406. {[IEdList_DelAll,4,3]Delete All}. You can also directly click on the {[IEdList_Window,4,3]list} of files.
  407.  
  408.  
  409. After  clicking  OK,  the  compilation  of the list of programs will begin.
  410. Once by one they will be compiled until the last in the list is done.
  411.  
  412. The   Compilation   can  be  aborted  by  pressing  the  'Esc'  key  during
  413. compilation.   A  requester  will  then  ask  you  if  you want to Abort or
  414. Continue the rest of the files.
  415.  
  416. This  mode  also  uses the animation and music options which are located in
  417. the Compiler Shell Setup panel.
  418.  
  419.  
  420. Add a program to the List
  421.  
  422. Click  on this and a  file selector will appear.  From  the  selector choose
  423. a  .AMOS file  you wish to add to the compilation list. The file will now be
  424. shown in the list.
  425.  
  426.                         {[IEditList,4,3] Back to Edit List main menu }
  427.  
  428.  
  429.  
  430. Add a Directory to the List
  431.  
  432. This  button gives you the power to select a whole directory of .AMOS files
  433. for  compilation.   After  you  click  on  the  button a file selector will
  434. appear, from this select a single .AMOS program from the directory you wish
  435. to add all the files from and the Shell will add them to the list.
  436.  
  437. If a program already exists in the list it will not be double entered.
  438.  
  439.  
  440.                         {[IEditList,4,3] Back to Edit List main menu }
  441.  
  442.  
  443. Delete a Program from the List
  444.  
  445. You can remove a file from the list by clicking on the filename in the list
  446. and then selecting this button.
  447.  
  448.  
  449.                         {[IEditList,4,3] Back to Edit List main menu }
  450.  
  451.  
  452. Delete All the List
  453.  
  454. All  files  in the list are removed if you click on this button and confirm
  455. your actions in the additional requester.
  456.  
  457.                         {[IEditList,4,3] Back to Edit List main menu }
  458.  
  459. The List of programs window
  460.  
  461. The  files  listed  in  this  screen  area can be highlighted individually.
  462. Click on  a filename and  it will become  highlighted.  You can then select
  463. Del Prog to remove it form the list.
  464.  
  465. The  slider  bar  to the left of this window is to view more files than the
  466. window can display.
  467.  
  468.                         {[IEditList,4,3] Back to Edit List main menu }
  469.  
  470.  
  471. Next Panel Button
  472.  
  473. You can move to the next panel by clicking on this button.
  474.  
  475.                           {[IMain_SetUp,4,3] Back to Setup main menu }
  476.  
  477.  
  478. Compiled Program - Setup 1
  479.  
  480. The way  a  program  is compiled  can be  set by entering  this part of the
  481. shell.   So  click  on this button and you'll have the options displayed to
  482. you.
  483.  
  484.  
  485.                           {[ISetup1    ,4,3] Compiled program setup 1 }
  486.  
  487.                           {[IMain_SetUp,4,3] Back to Setup main menu  }
  488.  
  489.  
  490. Compiled program Setup panel 1
  491.  
  492. Here  you  can  set  the  available  options that affect the way a compiled
  493. program works.
  494.  
  495.  
  496.                      {[ISUp1_errmess   ,4,3]       Include error messages?         }
  497.                      {[ISUp1_defscr    ,4,3]        Create default screen?         }
  498.                      {[ISUp1_backboot  ,4,3]    Send AMOS to back upon booting?    }
  499.                      {[ISUp1_CLIrun    ,4,3] CLI program to run in the background? }
  500.                      {[ISetup12        ,4,3]              Next Panel               }
  501.  
  502.                      {[IMain_SetUp     ,4,3]       Back to Setup main menu         }
  503.  
  504.  
  505. Compiled program Setup panel 2
  506.  
  507. The  second  panel  holds  the remaining options for affecting the compiled
  508. program's outcome.
  509.  
  510.                      {[ISup1_LongJump  ,4,3]          Long forward jumps?          }
  511.                      {[ISup1_AMOSlib   ,4,3]         Include AMOS.library?         }
  512.                      {[ISetup1         ,4,3]               Next Panel              }
  513.  
  514.                      {[IMain_SetUp     ,4,3]        Back to Setup main menu        }
  515.  
  516.  
  517. Include Error messages?
  518.  
  519. Setting  this option to 'YES' allows you to combine the AMOS error messages
  520. into the compiled program.  This increases the size of the compiled program
  521. by 4K.
  522.  
  523. It's  best  to  keep  your  error  messages  in during the development of a
  524. creation,  otherwise  you  wouldn't  have  a clue as to why a program might
  525. error out.
  526.  
  527.                      {[ISetUp1  ,4,3] Back to Compiled program Setup menu }
  528.  
  529.  
  530. Create default screen?
  531.  
  532. Set  to  'YES', your compiled program will boot and open the normal default
  533. screen.   If  you set it to 'NO' ensure that your program opens up a screen
  534. before using any screen commands - if you don't your program will error out
  535. with a 'SCREEN NOT OPENED' error.
  536.  
  537.                      {[ISetUp1  ,4,3] Back to Compiled program Setup menu }
  538.  
  539.  
  540. Send AMOS to back upon booting?
  541.  
  542. You  can  choose to have your AMOS program load up and not display anything
  543. to  the  screen.   So  the Workbench will still be on view even though your
  544. program  is  running in the background.  If the program executes an AMOS TO
  545. FRONT command or the user types Aniga+'A' (or custom) then the AMOS program
  546. will take over the display.
  547.  
  548. Use  this  option  when  you  want  your application to create it's startup
  549. screen and flip cleaning to it.
  550.  
  551.  
  552.                      {[ISetUp1  ,4,3] Back to Compiled program Setup menu }
  553.  
  554.  
  555. CLI programs to run in the background?
  556.  
  557. Setting  this  option  to 'YES' allows programs compiled as CLI type can be
  558. executed  from  the  CLI and detach themseleves from it.  So the CLI prompt
  559. will  become  free  once  the  compiled  program  is up and running.  It is
  560. similar to the AmigaDos 'Run' command.
  561.  
  562.                      {[ISetUp1  ,4,3] Back to Compiled program Setup menu }
  563.  
  564.  
  565. Long Forward Jumps
  566.  
  567. Some  programs  can  cause  the  comiler  a  little  trouble.  This type of
  568. scenario  would  occur for example when the differnce between an IF command
  569. and it's corresponding ELSE is greater than 32K.
  570.  
  571. As  standard the compiler uses special faster instructions to jump around a
  572. program  but these commands are limited to a range of 32K.  If your program
  573. has structures which exceed this limit they will fail to compile.  It's not
  574. possible  for  the compiler to just select the right type of jump it has to
  575. be recompiled using long jumps from the start.
  576.  
  577. The golden rule is to use this feature if you receive the error message:
  578.  
  579.      "Structure too long, compile with the LONG option."
  580.  
  581.                      {[ISetUp1  ,4,3] Back to Compiled program Setup menu }
  582.  
  583.  
  584. Include the AMOS.library in the compiled program?
  585.  
  586. This option has an affect on a program when compiling the program as either
  587. CLI or Workbench types.
  588.  
  589. When  compiled  set to 'NO' the compiled program will load the AMOS.library
  590. from  disc (usually resident in the Libs:  drawer).  Having this option set
  591. is  very beneficial, it allows you to have a number of compiled programs on
  592. a disc and only one copy of the 40K library.
  593.  
  594. If  it's  set  to  'NO'  the Compiler will merge the AMOS.library with your
  595. compiled program.  Although this adds 40K to every compiled program it does
  596. mean  that  if  you release your creation, you'll be sure your program will
  597. have  the  most up-to-date library and not be accessing an old library when
  598. running  on  someone  elses  machine.  In effect it makes the program fully
  599. stand-alone.
  600.  
  601.                           {[ISetUp1  ,4,3] Back to Compiled program Setup menu }
  602.  
  603.  
  604. Compiler Shell Setup button
  605.  
  606. This button takes you to the Compiler Shell Setup panel.  From here you can
  607. alter all shell settings.
  608.  
  609.                           {[ISetup2    ,4,3] The Compiler Shell Setup }
  610.  
  611.                           {[IMain_SetUp,4,3] Back to Setup main menu  }
  612.  
  613.  
  614. Compiler Shell Setup 1
  615.  
  616. The  Shell can be tailored exactly to your needs.  Speed the compiler up to
  617. amazing  performance timings by copying files to the ramdisc and squash the
  618. final output with the latest powerpacker library.
  619.  
  620. Beware that these commands will require lots of memory.
  621.  
  622.  
  623.                     {[ISUp2_copylib ,4,3]     Copy all libraries into Ramdisk?     }
  624.                     {[ISUp2_leavelib,4,3] Leave libraries on Ramdisk upon Exiting? }
  625.                     {[ISUp2_APcmpram,4,3] Keep compiler APcmp in Ram upon Exiting? }
  626.                     {[ISUp2_squash  ,4,3]          Squash compiled program?        }
  627.  
  628.                     {[ISetup22      ,4,3]                 Next Panel               }
  629.  
  630.                     {[IMain_SetUp   ,4,3]          Back to Setup main menu         }
  631.  
  632. Compiler Shell Setup 2
  633.  
  634. This  panel  of  options  are fun items!  To make compiling a more exciting
  635. sport  we've  included  animation  and  music  entertainment.  You can also
  636. remove  those  annoying animated buttons on the main screen of the shell if
  637. you  like - or do you like them?  Whatever your desires the options in this
  638. menu are here to make your compiling life a little easier to bare.
  639.  
  640. Remember  that  memory  will  be  eaten  up  by anims and music so don't be
  641. surprised if you receive an out of memory error.
  642.  
  643.  
  644.                     {[ISup2_iffanim ,4,3]    Play IFF animation while Compiling?   }
  645.                     {[ISup2_tracker ,4,3]   Play Tracker Module while Compiling?   }
  646.                     {[ISup2_warnbell,4,3]            Warn with Bell sound?         }
  647.                     {[ISup2_animbutt,4,3]   Animated Buttons when under pointer?   }
  648.  
  649.                     {[ISetup2       ,4,3]                  Next Panel              }
  650.  
  651.                     {[IMain_SetUp   ,4,3]           Back to Setup main menu        }
  652.  
  653.  
  654. Copy all libraries into Ramdisk?
  655.  
  656. With  this  option,  you  can  choose to load all libraries into Ram before
  657. compiling.  This is great for speeding up the compilation.  But you'll need
  658. a lot of Ram!
  659.  
  660.                       {[ISetUp2  ,4,3] Back to Compiler Shell Setup menu }
  661.  
  662.  
  663. Leave libraries on Ramdisk upon exiting?
  664.  
  665. Set  this  to 'YES' and the compiler will keep all its libraries on the Ram
  666. disc once it has finished compiling its first file of the session.  This is
  667. highly  useful  to  AMOSPro  users  who can come in and out of the Compiler
  668. Shell from their Editor.
  669.  
  670. It  means  that  next  time  the  Compiler  is used, the initialisation and
  671. loading of necessary data will be much faster with subsequent compilations.
  672.  
  673. The only draw back is that it eats memory!
  674.  
  675. Also  ensure  that  the option 'Copy All Libraries into Ramdisk?' is set to
  676. Yes.
  677.  
  678.  
  679.                       {[ISetUp2  ,4,3] Back to Compiler Shell Setup menu }
  680.  
  681.  
  682. Keep Compiler APcmp into Ramdisk upon exiting?
  683.  
  684. The actual compiler code (APcmp) will be left on the Ramdisc if this option
  685. is  set  to 'YES'.  The next time the compiler is used it will access APcmp
  686. from the Ramdisc saving time.
  687.  
  688. This option eats up memory so be careful.
  689.  
  690. Also  ensure  that  the option 'Copy All Libraries into Ramdisk?' is set to
  691. Yes.
  692.  
  693.  
  694.                       {[ISetUp2  ,4,3] Back to Compiler Shell Setup menu }
  695.  
  696.  
  697. Squash compiled program?
  698.  
  699. Once  a  program has been compiled it can be squashed down in size.  If you
  700. set  this  option  to  'YES'  it  will  be processed automatically once the
  701. compilation has been completed.
  702.  
  703. You'll find that the resulting program will be significantly shorter.
  704.  
  705. Only Workbench and CLI files can be squashed.
  706.  
  707.  
  708.                       {[ISetUp2  ,4,3] Back to Compiler Shell Setup menu }
  709.  
  710.  
  711. Play IFF animation while compiling?
  712.  
  713. Set  up  this  option  to  'YES'  and  you can play an IFF animation during
  714. compilation.
  715.  
  716. You  can  assign  any  IFF 'anim5' file type by clicking on the little disk
  717. icon  located  just  below  the  YES/NO button.  It is only active when the
  718. option is set to 'YES'.  The option requires ram:
  719.  
  720.  * The size of your animation file (FAST RAM).
  721.  
  722.  * The size of the screen opened to play the animation file (CHIP RAM).
  723.  
  724.                       {[ISetUp2  ,4,3] Back to Compiler Shell Setup menu }
  725.  
  726.  
  727. Play tracker module while compiling?
  728.  
  729. Fancy  some  hard  Rock  or  soothing  piano  music  during the compilation
  730. process?   Just  find  a  music module of your liking and assign it to this
  731. option.
  732.  
  733. You  can load any tracker module, AMOS music, Iff sample, MED music (if the
  734. MED.library  is  in  your  Libs:  folder).  Simply click on the little disk
  735. icon  available  only when the option is set to 'YES'.
  736. The option requires ram:
  737.  
  738.  * The size of your module (CHIP RAM)
  739.  
  740.                       {[ISetUp2  ,4,3] Back to Compiler Shell Setup menu }
  741.  
  742.  
  743. Warn with a Bell sound?
  744.  
  745. With  this  option  you  can  play  a  Bell  sound  when the compilation is
  746. finished.   It  will  not be activated if you play a Tracker or MED module.
  747. It's useful for when you compile a huge program or batch of files - you can
  748. do something else while the compiler is hard at work.
  749.  
  750.                       {[ISetUp2  ,4,3] Back to Compiler Shell Setup menu }
  751.  
  752.  
  753. Animated buttons when under pointer?
  754.  
  755. If you like animated buttons when the mouse pointer moves over their active
  756. zone  area then set this option to 'YES', otherwise do like me and set them
  757. to 'NO' - the choice is yours!  This option requires a little ram:
  758.  
  759.  * 12K of FAST RAM to store the different frames.
  760.  
  761.                       {[ISetUp2  ,4,3] Back to Compiler Shell Setup menu }
  762.  
  763.  
  764. Compiler System Setup Button
  765.  
  766. This  button  takes  you  to the Compiler System Setup panel.  Here you can
  767. modify many of the internal filenames used by the compiler.
  768.  
  769. This  is  only  recommended for advanced users who fully understand how the
  770. compiler works.
  771.  
  772.                       {[ISetUp3  ,4,3] The Compiler System Setup panel }
  773.  
  774.                          {[IMain_SetUp,4,3] Back to Setup main menu }
  775.  
  776.  
  777. Compiler System Setup panel (Expert Users only)
  778.  
  779. Here  you can modify the default settings of the APcmp compiler and all the
  780. its system messages and directories.
  781.  
  782.                         {[ISUp3_defcom   ,4,3]     Default Command Line    }
  783.                         {[ISUp3_gosysfile,4,3]    Compiler system files    }
  784.                         {[ISUp3_gocmpmess,4,3]    CLI compiler messages    }
  785.                         {[ISUp3_gocmperr ,4,3]   Compiler Error Messages   }
  786.  
  787.                         {[IMain_SetUp    ,4,3]   Back to Setup main menu   }
  788.  
  789.  
  790. Default Command Line Editor
  791.  
  792. APcmp  has it's own default CLI command line.  Selecting this button allows
  793. you to view the command line and edit it to your own needs.
  794.  
  795. The default command line is only used compiling takes place from the CLI or
  796. from  AMOSPro Direct mode with the 'COMPILE' instruction.  It has no affect
  797. if you compile with the compiler shell, this is because the settings of the
  798. compiler shell over-ride the settings of the default command line.
  799.  
  800. Please refer to your manual for more information on the available options.
  801.  
  802.                      {[ISetUp3  ,4,3] Back to Compiler System Setup menu }
  803.  
  804.  
  805. Compiler System files Editor
  806.  
  807. Clicking on this button brings up a selector box, inside of which is listed
  808. all  the Compiler System files and paths.  Simply click on the filename you
  809. want to alter and edit the text in the resulting edit box.
  810.  
  811. Ensure you know what you are doing!
  812.  
  813.                      {[ISUp3_sysfile ,4,3] The compiler system files in detail }
  814.  
  815.                      {[ISetUp3       ,4,3] Back to Compiler System Setup menu  }
  816.  
  817.  
  818. The compiler system files
  819.  
  820. This  list  of filenames hold all the important information required by the
  821. compiler  to  do  its  job  of  compiling.  Each file is very important and
  822. shouldn't be modified unless you know exactly what you are doing.  Improper
  823. setting will probably cause compilation errors.
  824.  
  825. If  the  worst  came  to  the worst, you would have to restore the compiler
  826. configuration to its original state by loading up the file:
  827.  
  828.  "AMOSPro_Compiler:Default_Config/AMOSPro_Compiler_Config"
  829.  
  830. using the "Load Config" option in the Compiler Shell Main Setup panel.
  831.  
  832.  
  833. Here's a description of each files significance.
  834.         
  835. 1 - Default Compiler configuration file.
  836.  
  837. Default filename: S:AMOSPro_Interpreter_Config.
  838.  
  839. This  string  holds  the path and filename of the Interpreter configuration
  840. file.   The compiler needs this file to extract important settings like the
  841. number of bobs, the default screen definition etc.
  842.  
  843. You must be very careful should you change it.
  844.  
  845.  
  846. 2 - Main Compiler routines.
  847.  
  848. Default filename: "Compiler.Lib"
  849.  
  850.  
  851. This  string  contains  the  name  of  the  compiler routine library.  This
  852. library  contains  all  the functions that cannot be compiled together with
  853. the  routines  used  by  the  interpreter.  These include commands like the
  854. loops, branches and the tests etc.  You shouldn't change it, unless you get
  855. new  libraries which perform special tasks.  In this case all the necessary
  856. information would be given with the library.
  857.  
  858.  
  859. 3 - AMOS.library name.
  860.  
  861. Default filename: "amos.library"
  862.  
  863. This  filename  points  to  the system library which holds all the code for
  864. screen manipulation.  The filename will only be required by the compiler if
  865. you choose to merge the AMOS.Library with your compiled program.
  866.  
  867.  
  868. 4 - Name of the CLI header
  869.  
  870. Default filename:  "Header_CLI.Lib"
  871.  
  872. This  string  points  to  a file within your APSystem folder.  This file is
  873. used  as  a  header  for  files  compiled  as CLI type.  The header is 100%
  874. machine language and performs all the necessary operations to initialise an
  875. AMOSPro Compiled program.
  876.  
  877.  
  878. 5- Name of the CLI header with 'backstart' option.
  879.  
  880. Default filename:  "Header_Backstart.Lib"
  881.  
  882. This  string  points  to  a file within your APSystem folder.  This file is
  883. used  as  a  header for files compiled as CLI and have the option to run in
  884. the  background  enabled.  The header is 100% machine language and performs
  885. all  the necessary operations to initialise an AMOSPro Compiled program and
  886. return to the CLI while the program continues to run.
  887.  
  888.  
  889. 6- Name of the AMOS header.
  890.  
  891. Default filename:  "Header_AMOS.AMOS"
  892.  
  893. This  string  points  to  a file within your APSystem folder.  This file is
  894. used  as a header for files compiled as AMOS Type.  In fact, this file is a
  895. small AMOSPro program with a SET BUFFER command and a closed procedure.  If
  896. you  so  wish,  you  can  modify  this  program  by  adding  whatever  code
  897. (preferably remarks) before the _COMPILED procedure.  In no case should you
  898. remove the 'SET BUFFER' or the _COMPILED procedure.
  899.  
  900.  
  901. 7- Name of the default icon.
  902.  
  903. Default filename:  "Def_Compiled"
  904.  
  905. This  name  points to a file within your APSystem folder.  This file is the
  906. icon  saved along with your Compiled program when the option "To Workbench"
  907. is selected.  The icon is just a normal Amigados ".info" file.  You can add
  908. as  many icons as you like into your APSystem folder and change this string
  909. to point to the one you'd like to use each time you compile.
  910.  
  911.  
  912. 8- Temporary files pathname
  913.  
  914. Default filename:  "Ram:"
  915.  
  916. This  name  is  an  optional  pathname used to store temporary files during
  917. compilation.   Work  files  that will be saved, loaded and erased from this
  918. path include:
  919.  
  920.  * Tokenised programs when compiling Ascii files
  921.  * Compiled programs when AMOS Pro users compile programs directly to and
  922.    from the Editor using the Shell.
  923.  
  924. All the temporary files are deleted after they've served their use.
  925.  
  926. It's best if you specify a fast device such as the ram-disc or a hard-disc.
  927.  
  928.  
  929. 9 - Temporary program pathname
  930.  
  931. Default filename:  Ram:Temp_Program.AMOS
  932.  
  933. When  Compiling  from the current editor window in either the Compiler Shell
  934. or  with  Tiny  Shell,  the  compiler saves out a temporary program during
  935. compilation, and deletes it when finished.
  936.  
  937. This  string  holds  the name and path of this program.  If you are short of
  938. memory, you can change this string to point to your Hard-disc or even floppy
  939. drive.   Doing  this  will  ensure you can use the facility of compiling the
  940. current program from the editor, even on a small machine.
  941.  
  942.  
  943. 10- Temporary compiled program pathname
  944.  
  945. Default filename: Ram:Compiled_Program.AMOS
  946.  
  947. A temporary file will be created if you compile to an AMOS Pro editor
  948. window from the Shell or Tiny Compilers.
  949.   
  950. As  with  string  9,  you  can  save  ram  by  changing the pathname to your
  951. hard-disc or even floppy drive.
  952.  
  953.  
  954.                      {[ISetUp3  ,4,3] Back to Compiler System Setup menu }
  955.  
  956.  
  957. CLI compiler messages Editor
  958.  
  959. By clicking on the CLI Compiler messages button you'll enter a dialogue box
  960. which  lists  them  all..  Click on the one you want to modify and then you
  961. can edit the string.
  962.  
  963.                      {[ISUP3_cmpmess ,4,3] The CLI compiler messages in detail }
  964.  
  965.                      {[ISetUp3  ,4,3] Back to Compiler System Setup menu  }
  966.  
  967. The CLI compiler messages in detail
  968.  
  969. When  you  call the compiler from the CLI (by using the command "APCmp") or
  970. when you compile from direct mode (by using the "COMPILE" instruction), the
  971. AMOSpro  Compiler  outputs  different  messages to keep you informed on the
  972. compiling process.
  973.  
  974. These  messages can be altered without any worry of upsetting the compiler.
  975. So  if  you feel the need to customise the compiler's progress reports then
  976. be our guest.
  977.  
  978. If  you  enter  an empty string it won't be printed at all.  This means you
  979. can create a quiet compiler if you wish.
  980.  
  981. 1 - 4 Title strings.
  982. These  four  strings  are  printed  whenever  you  call  APCmp and echo the
  983. Compiler's credits.
  984.  
  985. 5 - Tokenising program.
  986. If  the  program  is  an  ascii file, APCmp will print this file before the
  987. tokenisation process begins.
  988.  
  989. 6 - Testing program.
  990. If  the program needs tested then this string is printed before the testing
  991. process begins.
  992.  
  993. 7 - Opening libraries.
  994. APCmp  opens  all  the  main  libraries and extensions before compiling and
  995. prints this message.
  996.  
  997. 8 - Compiling program.
  998. Printed at the start of the code generation.
  999.  
  1000. 9 - Copying library routines.
  1001. Printed  when APCmp copies the different routines from the libraries to the
  1002. compiled program.
  1003.  
  1004. 10 - 
  1005. Printed for each library routine copied. Usually this string is empty.
  1006.  
  1007. 11 - Copying system data.
  1008. Printed when APCmp begins the copy of the AMOS.library if required.
  1009.  
  1010. 12 - Copying memory banks.
  1011. Printed if the program contains memory banks to be copied.
  1012.  
  1013. 13 - Opening source.
  1014. Printed  when  APCmp opens the source program.  This may take a little time
  1015. on a floppy disc if APCmp loads the entire program into RAM.
  1016.  
  1017. 14 - Closing object.
  1018. Printed  when APCmp closes the object program.  This may take a little time
  1019. on a floppy disc if APCmp saves the entire compiled code from RAM.
  1020.  
  1021. 15 - Total memory used:
  1022. This  information  line  will  be  printed  at  the  end  of  a  successful
  1023. compilation.
  1024.  
  1025. 16 - Object length:
  1026. This is the final object length report and is printed at the end of the
  1027. compilation.
  1028.  
  1029. 17 -  bytes.
  1030. Printed after a number which represents a report in bytes!
  1031.  
  1032.  
  1033.                      {[ISetUp3  ,4,3] Back to Compiler System Setup menu  }
  1034.  
  1035.  
  1036. Compiler Error messages Editor
  1037.  
  1038. Clicking  on  this  button displays a list of Error messages.  Click on the
  1039. one you want to modify and then you can edit the string.
  1040.  
  1041.  
  1042.                      {[ISUp3_cmperr  ,4,3]    The error messages in detail     }
  1043.  
  1044.                      {[ISetUp3  ,4,3] Back to Compiler System Setup menu  }
  1045.  
  1046.  
  1047. The Compiler Error messages in detail
  1048.  
  1049. *** To be done later as some new messages may pop up before APCmp is over!
  1050.  
  1051.  
  1052. Load Config Button
  1053.  
  1054. By clicking on it you can load any Compiler configuration file from a disk.
  1055.  
  1056.                         {[IMain_Setup,4,3] Back To Main Setup panel help }
  1057.  
  1058. Save As Default Button
  1059.  
  1060. By clicking on it you can save the current Compiler configuration into the
  1061. default configuration file. Note that the previous default configuration
  1062. will then be overwritten and lost.
  1063.  
  1064.                         {[IMain_Setup,4,3] Back To Main Setup panel help }
  1065.  
  1066. Save Config Button
  1067.  
  1068. By  clicking  on  it  you  can save the current Compiler configuration to a
  1069. different  file  on the disk.  A requester will ask you for the name of the
  1070. file.    To  save  the  configuration  as  a  default  one  just  click  on
  1071. the {[ISetup_SaveDefault,4,3]Save Default} button.
  1072.  
  1073.  
  1074.                         {[IMain_Setup,4,3] Back To Main Setup panel help }
  1075.  
  1076.  
  1077.