home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 15 / af015.adf / Paul_Overaa / readmepo < prev    next >
Text File  |  1978-01-09  |  1KB  |  43 lines

  1. A few notes on what you'll find in the program files...
  2.  
  3.  
  4. The source code for the StartUp/CloseDown Resource Allocation and
  5. Deallocation example is the file 'MAIN.C'. Normally I wouldn't place
  6. the images/static-definitions stuff in the same file as the program code
  7. (they'd be in a separate header file), but for example purposes it's just
  8. easier to give you a single source file !
  9.  
  10. The compiled version (Lattice) is called MAIN and it'll run from either
  11. the CLI or the WorkBench. As you'll see from the source code this program
  12. needs access to the diskfont.library and to the 'bocklin' font.
  13.  
  14. If, when you run the program, you actually see a display then the
  15. begin_block() routine has found everything it needs. If you find yourself
  16. back at the CLI or WorkBench without seeing anything then the program has
  17. come across a problem (no chip memory, no diskfont library, no font etc.),
  18. given up, and shut itself down.
  19.  
  20. Don't forget... if you move the program to another disk you must make sure
  21. that your boot-up disk contains the abovementioned font !
  22.  
  23.  
  24.  
  25.  
  26.  
  27. Amiga Format note:
  28.  
  29. The fonts directory on the cover disk contains the above mentioned Bocklin 
  30. font. So, copy the fonts directory on the coverdisk to your Workbench 
  31. bootdisk. Very sorry that Paul_Overaa's Main program will not work off the 
  32. coverdisk, but if it did it would defeat the object of the exercise, which
  33. is to show how to write Good Amiga code which doesn't throw a wobbler when 
  34. it can't find a file!
  35.  
  36.         Pat McDonald
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.