libmsx
C library for MSX
Loading...
Searching...
No Matches
Boolean operators for 16x16 1bpp sprite patterns.

Boolean operators for 16x16 1bpp sprite patterns. More...

+ Collaboration diagram for Boolean operators for 16x16 1bpp sprite patterns.:

Functions

void im_cmpl_SP16x16 (const SP16x16 *src, SP16x16 *dst)
 MSX Bitwise NOT (complement) of an 16x16 pixels 1bpp sprite pattern.
 
void im_cmpl_v_SP16x16 (const SP16x16 *src)
 MSX Bitwise NOT (complement) of an 16x16 pixels 1bpp sprite pattern.
 
void im_diff_SP16x16 (const SP16x16 *src1, const SP16x16 *src2, SP16x16 *dst)
 MSX Bitwise SET-DIFFERENCE of two 16x16 pixels 1bpp sprite patterns.
 
void im_diff_v_SP16x16 (const SP16x16 *src1, const SP16x16 *src2)
 MSX Bitwise SET-DIFFERENCE of two 16x16 pixels 1bpp sprite patterns.
 
void im_and_SP16x16 (const SP16x16 *src1, const SP16x16 *src2, SP16x16 *dst)
 MSX Bitwise AND of two 16x16 pixel 1bpp sprite patterns.
 
void im_and_v_SP16x16 (const SP16x16 *src1, const SP16x16 *src2)
 MSX Bitwise AND of two 16x16 pixel 1bpp sprite patterns.
 
void im_or_SP16x16 (const SP16x16 *src1, const SP16x16 *src2, SP16x16 *dst)
 MSX Bitwise OR of two 16x16 pixel 1bpp sprite patterns.
 
void im_or_v_SP16x16 (const SP16x16 *src1, const SP16x16 *src2)
 MSX Bitwise OR of two 16x16 pixel 1bpp sprite patterns.
 
void im_xor_SP16x16 (const SP16x16 *src1, const SP16x16 *src2, SP16x16 *dst)
 MSX Bitwise XOR of two 16x16 pixel 1bpp sprite patterns.
 
void im_xor_v_SP16x16 (const SP16x16 *src1, const SP16x16 *src2)
 MSX Bitwise XOR of two 16x16 pixel 1bpp sprite patterns.
 

Detailed Description

Boolean operators for 16x16 1bpp sprite patterns.

OPERATOR ROM/RAM to RAM ROM/RAM to VRAM
BITWISE NOT (COMPLEMENT) im_cmpl_SP16x16() im_cmpl_v_SP16x16()
BITWISE AND im_and_SP16x16() im_and_v_SP16x16()
BITWISE OR im_or_SP16x16() im_or_v_SP16x16()
BITWISE XOR im_xor_SP16x16() im_xor_v_SP16x16()
PIXELWISE SET-DIFFERENCE im_diff_SP16x16() im_diff_v_SP16x16()

Function Documentation

◆ im_cmpl_SP16x16()

void im_cmpl_SP16x16 ( const SP16x16 src,
SP16x16 dst 
)

MSX Bitwise NOT (complement) of an 16x16 pixels 1bpp sprite pattern.

Parameters
srcPointer to source image.
dstPointer to destination image.

◆ im_cmpl_v_SP16x16()

void im_cmpl_v_SP16x16 ( const SP16x16 src)

MSX Bitwise NOT (complement) of an 16x16 pixels 1bpp sprite pattern.

Parameters
srcPointer to source image.
Note
The destination VRAM address must be set in advance with vmem_set_write_address().

◆ im_diff_SP16x16()

void im_diff_SP16x16 ( const SP16x16 src1,
const SP16x16 src2,
SP16x16 dst 
)

MSX Bitwise SET-DIFFERENCE of two 16x16 pixels 1bpp sprite patterns.

Parameters
src1Pointer to source image.
src2Pointer to another source image.
dstPointer to destination image.

◆ im_diff_v_SP16x16()

void im_diff_v_SP16x16 ( const SP16x16 src1,
const SP16x16 src2 
)

MSX Bitwise SET-DIFFERENCE of two 16x16 pixels 1bpp sprite patterns.

Parameters
src1Pointer to source image.
src2Pointer to another source image.
Note
The destination VRAM address must be set in advance with vmem_set_write_address().

◆ im_and_SP16x16()

void im_and_SP16x16 ( const SP16x16 src1,
const SP16x16 src2,
SP16x16 dst 
)

MSX Bitwise AND of two 16x16 pixel 1bpp sprite patterns.

Parameters
src1Pointer to source image.
src2Pointer to another source image.
dstPointer to destination image.

◆ im_and_v_SP16x16()

void im_and_v_SP16x16 ( const SP16x16 src1,
const SP16x16 src2 
)

MSX Bitwise AND of two 16x16 pixel 1bpp sprite patterns.

Parameters
src1Pointer to source image.
src2Pointer to another source image.
Note
The destination VRAM address must be set in advance with vmem_set_write_address().

◆ im_or_SP16x16()

void im_or_SP16x16 ( const SP16x16 src1,
const SP16x16 src2,
SP16x16 dst 
)

MSX Bitwise OR of two 16x16 pixel 1bpp sprite patterns.

Parameters
src1Pointer to source image.
src2Pointer to another source image.
dstPointer to destination image.

◆ im_or_v_SP16x16()

void im_or_v_SP16x16 ( const SP16x16 src1,
const SP16x16 src2 
)

MSX Bitwise OR of two 16x16 pixel 1bpp sprite patterns.

Parameters
src1Pointer to source image.
src2Pointer to another source image.
Note
The destination VRAM address must be set in advance with vmem_set_write_address().

◆ im_xor_SP16x16()

void im_xor_SP16x16 ( const SP16x16 src1,
const SP16x16 src2,
SP16x16 dst 
)

MSX Bitwise XOR of two 16x16 pixel 1bpp sprite patterns.

Parameters
src1Pointer to source image.
src2Pointer to another source image.
dstPointer to destination image.

◆ im_xor_v_SP16x16()

void im_xor_v_SP16x16 ( const SP16x16 src1,
const SP16x16 src2 
)

MSX Bitwise XOR of two 16x16 pixel 1bpp sprite patterns.

Parameters
src1Pointer to source image.
src2Pointer to another source image.
Note
The destination VRAM address must be set in advance with vmem_set_write_address().