libwwcl libwwcl
WWitch compatibility layer for the Wonderful toolchain
Loading...
Searching...
No Matches
text.h File Reference
#include "types.h"

Go to the source code of this file.

Macros

#define TEXT_SCREEN_WIDTH   28
#define TEXT_SCREEN_HEIGHT   18
#define TEXT_MODE_ANK   0
#define TEXT_MODE_ANK_SJIS   1
#define TEXT_MODE_SJIS   2
#define NUM_HEXA   0x01
#define NUM_PADSPACE   0x00
#define NUM_PADZERO   0x02
#define NUM_ALIGN_RIGHT   0x00
#define NUM_ALIGN_LEFT   0x04
#define NUM_SIGNED   0x08
#define NUM_STORE   0x80

Functions

void text_screen_init (void)
void text_window_init (uint8_t x, uint8_t y, uint8_t width, uint8_t height, uint16_t base)
void text_set_mode (uint16_t mode)
uint16_t text_get_mode (void)
void text_put_char (uint8_t x, uint8_t y, uint16_t chr)
uint16_t text_put_string (uint8_t x, uint8_t y, const char __far *str)
uint16_t text_put_substring (uint8_t x, uint8_t y, const char __far *str, uint16_t length)
uint16_t text_put_numeric (uint8_t x, uint8_t y, uint8_t width, uint8_t flags, uint16_t value)
uint16_t text_fill_char (uint8_t x, uint8_t y, uint16_t length, uint16_t chr)
void text_set_palette (uint16_t palette_index)
uint16_t text_get_palette (void)
void text_get_fontdata (uint16_t chr, void __far *buf)
void text_set_screen (uint8_t screen_id)
uint16_t text_get_screen (void)
void cursor_display (uint8_t on)
uint16_t cursor_status (void)
void cursor_set_location (uint8_t x, uint8_t y, uint8_t width, uint8_t height)
uint32_t cursor_get_location (void)
void cursor_set_type (uint16_t palette_index, uint16_t blink_interval)
uint32_t cursor_get_type (void)

Detailed Description

FreyaBIOS text calls.

Definition in file text.h.