AminetAminet
Search:
84450 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/c/aga-test.lha

Mirror:Random
Showing:ppc-morphosgeneric
No screenshot available
Short:Example code that takes advantage of AGA HAM8 mode
Type:os30
Architecture:m68k-amigaos
Date:1992-11-20
Download:http://aminet.net/dev/c/aga-test.lha - View contents
Readme:http://aminet.net/dev/c/aga-test.readme
Downloads:7661

Here are two little programs that show all 2^24 colors on an
AGA HAM8 screen without ever changing the 64 base color registers.

gtest was the first attempt (people should not run gtest unless they first
study the code to see how to exit :-).  gtest2 is the program that should
interest most users.  Full source code is included with both programs.

There is also an example use of the display database in gtest2.
Hopefully this example will stir commercial developers to support
the display database in their programs.

This code, except the ListRequest () routine, is PD.  Donated to
the public domain by the author, Loren J. Rittle <rittle at comm.mot.com>.
Have fun with it, but please don't claim this work as your own.  As it
is PD, please feel free to take any pieces to your own projects.

ListRequest() originally by Willy Langeveld, October 1991.
Changes for this project by myself.
Willy gave me permission to include this code with another
package.  As it is quite useful, I have included it here in
another form.  Thanks Willy!

Thanks to Chris Green (of Commodore) for:
LoadRGB32 (struct ViewPort *, unsigned long *table);
#pragma libcall GfxBase LoadRGB32 372 9802

Let's hope that more entry points are revealed on UseNet to tide us
over until the real includes are available...
For example, I'd like the pragma info on the system calls that allow
me to do double bufferred animation under the OS... :-)

Enjoy!

Loren J. Rittle <rittle at comm.mot.com>
Fri Nov 20 00:34:04 1992


Contents of dev/c/aga-test.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 3222    4920  65.5% -lh5- 6dc2 Nov  8  1992 aga-test/gtest
[generic]                 1639    4013  40.8% -lh5- 59de Nov  8  1992 aga-test/gtest.c
[generic]                 7567   12276  61.6% -lh5- e941 Nov 15  1992 aga-test/gtest2
[generic]                 3726   10010  37.2% -lh5- a48c Nov 15  1992 aga-test/gtest2.c
[generic]                  839    1489  56.3% -lh5- 09de Nov 20  1992 aga-test/README
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         5 files   16993   32708  52.0%            Nov 20  1992

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>