[net.micro.amiga] gfxmem.c - graphical memory usage f

mikel@ccvaxa.UUCP (11/05/85)

Where do the graphics.library and all live?  I have seen them mentioned in
various places, but I have never seen them.  Are they part of the ROM kernel
or part of developers kit?

bobp@amiga.UUCP (Robert S. Pariseau) (11/07/85)

Most of the libraries and devices live in the Writeable Control Store --
the extra memory that's loaded from the kickstart disk.  A few of the
libraries and devices are loaded dynamically from the system boot disk
(sys:), usually your workbench disk.  You'll find them in the directories
libs: and devs:.  The DOS also has a few overlays in the l directory.

The printer configuration files are kept in devs:printers

All of this comes with every Amiga.  The special stuff that comes with
an Assembly or C development tool is the source include files that
define structures and constants and the "link" librariies like
amiga.lib.  Amiga.lib contains, for example, the interface code that
let's C programs call the entry points of the system libraries -- which
basically have an assembly style entry sequence.  The routines in a link
library are linked in as part of your program.  The WCS, libs:, and
devs: thingies are shared.  Any number of applications can reference them
and only one copy will exist in the machine.

lbg@gitpyr.UUCP (Lee B Grey) (11/08/85)

I typed in gfxmem.c and it ran, but not correctly.
The bars always have a width of one pixel.  I played with
it for a short while, and found out that ChipMax == 0.
This seems wrong.  However, even when I manually set Scale
by saying Scale = 528244/AvailWidth, the program did not
run properly.  In fact, it drew lines all over my screen and
crashed my Amiga.  

Has anyone else tried gfxmem?  Any luck?

Lee