home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / useful / reviews / software / programmer / dice3.0_2 < prev    next >
Internet Message Format  |  1994-06-02  |  23KB

  1. Path: news.uh.edu!barrett
  2. From: eb15@andrew.cmu.edu (Ed Berger)
  3. Newsgroups: comp.sys.amiga.reviews
  4. Subject: REVIEW: DICE Version 3.0
  5. Followup-To: comp.sys.amiga.programmer
  6. Date: 2 Jun 1994 17:44:40 GMT
  7. Organization: The Amiga Online Review Column - ed. Daniel Barrett
  8. Lines: 503
  9. Sender: amiga-reviews@math.uh.edu (comp.sys.amiga.reviews moderator)
  10. Distribution: world
  11. Message-ID: <2sl5q8$hip@masala.cc.uh.edu>
  12. Reply-To: eb15@andrew.cmu.edu (Ed Berger)
  13. NNTP-Posting-Host: karazm.math.uh.edu
  14. Keywords: programming, C, compiler, commercial
  15. Originator: barrett@karazm.math.uh.edu
  16.  
  17.  
  18. PRODUCT NAME
  19.  
  20.     DICE Version 3.0
  21.  
  22.  
  23. BRIEF DESCRIPTION
  24.  
  25.     DICE 3.0 is the commercial version of the popular shareware DICE C
  26. language compiler created by Matt Dillon.  The package contains a 450-page
  27. manual and 5 disks containing two different text editors, a C compiler,
  28. linker, debugging tools, source code management tools, source to the linker
  29. libraries, example programs and a 1.3 AmigaDOS compatible on-line help
  30. system.
  31.  
  32.  
  33. AUTHOR/COMPANY INFORMATION
  34.  
  35.     Name:        Obvious Implementations Corporation
  36.     Address:    P.O Box 4487
  37.             Cary, NC  27519-4487
  38.             USA
  39.  
  40.     Telephone:    (800) 761-2042
  41.             (919) 859-7407
  42.  
  43.     E-mail:        info@oic.com
  44.  
  45.  
  46. LIST PRICE
  47.  
  48.     Regular                $150  US dollars
  49.     Student (any school)        $ 95  US dollars
  50.     Owner of registered DICE    $ 75  US dollars
  51.  
  52.     I upgraded from the registered version.
  53.  
  54.  
  55. SPECIAL HARDWARE AND SOFTWARE REQUIREMENTS
  56.  
  57.     HARDWARE
  58.  
  59.         1M RAM required.  More is suggested.
  60.         2 floppy drives disk space.  Hard drive preferred.
  61.         Battery backed clock recommended, but not required.
  62.  
  63.     SOFTWARE
  64.  
  65.         AmigaDOS 1.3 or higher required.
  66.         AmigaDOS 2.x and 3.x compatible.
  67.  
  68.  
  69. COPY PROTECTION
  70.  
  71.     None.
  72.  
  73.  
  74. MACHINE USED FOR TESTING
  75.  
  76.     Amiga 3000/16, 12MB Fast RAM, 2MB Chip RAM.
  77.     AmigaDOS 3.0 beta (purchased through the Commodore developer program)
  78.     Seiko CM1440 VGA monitor
  79.  
  80.  
  81. INSTALLATION
  82.  
  83.     The package uses Commodore's Installer program.  The installation
  84. script can be run multiple times for any additions to be made.  A separate
  85. installation script is available for floppy users which uses a custom
  86. compression system.
  87.  
  88.     Installation of a large package like DICE -- with all its utilities,
  89. AmigaDOS-dependent revisions of the Commodore include files and linker
  90. libraries, compiler support options, numerous utilities, library source
  91. code, and example programs -- deserves some extra attention to the
  92. procedure, especially for beginner programmers.  Here are two examples.
  93.  
  94.     An AmigaDOS 1.3-based A500/A590 owner might want a minimal
  95. installation.  This might consist of AmigaDOS 1.3 include files, linker
  96. libraries, the DICE compiler with small data model and registerized
  97. parameters support, the debugger, and library and example source code.  This
  98. takes up 2,258,513 bytes.
  99.  
  100.     An experienced developer might want a rather full installation.
  101. This might consist of all the include files, libraries, support of multiple
  102. data models, source control and debug utilities, and on-line help.  This
  103. takes up 11,415,299 bytes of hard disk space.
  104.  
  105.     I recommend reading through chapter 6 of the manual to gain some
  106. more familiarity with the DICE programming environment before installing it.
  107.  
  108.  
  109. BUILDING PROGRAMS WITH VMAKE
  110.  
  111.     One of the highlights of the commercial version of DICE over previous
  112. releases is the new VMake utility.  It integrates the whole DICE programming
  113. environment with a new graphic user interface (GUI).  VMake is a very
  114. powerful and useful utility.  It offers the inexperienced user the benefits
  115. of a 'make' program without having to learn all the strange syntax that
  116. Makefiles require.
  117.  
  118.     To use VMake on already existing source files, you invoke it either
  119. from the CLI or by the Workbench icon, and select "New" from the Project
  120. menu.  A standard ASL requester appears (under AmigaDOS 2.04 and above), and
  121. you select the directory where your source is, and type in a name for the
  122. project.  A '.dice' extension is added to the name.  Next, you select "Scan"
  123. from the Edit menu, and VMake scans the directory for file.  Delete any of
  124. the unnecessary files from the listing, and save the project.  Voila:  you
  125. have just created a Makefile!  You can then select the "Options" menu item
  126. in the Edit menu to customize the compiler options such as OS Target, which
  127. debug level you want, optional places to search for include files or linker
  128. libraries, small code model or large code model.  These options may be
  129. saved.  All the things which you would change with the various switches if
  130. you were compiling from the CLI are available through the graphic user
  131. interface.
  132.  
  133.     Now to compile and run your program, you press the "Make" button or
  134. use the Compile menu, and off DICE goes, compiling your project.  You can
  135. then run your program by hitting the Run button or selecting the appropriate
  136. menu items.  You can simulate running your program from Workbench, or feed
  137. CLI arguments to your program by way of the "CLI Arguments" string gadget.  A
  138. menu option is available to run your program through the debugger as well.
  139. It's a smooth and easy-to-use environment.
  140.  
  141.     VMake is also a lot more.  Instead of all those gadgets and menu
  142. items being hard coded into the program, VMake uses extensible configuration
  143. files.  If you don't like a menu hotkey, just edit dcc:config/vmake.config
  144. to make the change.  For example, I didn't like using Amiga-Y for the
  145. "Project New" subitem.  My VMake is now a little more Style Guide compliant
  146. with Amiga-N in its place.  While VMake normally opens on the Workbench
  147. screen it also supports 'jumping' from one public screen to another.  I
  148. would have liked VMake to use the Amiga Style Guide command line keyword and
  149. icon tooltype "PUBSCREEN" so that I could have it open automatically on the
  150. particular screen I want.  But jumping is better than nothing.  Further
  151. customizing of the VMake environment is available through ARexx.  VMake
  152. comes preconfigured fairly well.
  153.  
  154.  
  155. REVISION CONTROL AND EDITOR INTEGRATION
  156.  
  157.     One of the most useful features that VMake integrates into the
  158. programming environment is revision control via the "RCS" and "UpRev"
  159. utilities.  RCS (Revision Control System) has been used for years on UNIX
  160. platforms, where developing large projects with multiple programmers can
  161. lead to problems.  RCS provides a way of tracking multiple versions of a
  162. program or its pieces.  It helps you to find newly created bugs in your
  163. programs by allowing you to compare various revisions of a file and look
  164. over the differences.
  165.  
  166.     VMake integrates RCS into its GUI, allowing you to concentrate on
  167. your code and not on the command line switches required to learn RCS.  I
  168. always told myself that I was going to learn RCS some day, but now I don't
  169. really have to. :-)  To "check in" a file under RCS/VMake, you just click on
  170. the filename in the VMake listview and select the RCS Menu "Check In"
  171. subitem.  Fill in the "initial comment" prompt on the VMake console window,
  172. followed by a line with just a period.  RCS then makes an "rcs" subdirectory
  173. in the current directory, and sets the current file protection to
  174. read-only.  If you then want to change that file by popping up your editor,
  175. just double-click on the filename in the VMake listview and you are presented
  176. with a requester telling you that the file is read-only and do you want to
  177. check out the file from RCS?  Select "Yes", edit the file, and then check it
  178. back in with RCS when you are done, this time entering comments about what
  179. changes you made.  You can review the change history on demand.
  180.  
  181.     UpRev generates an Amiga User Interface Style Guide type of revision
  182. string that you can use in your programs.  VMake has an Edit menu subitem
  183. for UpRev.  When used the first time, it creates an include file
  184.  
  185.         PROJECTNAME_rev.h
  186.  
  187. where "PROJECTNAME" is the name of your project.  If you include this header
  188. file in your your program file which contains main(), and add a line like:
  189.  
  190.     const char my_version_string[]=VERSTAG;
  191.  
  192. you automatically get an Amiga User Interface Style Guide compliant version
  193. string in your program, which you can easily update any time you've made
  194. changes to your program by simply choosing the edit menu subitem 'Update
  195. Revision' and recompiling the program.  Together, RCS, UpRev, and VMak