GFXStuff V1.3


GFXStuff V1.3

 The Code 

Following is the documented source code for the different functions
in assembly language. Some of the functions need egs.library,
graphics.library, cybergraphics.library, dos.library, intuition.library
and/or utility.library to be opened. As Library bases the functions
use EgsBase, GfxBase, CGXBase, DosBase, IntBase and UtilityBase, so be
sure to have those variables set to valid values (of course egs.library
is only needed for EGS, cybergraphics.library only for CyberGraphX).
The EGS code runs with OS 2.0 and upwards, the CyberGraphX code runs
(like CyberGraphX itself) with OS 3.0 and upwards.

The needed libraries are NOT ALL opened and closed using the Initialisation
and Close functions that are provided by this code. Only egs.library
and cybergraphics.library are handled there. For the rest, you will
have to provide your own code. :)

The Egs OpenLib opens ONLY egs.library, and the CyberGraphX one ONLY
cybergraphics.library !!!

The functions basically will restore a3-a7 and d3-d7 to the values
they contained BEFORE the function call.

This code does not CARE at all, if you have enough Video RAM on your
Board to open a 4096x4096 Triple Buffering 24 Bit Screen or something
like that, so be CAREFUL :)

Also used in the code are the following definitions :

DO NOT EXPECT ANY OF THE USED DATA STRUCTURES NOT TO CHANGE IN
RTGMASTER.LIBRARY !!! Use the provided interfaces, do NOT
look at for example the RtgScreen structures DIRECTLY !!!

_LVOOpenLibrary EQU -552
_LVOCloseLibrary EQU -414
_LVOAllocMem EQU -198
_LVOFreeMem EQU -210

CALLSYS MACRO
      jsr _LVO\1(a6)
     ENDM

XLIB MACRO
        XREF _LVO\1
        ENDM

To get information about EGS,         click here
To get information about CyberGraphX, click here


[Contents]
HTML Conversion by AG2HTML.pl V2.950424b, perl 5.001 & S.Gowdy@physics.gla.ac.uk