(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/graphics.h>

void BltClear (memBlock , bytecount , flags)

LOCATION
In GfxBase at offset 50

SYNOPSIS
void * memBlock
ULONG bytecount
ULONG flags

FUNCTION
Use the blitter for clearing a block of Chip-Ram.

INPUTS
memBlock
pointer to beginning of memory to be cleared
flags
set bit 0 to force function to wait until
blitter
if used - is done
bytesperrow
mode
bytecount
if bit 1 is set to 1: bytecount contains an even number of bytes to clear if bit 1 is set to 0: low 16 bits are taken as number of bytes per row and upper 16 bits are taken as number of rows.

RESULT
A cleared block of Chip-Ram.

EXAMPLE

SEE ALSO
InitGels() Animate() graphics/rastport.h graphics/gels.h

NOTES
- this function *might* not use the blitter

BUGS

INTERNALS

HISTORY