Hangar.La tienda de software del Amiga

PowerAGA 1.0

Power BASIC AGA 256 col 24 bit extension

Short:        Power BASIC AGA 256 col 24 bit extension
Author:       simon@studio.woden.com (Simon N Goodwin)
Uploader:     simon studio woden com (Simon N Goodwin)
Type:         dev/basic
Version:      1.0
Architecture: m68k-amigaos

Overview

Early versions of Maxxon BASIC, HiSoft BASIC 1 and Power BASIC were written
before the launch of AGA systems, and therefore lack support for 24 bit
palette and 256 colour screens. This HiSoft Power BASIC AGA support demo
shows you how to program an overscan 8 plane screen and set any of the
256 colours to any 24 bit colour.


Files

Colour.bas is the demonstration program - it includes the crucial:

    SUB Palette32(pen%,red%,green%,blue%)

which takes four parameters, 0 to 255, setting a given pen to the 24 bit
colour indicated by the last three parameters.

PowerAGA.text is an explanation of the program.

Graphics.bmap is an extended BMAP file which includes AGA functions as
well as the original 16 bit Amiga system calls.


Requirements

HiSoftBASIC.library to run the compiled code supplied, as it is not a
stand-alone task.

HiSoft, Power or Maxxon BASIC to recompile the source.


Distribution

This program is copyright 2000 Simon N Goodwin. It may be freely distributed
and included in other programs, but only with attribution. Contact the author
simon@studio.woden.com if you use this, please, to encourage the release of
other such BASIC extensions.

Gratis

Descargar 6 KB

Desde el Amiga: abre Hangar y busca PowerAGA.

Autorsimon@studio.woden.com (Simon N Goodwin)
Categoríadev/basic
Tamaño6 KB
Param68k-amigaos
OrigenAminet