home *** CD-ROM | disk | FTP | other *** search
-
-
- AmiGRASP ver 1.0d DOCUMENTATION
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
-
- Copyright © 1991 Koh Kian Beng
-
-
-
- INTRODUCTION TO GL FORMAT
- -------------------------
-
- GL is a short term for Graphics Library. It is an archive of files use in
- animation on the IBM PCs and clones. Files with the extension '.gl' was
- created by a software package called GRASP by Microtex Industries. GRASP
- is a graphics programming language which can be used to create and run
- animated graphics demonstrations, tutorials and presentation. A program
- called GRASPRT can be used to play the animation only. As it is an archive,
- GL files contains many component files which includes picture files, text
- files and font files. Picture files are the graphics that will be used
- in the animation. It can be in many formats which includes PCPAINT's Pictor
- (PIC and CLP), GIFs and PCX formats. The text files are the most important
- of all files as it dictates how the animation should be played. This text
- file contains a series of GRASP commands. A GL files can contain a few
- text files which can be chosen by the user. Font files is optional and only
- used for generating text characters. The fonts are FONTRIX compatibles.
-
- GL files are getting very popular and there exists a number of X-rated animation
- files. As GL files were created on IBM PC, it can only be played on an IBM PC
- and compatibles. However, lately there are another three types of systems which
- can display GL animation to date. They are Acorn Archimedes, UNIX's X-Window
- and Commodore AMIGA. XGRASP and XViewGL are available for X-Window and GL for
- the AMIGA. AmiGRASP is a new addition for the AMIGA.
-
-
- HOW DO I USE AmiGRASP
- ---------------------
-
- To run the AmiGRASP, enter at the CLI prompt:
-
- CLI> AmiGRASP libname.GL [textname.TXT]
-
- libname.gl = the gl animation file you want to view.
-
- textname.txt = optional animation scriptfile. if not specified, AmiGRASP
- use the first text file it found.
-
- To exit: press ESC any time.
-
-
- MACHINE COMPATIBILITY
- ---------------------
-
- It need at least 370KB of free Chip and 512KB of free Fast RAM. The more Fast
- RAM you have the better, especially if you do not have hard disk. This will
- enable you to run very large gl files such as the Mandy series from the RAM
- drive. I've tested AmiGRASP only with my A2000 - 2.5MB Fast, 0.5 MB Chip with
- 1.2 ROM. GL files can be on any drive. I did not try to optimize fast ram usage,
- neither the program codes. so you might have "not enough memory" problem when
- running large gl files. Maybe i'll address it in later revision.
-
- AmiGRASP work best on stock Amiga 500/2000 without Workbench loaded. If it
- was executed from a CLI window in Workbench, there is a high possiblity of
- excessive flickering.
-
-
- COLOR
- -----
-
- The graphics screen supported are CGA hires (640x200) and vga lores (320 x 200).
- VGA 256 colors will be display in HAM. Any drawing and text color will use
- amiga's basecolor and not HAM to avoid excessive color fringing. Thus it will
- choose the nearest basecolor to VGA color. In this situation, the colors will
- not be exactly the same, as Amiga color depth (12-bits) is shallower than
- VGA's 18 bits. Some drawing may even disappear due to color chosen is the same
- as background color. More emphasize is place on the correctness of the
- pictures' color, thus the picture loading is quite slow especially in HAM mode.
- Some of the fading effect, especially sparkle fade, will cause excessive
- fringing in HAM mode.
-
-
- ASSUMPTION
- ----------
-
- AmiGRASP assumes all .gl files is in proper order. If not, a visit to guru
- is more likely. I have found 2 error in gl files that i have. Orgasm.gl in
- dildo.txt contains text string without closing quote. Another error in the
- same text, window setting with missing y parameter. I have taken care of the
- first error, but the second one need a rework on the gl file as GRASPRT is
- also having problem with it.
-
-
- GRASPRT COMPATIBILITY
- ---------------------
-
- It supports 63% of GRASP 1.0 commands. Any commands it does not support
- will be skipped. It support only 23% of fading mode. Any fade it does not
- recognize will be defaulted as fade 0.
-
- I intent to support all commands up to latest GRASP but i have limited
- number of .gl files to try it out. I also do not have the latest GRASP
- specs. I'm using GL 1.1 program by John Bickers and occasionaly office's 386
- PC clone for reference on the correct operation. Up to this release, i have
- tested AmiGRASP with:
-
- inout.gl orgasm.gl mandy-2.gl
- ontop.gl twotimer.gl
- 1on2.gl angel-3.gl
- vgax0000.gl mandy-1.gl
-
- If you have a .gl file which you think AmiGRASP did not play correctly,
- please get in touch with me. Email the gl file to the Internet address
- below and i will send the updated version directly to you as soon as
- i manage to get it corrected.
-
- How do you know any command it does not support exist? At the beginning, you
- may notice some message saying certain command not supported.
-
-
- PARTIAL SUPPORT
- ---------------
-
- 1. PUTUP does not support transparency.
-
- 2. TEXT not supported for video mode L (VGA 256 colors).
-
-
- CHANGES IN VER 1.0d
- -------------------
-
- 1. Improve sparkle fade (fade 20) speed for video mode C from 50sec to 25sec
- (on stock A2000).
-
- 2. No more "Software Error" when file not found.
-
- 3. Solved memory leakage problem.
-
- 4. Now handle CLOADing of .clp with colormap correctly.
-
-
- CREDITS
- -------
-
- Palette size reduction routine adapted from color.c of public domain program
- DGIF 1.0 (a gif viewer) by Derek Noonburg (dn0o+@andrew.cmu.edu).
-
- GL disecting routine is base on a program by George Phillips.
-
- GRASP format by George Phillips (phillips@cs.bc.ca) and also from GRASP 1.0
- manual.
-
-
- COPYRIGHT
- ---------
-
- Copyright 1991 by Koh Kian Beng. I release this program as freeware. Feel
- free to send suggestion, comments, bug report, $$$contribution, more GL files
- etc to:
-
- email to kbkoh@a1acc1.intel.com
- or kbkoh%a1acc1@sc.intel.com
-
- smail to Koh Kian Beng
- H-10-2 Taman Bukit Jambul
- 11900 Pulau Pinang
- Malaysia
-
-
- HISTORY
- -------
-
- I'm doing the programming during my spare times after work. It is a bit slow.
- It was a development from my program KPIC, a .PIC viewer for Amiga. KPIC
- itself is an adaptation from my other program KGIF, a .GIF viewer for Amiga
- with PAL display. Both programs released as freeware locally in Malaysia.
-
- Start programming: February 03, 1991
-
- revision history:
-
- 030291: 0.0 This version is a stripdown of KPIC v1.0p modified to be able to
- load multiple pictures into memory and display them in sequence
- on keypress. module majorly affected are display.c and main.c.
- 0.1 modify loader.c and paint.c to support bpp=1 and no color map for
- bpp=1. follows KPIC v1.1 modification on these bug.
- 0.3 first working structure of a gl player. new are splitgl.c and
- player.c. support all commands required to play inout.gl and
- ontop.gl.
- 0.5 support fade 23, fade 4, reference to label at after goto command
- and loading of pictures into same buffer. these features to run
- blind.txt
- 0.6 support cload, color, clearscr, mark, fly, loop commands. these
- features to run twotimer.gl.
- 210791: 0.7 support cfade, palette, fade 20, pfree, cfree and box commands.
- these features to run angel-3.gl.
- 290791: 0.8 support fload and text command. these features to fully support
- 1on2.gl. new text.c module to support text capability.
- 300791: 0.9 support ifkey, window, fade 1, and exit. these features to run
- dildo.txt of orgasm.gl.
- 030891: 1.0 support fade 19, and putup. these features to run mandy-1.gl
- major rework on color scheme.
-