home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / macintosh-pascal / macintoshp-1.2-demos.sit.hqx / readme_demo next >
Text File  |  1999-04-05  |  5KB  |  80 lines

  1. MACINTOSH PASCAL:
  2. A Hobbyist's Guide to Programming the Mac OS in Pascal
  3. Version 1.2 (Frozen)  Demonstration Programs
  4.  
  5. Overview
  6.  
  7. CodeWarrior 1.3 was the version used for the final compilation of all demonstration programs.
  8.  
  9. All demonstration programs may be run within CodeWarrior; however, because of the nature of the demonstration, the program associated with Chapter 8 must be run as a built (i.e., double-clickable) application.  Also note that certain aspects of the program associated with Chapter 14 can only be explored if it is run as a built application.
  10.  
  11. There is no demonstration program directly associated with Chapter 7.  (The demonstration program associated with Chapter 8 addresses the subject matter of both Chapter 7 and Chapter 8.)
  12.  
  13. Binaries Removed
  14.  
  15. To reduce demonstration program download size to the minimum, all binaries have been removed from the CodeWarrior projects.  This simply means that you will need to re-compile the programs before they can be run within CodeWarrior.
  16.  
  17. Preferences Settings
  18.  
  19. Macintosh Pascal source code files assume a tab size setting of 2 (see Edit / Preferences... / Editor / Fonts and Tabs / Tab Size).
  20.  
  21. Project Settings
  22.  
  23. For all applications (68K and PowerPC), the Language, Code Generation, and Linker settings within the CodeWarrior Project Settings dialog are the factory settings, except as follows:
  24.  
  25. •     Language Settings / Pascal Language / Language Info:  -  Factory setting plus Uses Propagation
  26.                                                                                                   and Case Sensitive Identifiers on.  Also, in 
  27.                                                                                                   FloatersPascalPPC only, Relax Pointer
  28.                                                                                                   Compatibility on.
  29.  
  30. •     Language Settings / Pascal Warnings / Warnings Info:  -  All on.
  31.  
  32. For the 68K LDEF, CDEFs, and WDEF,  the Language, Code Generation, and Linker settings within the Project Settings dialog are the factory settings except as follows:
  33.  
  34. •     Language Settings / Pascal Language / Language Info:  -  Factory setting plus Uses Propagation
  35.                                                                                                   and Case Sensitive Identifiers on.  
  36.  
  37. •     Language Settings / Pascal Warnings / Warnings Info:  -  All on.
  38.  
  39. •     Code Generation / 68K Processor / Processor Info: / Code Model:  -  Small.
  40.  
  41. •     Linker /68K Linker / LinkerInfo:  -  Link Single Segment on.
  42.  
  43. For the PowerPC (i.e., accelerated resource) LDEF, CDEFs, and WDEF,  the Language, Code Generation, and Linker settings within the Project Settings dialog are the factory settings, except as follows:
  44.  
  45. •     Language Settings / Pascal Language / Language Info:  -  Factory setting plus Uses Propagation
  46.                                                                                                   and Case Sensitive Identifiers on.
  47.  
  48. •     Language Settings / Pascal Warnings / Warnings Info:  -  All on.
  49.  
  50. •     Linker /PPC Linker / Entry Points: / Main:  -  main.
  51.  
  52. Chapter 23 PowerPC Versions
  53.  
  54. To avoid unnecessary resource file and source code file duplication, and thus keep the download size to a minimum, the folder chap23pascal_demo contains only those chap01pascal_demo to chap22pascal_demo files which have had to be replaced (project files) or modified (source code files) to permit compilation as native PowerPC code.  Thus the folders within chap23pascal_demo contain:
  55.  
  56. •     The CodeWarrior PPC project files for the PowerPC versions of all demo applications.
  57.  
  58. •     The CodeWarrior PPC project files for the PowerPC (i.e., accelerated resource) versions  of the
  59.        LDEF, CDEFs, and WDEF.
  60.  
  61. •     Those source code files which have had to be modified, in accordance with the required changes 
  62.        listed at Chapter 23 of Macintosh Pascal, to permit compilation as native PowerPC code.
  63.  
  64. •     The resource files containing the PowerPC (i.e., accelerated resource) versions  of the
  65.        LDEF, CDEFs, and WDEF.
  66.  
  67. Note that all PowerPC-specific files and folders have "PPC" appended to their titles. 
  68.  
  69. To create a complete PowerPC version of all demo program folders, you should copy the resource and source code files missing from the various folders in the chap23pascal_demo folder from the relevant chap01pascal_demo to chap22pascal_demo folder.   The relevant PPC project window shows the files required.
  70.  
  71. Koryn Grant 
  72. Palmerston North
  73. New Zealand
  74. April 1999
  75.  
  76. K. J. Bricknell
  77. Canberra
  78. Australia
  79. April 1999
  80.