Index of /geminiatari/FILES/OTHER/CLED122S

      Name                    Last modified       Size  Description

[DIR] Parent Directory 24-Sep-2006 15:33 - [TXT] CLED.PRG 14-May-1991 05:59 68k [TXT] CLED.RSC 14-May-1991 06:00 8k [TXT] CLED.RSD 14-May-1991 06:00 1k [DIR] DOCS/ 24-Sep-2006 15:33 - [DIR] GRAPHICS/ 24-Sep-2006 15:33 - [TXT] PRINT.DRV 14-May-1991 06:00 2k [DIR] SOURCE/ 24-Sep-2006 15:33 -

Well after reading how so little GEM source code is available I've finally
decided to release my cassette editor source to the general public.

All the source code is both Mark Williams and GNU C compiler compatible, and
is probably fairly easily portable to most other C compilers.

Under the Mark Williams C compiler the only error generated is the following
warning:

   449: cled.c: Strict: identifier "temp" not bound to register

I'll give a brief description of what each of the MWC header files contain
for those of you who want to port to another compiler:

 obdefs.h   -  Object defines, eg. G_BOX etc. 
 gemdefs.h  -  Various GEM defines for windows, graphics and events.
 osbind.h   -  GEMDOS and BIOS function definitions.
 vdibind.h  -  VDI defintions and bindings.
 aesbind.h  -  Bindings and structures for AES routines.
 stdio.h    -  The usual.
 ctype.h    -  Standard type conversion stuff.
 errno.h    -  Usual error defintions.

GNU uses similar header files, except that with the GEMFAST library some are
dummies (gemdefs.h and some others I think), you can either leave the
includes as they are (I do) or delete the ones that arent needed and just
include GEMFAST.H.  If you port to any other compilers, please try to use
defines for any changes and write seperate makefiles if required.  I'd also
appreciate a copy!

DEFINE.H includes a couple of defines for the compiler being used, just
comment out the one you dont need and go for it, god only knows what will
happen if you leave both defined or undefined!

Bear in mind that this code was originally written in Basic on a Commodore
64, then ported to the ST and C, while I was still learning the language.  
The windowing features have been added slowly so they probably dont hang
together to well.  The printer support is also pretty iffy, only really 
star printers are usable as I used line spacings in 216ths of an inch, with
alot of over printing.  As well the documentation is a bit skimpy in places, and
out of date in others, atleast its a start!

You are welcome to modify this code or use parts of it in your own programs as
you see fit, I know I have.  All I ask is you mention me, and in the case of
modified copies of this program, send me a copy.

By the way, my main sources of documentation on GEM have been:

   o  The Antic Online Progem series of articles, available on terminator.

   o  Jim Charltons XXED source code, again available on terminator.

   o  Atari ST GEM Programmers Reference.  Szczepanowski and Gunther. 
      Abacus Software.  ISBN 0-916439-52-6.
      

I may be reached at any of the following:

Snail Mail:
   Robert Alley
   Lot 1590 Gay Street
   Huntingdale 6110
   Western Australia
   
Paragon BBS (Perth, Western Australia):
   Ph. (09) 490-1105
   
PSImail: 
   psi%050529452300070::GKESSELLS
Internet: 
   GKESSELLS@cc.curtin.edu.au
Bitnet: 
   GKESSELLS%cc.curtin.edu.au@cunyvm.bitnet     
UUCP  :
   uunet!munnari.oz!cc.curtin.edu.au!GKESSELLS 
 
  (These address's are for a lecturers account I use, but should be valid till
    January 1992)
    
Rob Alley.