libww libww
WWitch compatibility library for the Wonderful toolchain
Loading...
Searching...
No Matches
libwwc.h File Reference
#include <sys/types.h>

Go to the source code of this file.

Macros

#define HARDARCH_WS   0
 
#define HARDARCH_WSC   1
 
#define COLOR_MODE_GRAYSCALE   0x00
 
#define COLOR_MODE_4COLOR   0x80
 
#define COLOR_MODE_16COLOR   0xC0
 
#define COLOR_MODE_16PACKED   0xE0
 

Functions

uint8_t wwc_get_hardarch (void)
 
void wwc_set_color_mode (uint8_t mode)
 
uint8_t wwc_get_color_mode (void)
 
void wwc_palette_set_color (uint8_t index, uint8_t color, uint16_t rgb)
 
uint16_t wwc_palette_get_color (uint8_t index, uint8_t color)
 
void wwc_font_set_colordata (uint16_t start, uint16_t count, const void __far *data)
 
void wwc_font_get_colordata (uint16_t start, uint16_t count, void __far *data)
 
void wwc_clear_font (void)
 
void wwc_sys_get_ownerinfo (uint16_t size, void *data)
 

Macro Definition Documentation

◆ COLOR_MODE_16COLOR

#define COLOR_MODE_16COLOR   0xC0

Definition at line 20 of file libwwc.h.

◆ COLOR_MODE_16PACKED

#define COLOR_MODE_16PACKED   0xE0

Definition at line 22 of file libwwc.h.

◆ COLOR_MODE_4COLOR

#define COLOR_MODE_4COLOR   0x80

Definition at line 18 of file libwwc.h.

◆ COLOR_MODE_GRAYSCALE

#define COLOR_MODE_GRAYSCALE   0x00

Definition at line 16 of file libwwc.h.

◆ HARDARCH_WS

#define HARDARCH_WS   0

Definition at line 10 of file libwwc.h.

◆ HARDARCH_WSC

#define HARDARCH_WSC   1

Definition at line 12 of file libwwc.h.

Function Documentation

◆ wwc_clear_font()

void wwc_clear_font ( void )

◆ wwc_font_get_colordata()

void wwc_font_get_colordata ( uint16_t start,
uint16_t count,
void __far * data )

◆ wwc_font_set_colordata()

void wwc_font_set_colordata ( uint16_t start,
uint16_t count,
const void __far * data )

◆ wwc_get_color_mode()

uint8_t wwc_get_color_mode ( void )

◆ wwc_get_hardarch()

uint8_t wwc_get_hardarch ( void )

◆ wwc_palette_get_color()

uint16_t wwc_palette_get_color ( uint8_t index,
uint8_t color )

◆ wwc_palette_set_color()

void wwc_palette_set_color ( uint8_t index,
uint8_t color,
uint16_t rgb )

◆ wwc_set_color_mode()

void wwc_set_color_mode ( uint8_t mode)

◆ wwc_sys_get_ownerinfo()

void wwc_sys_get_ownerinfo ( uint16_t size,
void * data )