Amiga.org

Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: DizZy_ on October 04, 2004, 11:41:40 AM

Title: amiga os graphics + videoboard
Post by: DizZy_ on October 04, 2004, 11:41:40 AM
Hi there!
help please!
where can i find some simple examples how to use videoboard without rtg*.library? Prefer in C or asm.

thanks.
Title: Re: amiga os graphics + videoboard
Post by: bloodline on October 04, 2004, 12:38:46 PM
Quote

DizZy_ wrote:
Hi there!
help please!
where can i find some simple examples how to use videoboard without rtg*.library? Prefer in C or asm.

thanks.


You would need the Technical specs for the Video board then... and you wouldn't be able to use the OS.
Title: Re: amiga os graphics + videoboard
Post by: DizZy_ on October 04, 2004, 12:43:15 PM
so i cannot use it as linear ehh array (without bitplanes) using OS api? I.e. 1 byte - 1 $ffcolored pixel
Title: Re: amiga os graphics + videoboard
Post by: bloodline on October 04, 2004, 12:57:27 PM
Quote

DizZy_ wrote:
so i cannot use it as linear ehh array (without bitplanes) using OS api? I.e. 1 byte - 1 $ffcolored pixel


Yeah, but you need to use some kind of driver to set up the linear frame buffer... Cybergfx, P96 and the rtg.library do that for you.
Title: Re: amiga os graphics + videoboard
Post by: Karlos on October 04, 2004, 01:17:15 PM
Both the P96 and CGX developer APIs are available.

Even if you just use CGX v3 functionality you will be compatible with a broad range of systems.

For chunky pixel access to a BitMap under CGX, all you need to do is use LockBitMapTags(), having first ensured that the bitmap is a CGX compatible one. Things like allocating, freeing, blitting etc are still handled by the normal graphics.library.

Title: Re: amiga os graphics + videoboard
Post by: DizZy_ on October 04, 2004, 01:25:29 PM
i think i've choose rtg*.library :)

im using picasso96


thanks