ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
to8.c File Reference
#include "../ugbc.h"
#include <math.h>

Go to the source code of this file.

Functions

void to8_xpen (Environment *_environment, char *_destination)
void to8_ypen (Environment *_environment, char *_destination)
void to8_color_border (Environment *_environment, char *_color)
void to8_vscroll (Environment *_environment, int _displacement)
void to8_text_at (Environment *_environment, char *_text, char *_text_size, char *_pen, char *_paper)
void to8_cls (Environment *_environment, char *_pen, char *_paper)
void to8_inkey (Environment *_environment, char *_pressed, char *_key)
void to8_wait_key_or_fire (Environment *_environment, int _port, int _release)
void to8_wait_key_or_fire_semivar (Environment *_environment, char *_port, int _release)
void to8_wait_fire (Environment *_environment, int _port, int _release)
void to8_wait_fire_semivar (Environment *_environment, char *_port, int _release)
void to8_scancode (Environment *_environment, char *_pressed, char *_scancode)
void to8_scanshift (Environment *_environment, char *_shifts)
void to8_keyshift (Environment *_environment, char *_shifts)
void to8_clear_key (Environment *_environment)
void to8_initialization (Environment *_environment)
int to8_screen_mode_enable (Environment *_environment, ScreenMode *_screen_mode)
void to8_bitmap_enable (Environment *_environment, int _width, int _height, int _colors)
void to8_tilemap_enable (Environment *_environment, int _width, int _height, int _colors, int _tile_width, int _tile_height)
void to8_back (Environment *_environment)
void to8_busy_wait (Environment *_environment, char *_timing)
void to8_key_pressed (Environment *_environment, char *_scancode, char *_result)
void to8_joystick_semivars (Environment *_environment, char *_joystick, char *_result)
void to8_joystick (Environment *_environment, int _joystick, char *_result)
void to8_sys_call (Environment *_environment, int _destination)
void to8_timer_set_status_on (Environment *_environment, char *_timer)
void to8_timer_set_status_off (Environment *_environment, char *_timer)
void to8_timer_set_counter (Environment *_environment, char *_timer, char *_counter)
void to8_timer_set_init (Environment *_environment, char *_timer, char *_init)
void to8_timer_set_address (Environment *_environment, char *_timer, char *_address)
void to8_dload (Environment *_environment, char *_address, char *_bank, char *_size)

Function Documentation

◆ to8_back()

void to8_back ( Environment * _environment)

Definition at line 195 of file to8.c.

◆ to8_bitmap_enable()

void to8_bitmap_enable ( Environment * _environment,
int _width,
int _height,
int _colors )

Definition at line 187 of file to8.c.

◆ to8_busy_wait()

void to8_busy_wait ( Environment * _environment,
char * _timing )

Definition at line 199 of file to8.c.

◆ to8_clear_key()

void to8_clear_key ( Environment * _environment)

Definition at line 175 of file to8.c.

◆ to8_cls()

void to8_cls ( Environment * _environment,
char * _pen,
char * _paper )

Definition at line 78 of file to8.c.

◆ to8_color_border()

void to8_color_border ( Environment * _environment,
char * _color )

Definition at line 66 of file to8.c.

◆ to8_dload()

void to8_dload ( Environment * _environment,
char * _address,
char * _bank,
char * _size )

Definition at line 360 of file to8.c.

◆ to8_initialization()

void to8_initialization ( Environment * _environment)

Definition at line 179 of file to8.c.

◆ to8_inkey()

void to8_inkey ( Environment * _environment,
char * _pressed,
char * _key )

Definition at line 82 of file to8.c.

◆ to8_joystick()

void to8_joystick ( Environment * _environment,
int _joystick,
char * _result )

Definition at line 250 of file to8.c.

◆ to8_joystick_semivars()

void to8_joystick_semivars ( Environment * _environment,
char * _joystick,
char * _result )

Definition at line 231 of file to8.c.

◆ to8_key_pressed()

void to8_key_pressed ( Environment * _environment,
char * _scancode,
char * _result )

Definition at line 212 of file to8.c.

◆ to8_keyshift()

void to8_keyshift ( Environment * _environment,
char * _shifts )

Definition at line 162 of file to8.c.

◆ to8_scancode()

void to8_scancode ( Environment * _environment,
char * _pressed,
char * _scancode )

Definition at line 144 of file to8.c.

◆ to8_scanshift()

void to8_scanshift ( Environment * _environment,
char * _shifts )

Definition at line 156 of file to8.c.

◆ to8_screen_mode_enable()

int to8_screen_mode_enable ( Environment * _environment,
ScreenMode * _screen_mode )

Definition at line 183 of file to8.c.

◆ to8_sys_call()

void to8_sys_call ( Environment * _environment,
int _destination )

Definition at line 269 of file to8.c.

◆ to8_text_at()

void to8_text_at ( Environment * _environment,
char * _text,
char * _text_size,
char * _pen,
char * _paper )

Definition at line 74 of file to8.c.

◆ to8_tilemap_enable()

void to8_tilemap_enable ( Environment * _environment,
int _width,
int _height,
int _colors,
int _tile_width,
int _tile_height )

Definition at line 191 of file to8.c.

◆ to8_timer_set_address()

void to8_timer_set_address ( Environment * _environment,
char * _timer,
char * _address )

Definition at line 345 of file to8.c.

◆ to8_timer_set_counter()

void to8_timer_set_counter ( Environment * _environment,
char * _timer,
char * _counter )

Definition at line 311 of file to8.c.

◆ to8_timer_set_init()

void to8_timer_set_init ( Environment * _environment,
char * _timer,
char * _init )

Definition at line 330 of file to8.c.

◆ to8_timer_set_status_off()

void to8_timer_set_status_off ( Environment * _environment,
char * _timer )

Definition at line 296 of file to8.c.

◆ to8_timer_set_status_on()

void to8_timer_set_status_on ( Environment * _environment,
char * _timer )

Definition at line 281 of file to8.c.

◆ to8_vscroll()

void to8_vscroll ( Environment * _environment,
int _displacement )

Definition at line 70 of file to8.c.

◆ to8_wait_fire()

void to8_wait_fire ( Environment * _environment,
int _port,
int _release )

Definition at line 102 of file to8.c.

◆ to8_wait_fire_semivar()

void to8_wait_fire_semivar ( Environment * _environment,
char * _port,
int _release )

Definition at line 123 of file to8.c.

◆ to8_wait_key_or_fire()

void to8_wait_key_or_fire ( Environment * _environment,
int _port,
int _release )

Definition at line 93 of file to8.c.

◆ to8_wait_key_or_fire_semivar()

void to8_wait_key_or_fire_semivar ( Environment * _environment,
char * _port,
int _release )

Definition at line 98 of file to8.c.

◆ to8_xpen()

void to8_xpen ( Environment * _environment,
char * _destination )

Definition at line 44 of file to8.c.

◆ to8_ypen()

void to8_ypen ( Environment * _environment,
char * _destination )

Definition at line 55 of file to8.c.