home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 567a.lha / DICE_v2.06.37 / README.pp / README
Text File  |  1991-11-11  |  9KB  |  228 lines

  1.  
  2.                  DICE SYSTEM
  3.  
  4.                    V2.06.37
  5.                  9 Oct 1991
  6.  
  7.                   Matthew Dillon
  8.                   891 Regal Rd.
  9.                   Berkeley, Ca. 94708
  10.                   USA
  11.  
  12.  
  13.                   USENET: uunet.uu.net!overload!dillon
  14.                       dillon@overload.Berkeley.CA.US
  15.  
  16.                   BIX:    mdillon
  17.  
  18.  
  19.     DICE (c)Copyright 1990-1991 by Matthew Dillon, All Rights Reserved
  20.  
  21.     Please read COPYRIGHT.DOC for info on all copyrights, trademarks, and
  22.     other items refered to an included in the DICE distribution.  This file
  23.     exists on both distribution disks.
  24.  
  25.     This is the public distribution release for DICE.  Under no
  26.     circumstances may you redistribute a modified version of the
  27.     distribution.  Period. No exceptions (please?).  I cannot allow this to
  28.     get out of control.  Neither may any redistribution for profit be made
  29.     (you can charge up to $6 beyond your cost for your time)
  30.  
  31.     DICE consists of a frontend, preprocessor, C compiler, assembler, and
  32.     linker, and support libraries all written by myself.  A generated
  33.     (non-commodore) 2.0 amiga.lib is included with this distribution.  Note
  34.     that you may compile 1.3 programs with the 2.0 amiga.lib as long as
  35.     you avoid 2.0-specific calls.
  36.  
  37.     Source to the DICE binaries is not included (it isn't included in the
  38.     registered version either)
  39.  
  40.     Source to C*.LIB and other link libraries is not included for the
  41.     Freeware version ... they are included for the registerd version.
  42.  
  43.     DICE also includes my DMAKE make utility (though it should be noted
  44.     that DMAKE is extremely difficult to learn how to use).  Source is not
  45.     available (it isn't fit to be distributed).  DMAKE works best running
  46.     under 2.0 due to the available of new system calls.
  47.  
  48.     This is the unregistered FreeWare version.    If you find yourself using
  49.     DICE seriously, please dig into your pockets a bit and register.  DICE
  50.     is as close to commercial quality as shareware gets and I think you
  51.     will appreciate the kick in the rump I give various other commercial
  52.     compilers by so easily beating them at their own game.  Refer to the
  53.     doc/REGISTER.DOC for information on registration.
  54.  
  55.     This is the unregistered FreeWare version of DICE, obtained from the
  56.     public nets, and it is missing one vital item:  the AMIGA INCLUDES.
  57.     Most developers will already have these but if you do not you can
  58.     obtain them from the Commodore Amiga Technical Support group:
  59.  
  60.     Commodore
  61.     Dept. C
  62.     1200 Wilson Drive
  63.     West Chester, PA.  19380
  64.     USA
  65.  
  66.     (215)431-9100
  67.  
  68.     *** TO PURCHASE THE AMIGA INCLUDES **
  69.  
  70.     Include a check for $20 and request that you want the AmigaDOS V1.3
  71.     Native Developer Update.  THIS IS A NEW ADDRESS.  THE OLD CATS ADDRESS
  72.     NO LONGER HANDLES SUPPORT MATERIAL PURCHASES.
  73.  
  74.     NOTE THAT THE AMIGA INCLUDES AND LIBRARIES ARE INCLUDED IN THE
  75.     REGISTERED VERSION OF DICE, BUT THE AUTODOCS ARE NOT.  THEREFORE,
  76.     IF YOU INTEND TO REGISTER YOU PROBABLY DO *NOT* WANT TO PURCHASE
  77.     THE NATIVE DEVELOPER UPDATE FROM COMMODORE.
  78.  
  79.     ***
  80.  
  81.     NOTE:   The unregistered version of DICE comes with an AMIGAS13.LIB
  82.         library which implements most of the 1.3 AMIGA.LIB, and
  83.         AMIGAS20.LIB which implements most of the 2.0 AMIGA.LIB. Some
  84.         Functions, such as afp(), CreateTask(), and DeleteTask() are
  85.         missing. The utility FDTOLIB was used to generate the library
  86.         from the 1.3 and 2.0 .FD files plus some additional source that
  87.         I wrote (FDTOLIB is part of the registered distribution)
  88.  
  89.     NOTE:   without the commodore includes you are somewhat limited in
  90.         what you can do with the freeware version.    Note that the
  91.         registered version comes with the commodore includes and full
  92.         amiga.lib .  Since the commodore includes are commodore's, I
  93.         cannot distribute them freely, only through my license which
  94.         restricts distribution to the registered version of DICE.
  95.  
  96.     IF YOU OBTAIN THE COMMODORE AMIGA.LIB, you will want to use it to
  97.     get whatever was left out in the distributed compatible.  To use
  98.     the commodore amiga.lib, you must run it through the LIBTOS program:
  99.  
  100.     1> libtos amiga.lib dlib:amigas13.lib        (1.3 amiga.lib)
  101.     1> libtos amiga.lib dlib:amigas20.lib        (2.0 amiga.lib)
  102.  
  103.     (note that 's' in the destination name -- small-data model version
  104.     of amiga.lib is called amigas.lib).
  105.  
  106.     Since the commodore amiga.lib is more complete than the ones
  107.     distributed here you will want to do this if you have them.
  108.  
  109.     --------------------------    SETTING UP DICE  -------------------------
  110.  
  111.     DICE requires a few things to be set up properly.  There are two
  112.     principle assignments:
  113.  
  114.     DINCLUDE:        assign to DICE's include directory
  115.     DLIB:        assign to DICE's dlib directory
  116.  
  117.     and there is one enviroment variable
  118.  
  119.     ENV:DCCOPTS     DCC core compiler options
  120.  
  121.     Specifically, you want one of the following in your startup-sequence
  122.     to set up the DCCOPTS enviroment variable.    Since only the 2.0 amiga.lib
  123.     is included you must specify the -2.0 option or DICE will be unable to
  124.     link.
  125.  
  126.     1> setenv DCCOPTS "-2.0"
  127.     1> setenv DCCOPTS "-2.0 -f"
  128.  
  129.     You can use "-f" ONLY if you are running the standard commodore shell,
  130.     this speeds up execution of RESIDENT DICE executables as well as hacks
  131.     in ^C handling under 1.3.  The -f option has no effect under 2.0
  132.  
  133.     DICE uses the -1.3/-2.0 option to define it's search path for the
  134.     includes and amiga.lib.  If -1.3 is selected, DINCLUDE:AMIGA13 is added
  135.     to the includes search path and DLIB:AMIGAS13.LIB is used for the
  136.     amiga.lib.    If -2.0 is selected, DINCLUDE:AMIGA20 is adde to the
  137.     includes search path and DLIB:AMIGAS20.LIB is used for the amiga.lib ..
  138.     the freeware release of DICE cannot include these commodore includes.
  139.  
  140.     If you have obtained the amiga includes, you want to set them up as
  141.     follows (example for the 1.3 includes):
  142.  
  143.     DINCLUDE:            (ANSI DICE and other DICE includes)
  144.     DINCLUDE:AMIGA13/        where the 1.3 includes go
  145.     DINCLUDE:AMIGA13/EXEC/*.H           .
  146.     DINCLUDE:AMIGA13/LIBRARIES/*.H           .
  147.         etc...
  148.  
  149.     Basically you Copy Includes1.3: DINCLUDE:AMIGA13 CLONE ALL
  150.     (or similar copy for the 2.0 includes if you have them)
  151.  
  152.     If you obtain the 1.3 amiga.lib from commodore you may create DICE
  153.     compatible amiga.lib's by:
  154.  
  155.     copy amiga.lib dlib:
  156.     cd dlib:
  157.     rename amiga.lib amigal13.lib        ; convert to DICE nomenclature
  158.     libtos amigal13.lib amigas13.lib    ; generate small-data version
  159.  
  160.     If you obtain and setup the commodore 1.3 includes/amiga.lib you will
  161.     want to change your DCCOPTS '-2.0' option to '-1.3' so DICE can find
  162.     them.  If, on the otherhand, you obtain the commodore 2.0
  163.     includes/amiga.lib you will want to leave DCCOPTS set to '-2.0'.
  164.  
  165.  
  166.     --------------------------    DYNAMIC.LIBRARY  -------------------------
  167.  
  168.     The subdirectory 'dynamic' contains a new dynamic object management
  169.     library to go with DICE's new __dynamic keyword.  If you are interested
  170.     in fooling around with it please CD into dynamic and read the
  171.     documentation, and try out some of the test programs in DYNAMIC/BIN/
  172.  
  173.     Note that this may be lharc'd.  To unarchive:
  174.  
  175.     1> lharc -r -x -a x dynamic
  176.  
  177.     dynamic.library may be more of use for machine-global shared variables
  178.     then for machine-global shared subroutines.
  179.  
  180.                     !!
  181.  
  182.     --------------------------         MISC     -------------------------
  183.  
  184.     Please read DOC/COMPILER.DOC for further installation instructions
  185.  
  186.     The documents you want to read first are:
  187.  
  188.     DOC/BEGINNER_README.DOC For Beginners
  189.     DOC/COMPILER.DOC    SETUP and features (overview)
  190.     DOC/KnownBugs        Things not implemented yet and known bugs
  191.     DOC/DCC.DOC        operation
  192.     DOC/*            other documentation
  193.  
  194.     MAN/*            manual pages are available to registered
  195.                 users.
  196.  
  197.     DISABLED IN THE UNREGISTERED (FREEWARE) VERSION OF DICE,
  198.     BUT EXISTS IN THE REGISTERED VERSION OF DICE
  199.  
  200.     * regargs
  201.     * floating point
  202.     * bit fields
  203.     * manual pages for c.lib
  204.     * source to the entire c.lib and other libraries
  205.     * several type qualifier extensions (see EXTENSIONS.DOC)
  206.     * source to many of the utilities (as examples)
  207.     * additional utilities exist in the registered version
  208.     * the commodore includes are not included in the freeware
  209.       version but are in the registered version
  210.  
  211.     DICE stands for:
  212.  
  213.     Dillon's Integrated C Enviroment
  214.  
  215.     (name thought up by Dan Wallach)
  216.  
  217.                 --------------
  218.  
  219.     The unregistered shareware version of DICE may be redistributed only in
  220.     whole.  Do not delete or modify any files.    You may add files according
  221.     to whatever distribution method you use or, for example, to translate
  222.     documentation to another language, but original documentation must
  223.     remain as well.
  224.  
  225.     The registered version of DICE (the one you purchase) may NOT be
  226.     redistributed.
  227.  
  228.