ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
gtia.h File Reference
#include "../ugbc.h"

Go to the source code of this file.

Macros

#define COLOR_BLACK   0x00
#define COLOR_DARK_WHITE   0x08
#define COLOR_WHITE   0x0d
#define COLOR_LIGHT_WHITE   0x0f
#define COLOR_DARK_RED   0x20
#define COLOR_RED   0x24
#define COLOR_LIGHT_RED   0x28
#define COLOR_VIOLET   0x64
#define COLOR_DARK_GREEN   0xb0
#define COLOR_GREEN   0xb6
#define COLOR_LIGHT_GREEN   0xba
#define COLOR_DARK_BLUE   0x70
#define COLOR_BLUE   0x74
#define COLOR_LIGHT_BLUE   0x7e
#define COLOR_YELLOW   0x1f
#define COLOR_ORANGE   0x29
#define COLOR_BROWN   0x24
#define COLOR_DARK_GREY   0x04
#define COLOR_GREY   0x08
#define COLOR_LIGHT_GREY   0x0e
#define COLOR_MAGENTA   0x6d
#define COLOR_PURPLE   COLOR_VIOLET
#define COLOR_LAVENDER   0x6a
#define COLOR_GOLD   0x2c
#define COLOR_TURQUOISE   0xaf
#define COLOR_TAN   0xab
#define COLOR_YELLOW_GREEN   0x18
#define COLOR_OLIVE_GREEN   0x14
#define COLOR_PINK   0x3c
#define COLOR_PEACH   0x3b
#define COLOR_CYAN   0xae
#define DEFAULT_PEN_COLOR   COLOR_WHITE
#define DEFAULT_PAPER_COLOR   COLOR_BLACK
#define TEXT_COLUMNS_COUNT   40
#define TEXT_ROWS_COUNT   24
#define BITMAP_MODE_ANTIC8   8
#define BITMAP_MODE_ANTIC9   9
#define BITMAP_MODE_ANTIC10   10
#define BITMAP_MODE_ANTIC11   11
#define BITMAP_MODE_ANTIC13   13
#define BITMAP_MODE_ANTIC15   15
#define BITMAP_MODE_ANTIC12   12
#define BITMAP_MODE_ANTIC14   14
#define TILEMAP_MODE_ANTIC2   2
#define TILEMAP_MODE_ANTIC6   6
#define TILEMAP_MODE_ANTIC7   7
#define TILEMAP_MODE_ANTIC3   3
#define TILEMAP_MODE_ANTIC4   4
#define TILEMAP_MODE_ANTIC5   5
#define BITMAP_MODE_DEFAULT   BITMAP_MODE_ANTIC11
#define BITMAP_MODE_STANDARD   BITMAP_MODE_DEFAULT
#define COLOR_COUNT   255
#define SPRITE_COUNT   8
#define SPRITE_WIDTH   8
#define SPRITE_HEIGHT   -1
#define SPRITE_X_MIN   0
#define SPRITE_Y_MIN   0
#define SPRITE_X_MAX   0
#define SPRITE_Y_MAX   0
#define SCREEN_SPRITE_RATIO_X   100
#define SCREEN_SPRITE_RATIO_Y   100
#define SCREEN_BORDER_X   0
#define SCREEN_BORDER_Y   0
#define IMAGE_WIDTH_SIZE   2
#define IMAGE_WIDTH_OFFSET   0
#define IMAGE_HEIGHT_SIZE   1
#define IMAGE_HEIGHT_OFFSET   2
#define DOUBLE_BUFFER_PAGE_0   0
#define DOUBLE_BUFFER_PAGE_1   1
#define FRAME_BUFFER_ADDRESS   0xbf00

Functions

int gtia_screen_mode_enable (Environment *_environment, ScreenMode *_screen_mode)
void gtia_initialization (Environment *_environment)
void gtia_finalization (Environment *_environment)
void gtia_back (Environment *_environment)
void gtia_clear (Environment *_environment, char *_pattern)
void gtia_background_color (Environment *_environment, int _index, int _background_color)
 GTIA: emit code to change background color
void gtia_background_color_vars (Environment *_environment, char *_index, char *_background_color)
 GTIA: emit code to change background color
void gtia_background_color_semivars (Environment *_environment, int _index, char *_background_color)
 GTIA: emit code to change background color
void gtia_background_color_get_vars (Environment *_environment, char *_index, char *_background_color)
 GTIA: emit code to change background color
void gtia_border_color (Environment *_environment, int _border_color)
 GTIA: emit code to change border color
void gtia_border_color_vars (Environment *_environment, char *_border_color)
void gtia_collision (Environment *_environment, char *_sprite_mask, char *_result)
void gtia_hit (Environment *_environment, char *_sprite_mask, char *_result)
void gtia_sprite_common_color (Environment *_environment, char *_index, char *_common_color)
void gtia_bitmap_enable (Environment *_environment, int _width, int _height, int _colors)
void gtia_bitmap_disable (Environment *_environment)
void gtia_bitmap_at (Environment *_environment, char *_address)
void gtia_colormap_at (Environment *_environment, char *_address)
void gtia_textmap_at (Environment *_environment, char *_address)
void gtia_tiles_at (Environment *_environment, char *_address)
void gtia_tilemap_enable (Environment *_environment, int _width, int _height, int _colors, int _tile_width, int _tile_height)
void gtia_fade (Environment *_environment, char *_ticks)
void gtia_bank_select (Environment *_environment, int _bank)
void gtia_screen_on (Environment *_environment)
void gtia_screen_off (Environment *_environment)
void gtia_screen_rows (Environment *_environment, char *_rows)
void gtia_screen_columns (Environment *_environment, char *_columns)
void gtia_sprite_data_from (Environment *_environment, char *_sprite, char *_address)
void gtia_sprite_data_set (Environment *_environment, char *_sprite, char *_address)
void gtia_sprite_enable (Environment *_environment, char *_sprite)
void gtia_sprite_disable (Environment *_environment, char *_sprite)
void gtia_sprite_at (Environment *_environment, char *_sprite, char *_x, char *_y)
void gtia_sprite_expand_vertical (Environment *_environment, char *_sprite)
void gtia_sprite_expand_horizontal (Environment *_environment, char *_sprite)
void gtia_sprite_compress_vertical (Environment *_environment, char *_sprite)
void gtia_sprite_compress_horizontal (Environment *_environment, char *_sprite)
void gtia_sprite_multicolor (Environment *_environment, char *_sprite)
void gtia_sprite_monocolor (Environment *_environment, char *_sprite)
void gtia_sprite_color (Environment *_environment, char *_sprite, char *_color)
void gtia_sprite_priority (Environment *_environment, char *_sprite, char *_priority)
void gtia_vertical_scroll (Environment *_environment, char *_displacement)
void gtia_horizontal_scroll (Environment *_environment, char *_displacement)
void gtia_busy_wait (Environment *_environment, char *_timing)
void gtia_tiles_get (Environment *_environment, char *_result)
void gtia_get_width (Environment *_environment, char *_result)
void gtia_get_height (Environment *_environment, char *_result)
void gtia_pset_int (Environment *_environment, int _x, int _y, int *_c)
void gtia_pset_vars (Environment *_environment, char *_x, char *_y, char *_c)
void gtia_pget_color_vars (Environment *_environment, char *_x, char *_y, char *_result)
void gtia_cls (Environment *_environment)
void gtia_cls_box (Environment *_environment, char *_x1, char *_y1, char *_w, char *_h)
void gtia_scroll_text (Environment *_environment, int _direction, int _overlap)
void gtia_hscroll_line (Environment *_environment, int _direction, int _overlap)
void gtia_hscroll_screen (Environment *_environment, int _direction, int _overlap)
void gtia_text (Environment *_environment, char *_text, char *_text_size, int _raw)
void gtia_cline (Environment *_environment, char *_characters)
void gtia_scroll (Environment *_environment, int _dx, int _dy)
int gtia_image_size (Environment *_environment, int _width, int _height, int _mode)
Variablegtia_image_converter (Environment *_environment, char *_data, int _width, int _height, int _depth, int _offset_x, int _offset_y, int _frame_width, int _frame_height, int _mode, int _transparent_color, int _flags)
void gtia_put_image (Environment *_environment, Resource *_image, char *_x, char *_y, char *_frame, char *_sequence, int _frame_size, int _frame_count, char *_flags)
void gtia_blit_image (Environment *_environment, char *_sources[], int _source_count, char *_blit, char *_x, char *_y, char *_frame, char *_sequence, int _frame_size, int _frame_count, int _flags)
void gtia_wait_vbl (Environment *_environment, char *_raster_line)
Variablegtia_new_image (Environment *_environment, int _width, int _height, int _mode)
Variablegtia_new_images (Environment *_environment, int _frames, int _width, int _height, int _mode)
Variablegtia_new_sequence (Environment *_environment, int _sequences, int _frames, int _width, int _height, int _mode)
void gtia_get_image (Environment *_environment, char *_image, char *_x, char *_y, char *_frame, char *_sequence, int _frame_size, int _frame_count, int _palette)
Variablegtia_get_raster_line (Environment *_environment)
void gtia_put_tile (Environment *_environment, char *_image, char *_x, char *_y)
void gtia_put_tiles (Environment *_environment, char *_image, char *_x, char *_y, char *_w, char *_h)
void gtia_move_tiles (Environment *_environment, char *_image, char *_x, char *_y)
void gtia_use_tileset (Environment *_environment, char *_tileset)
void gtia_tile_at (Environment *_environment, char *_x, char *_y, char *_result)
void gtia_slice_image (Environment *_environment, char *_image, char *_frame, char *_sequence, int _frame_size, int _frame_count, char *_destination)
int gtia_palette_extract (Environment *_environment, char *_data, int _width, int _height, int _depth, int _flags, RGBi *_palette)
void gtia_calculate_sequence_frame_offset (Environment *_environment, char *_offset, char *_sequence, char *_frame, int _frame_size, int _frame_count)
void gtia_flip_image (Environment *_environment, Resource *_image, char *_frame, char *_sequence, int _frame_size, int _frame_count, char *_direction)
void gtia_screen (Environment *_environment, char *_x, char *_y, char *_c)
void gtia_flash_begin (Environment *_environment, char *_index, char *_register)
void gtia_flash_register (Environment *_environment, char *_index, char *_timer, char *_color)
void gtia_flash_end (Environment *_environment)
void gtia_flash_off (Environment *_environment, char *_index)

Macro Definition Documentation

◆ BITMAP_MODE_ANTIC10

#define BITMAP_MODE_ANTIC10   10

Definition at line 118 of file gtia.h.

◆ BITMAP_MODE_ANTIC11

#define BITMAP_MODE_ANTIC11   11

Definition at line 123 of file gtia.h.

◆ BITMAP_MODE_ANTIC12

#define BITMAP_MODE_ANTIC12   12

Definition at line 154 of file gtia.h.

◆ BITMAP_MODE_ANTIC13

#define BITMAP_MODE_ANTIC13   13

Definition at line 130 of file gtia.h.

◆ BITMAP_MODE_ANTIC14

#define BITMAP_MODE_ANTIC14   14

Definition at line 161 of file gtia.h.

◆ BITMAP_MODE_ANTIC15

#define BITMAP_MODE_ANTIC15   15

Definition at line 144 of file gtia.h.

◆ BITMAP_MODE_ANTIC8

#define BITMAP_MODE_ANTIC8   8

Definition at line 104 of file gtia.h.

◆ BITMAP_MODE_ANTIC9

#define BITMAP_MODE_ANTIC9   9

Definition at line 112 of file gtia.h.

◆ BITMAP_MODE_DEFAULT

#define BITMAP_MODE_DEFAULT   BITMAP_MODE_ANTIC11

Definition at line 213 of file gtia.h.

◆ BITMAP_MODE_STANDARD

#define BITMAP_MODE_STANDARD   BITMAP_MODE_DEFAULT

Definition at line 214 of file gtia.h.

◆ COLOR_BLACK

#define COLOR_BLACK   0x00

Definition at line 59 of file gtia.h.

◆ COLOR_BLUE

#define COLOR_BLUE   0x74

Definition at line 71 of file gtia.h.

◆ COLOR_BROWN

#define COLOR_BROWN   0x24

Definition at line 75 of file gtia.h.

◆ COLOR_COUNT

#define COLOR_COUNT   255

Definition at line 216 of file gtia.h.

◆ COLOR_CYAN

#define COLOR_CYAN   0xae

Definition at line 89 of file gtia.h.

◆ COLOR_DARK_BLUE

#define COLOR_DARK_BLUE   0x70

Definition at line 70 of file gtia.h.

◆ COLOR_DARK_GREEN

#define COLOR_DARK_GREEN   0xb0

Definition at line 67 of file gtia.h.

◆ COLOR_DARK_GREY

#define COLOR_DARK_GREY   0x04

Definition at line 76 of file gtia.h.

◆ COLOR_DARK_RED

#define COLOR_DARK_RED   0x20

Definition at line 63 of file gtia.h.

◆ COLOR_DARK_WHITE

#define COLOR_DARK_WHITE   0x08

Definition at line 60 of file gtia.h.

◆ COLOR_GOLD

#define COLOR_GOLD   0x2c

Definition at line 82 of file gtia.h.

◆ COLOR_GREEN

#define COLOR_GREEN   0xb6

Definition at line 68 of file gtia.h.

◆ COLOR_GREY

#define COLOR_GREY   0x08

Definition at line 77 of file gtia.h.

◆ COLOR_LAVENDER

#define COLOR_LAVENDER   0x6a

Definition at line 81 of file gtia.h.

◆ COLOR_LIGHT_BLUE

#define COLOR_LIGHT_BLUE   0x7e

Definition at line 72 of file gtia.h.

◆ COLOR_LIGHT_GREEN

#define COLOR_LIGHT_GREEN   0xba

Definition at line 69 of file gtia.h.

◆ COLOR_LIGHT_GREY

#define COLOR_LIGHT_GREY   0x0e

Definition at line 78 of file gtia.h.

◆ COLOR_LIGHT_RED

#define COLOR_LIGHT_RED   0x28

Definition at line 65 of file gtia.h.

◆ COLOR_LIGHT_WHITE

#define COLOR_LIGHT_WHITE   0x0f

Definition at line 62 of file gtia.h.

◆ COLOR_MAGENTA

#define COLOR_MAGENTA   0x6d

Definition at line 79 of file gtia.h.

◆ COLOR_OLIVE_GREEN

#define COLOR_OLIVE_GREEN   0x14

Definition at line 86 of file gtia.h.

◆ COLOR_ORANGE

#define COLOR_ORANGE   0x29

Definition at line 74 of file gtia.h.

◆ COLOR_PEACH

#define COLOR_PEACH   0x3b

Definition at line 88 of file gtia.h.

◆ COLOR_PINK

#define COLOR_PINK   0x3c

Definition at line 87 of file gtia.h.

◆ COLOR_PURPLE

#define COLOR_PURPLE   COLOR_VIOLET

Definition at line 80 of file gtia.h.

◆ COLOR_RED

#define COLOR_RED   0x24

Definition at line 64 of file gtia.h.

◆ COLOR_TAN

#define COLOR_TAN   0xab

Definition at line 84 of file gtia.h.

◆ COLOR_TURQUOISE

#define COLOR_TURQUOISE   0xaf

Definition at line 83 of file gtia.h.

◆ COLOR_VIOLET

#define COLOR_VIOLET   0x64

Definition at line 66 of file gtia.h.

◆ COLOR_WHITE

#define COLOR_WHITE   0x0d

Definition at line 61 of file gtia.h.

◆ COLOR_YELLOW

#define COLOR_YELLOW   0x1f

Definition at line 73 of file gtia.h.

◆ COLOR_YELLOW_GREEN

#define COLOR_YELLOW_GREEN   0x18

Definition at line 85 of file gtia.h.

◆ DEFAULT_PAPER_COLOR

#define DEFAULT_PAPER_COLOR   COLOR_BLACK

Definition at line 92 of file gtia.h.

◆ DEFAULT_PEN_COLOR

#define DEFAULT_PEN_COLOR   COLOR_WHITE

Definition at line 91 of file gtia.h.

◆ DOUBLE_BUFFER_PAGE_0

#define DOUBLE_BUFFER_PAGE_0   0

Definition at line 237 of file gtia.h.

◆ DOUBLE_BUFFER_PAGE_1

#define DOUBLE_BUFFER_PAGE_1   1

Definition at line 238 of file gtia.h.

◆ FRAME_BUFFER_ADDRESS

#define FRAME_BUFFER_ADDRESS   0xbf00

Definition at line 241 of file gtia.h.

◆ IMAGE_HEIGHT_OFFSET

#define IMAGE_HEIGHT_OFFSET   2

Definition at line 235 of file gtia.h.

◆ IMAGE_HEIGHT_SIZE

#define IMAGE_HEIGHT_SIZE   1

Definition at line 234 of file gtia.h.

◆ IMAGE_WIDTH_OFFSET

#define IMAGE_WIDTH_OFFSET   0

Definition at line 233 of file gtia.h.

◆ IMAGE_WIDTH_SIZE

#define IMAGE_WIDTH_SIZE   2

Definition at line 232 of file gtia.h.

◆ SCREEN_BORDER_X

#define SCREEN_BORDER_X   0

Definition at line 229 of file gtia.h.

◆ SCREEN_BORDER_Y

#define SCREEN_BORDER_Y   0

Definition at line 230 of file gtia.h.

◆ SCREEN_SPRITE_RATIO_X

#define SCREEN_SPRITE_RATIO_X   100

Definition at line 227 of file gtia.h.

◆ SCREEN_SPRITE_RATIO_Y

#define SCREEN_SPRITE_RATIO_Y   100

Definition at line 228 of file gtia.h.

◆ SPRITE_COUNT

#define SPRITE_COUNT   8

Definition at line 218 of file gtia.h.

◆ SPRITE_HEIGHT

#define SPRITE_HEIGHT   -1

Definition at line 220 of file gtia.h.

◆ SPRITE_WIDTH

#define SPRITE_WIDTH   8

Definition at line 219 of file gtia.h.

◆ SPRITE_X_MAX

#define SPRITE_X_MAX   0

Definition at line 224 of file gtia.h.

◆ SPRITE_X_MIN

#define SPRITE_X_MIN   0

Definition at line 222 of file gtia.h.

◆ SPRITE_Y_MAX

#define SPRITE_Y_MAX   0

Definition at line 225 of file gtia.h.

◆ SPRITE_Y_MIN

#define SPRITE_Y_MIN   0

Definition at line 223 of file gtia.h.

◆ TEXT_COLUMNS_COUNT

#define TEXT_COLUMNS_COUNT   40

Definition at line 94 of file gtia.h.

◆ TEXT_ROWS_COUNT

#define TEXT_ROWS_COUNT   24

Definition at line 95 of file gtia.h.

◆ TILEMAP_MODE_ANTIC2

#define TILEMAP_MODE_ANTIC2   2

Definition at line 172 of file gtia.h.

◆ TILEMAP_MODE_ANTIC3

#define TILEMAP_MODE_ANTIC3   3

Definition at line 196 of file gtia.h.

◆ TILEMAP_MODE_ANTIC4

#define TILEMAP_MODE_ANTIC4   4

Definition at line 206 of file gtia.h.

◆ TILEMAP_MODE_ANTIC5

#define TILEMAP_MODE_ANTIC5   5

Definition at line 211 of file gtia.h.

◆ TILEMAP_MODE_ANTIC6

#define TILEMAP_MODE_ANTIC6   6

Definition at line 184 of file gtia.h.

◆ TILEMAP_MODE_ANTIC7

#define TILEMAP_MODE_ANTIC7   7

Definition at line 189 of file gtia.h.

Function Documentation

◆ gtia_back()

void gtia_back ( Environment * _environment)

Definition at line 2293 of file gtia.c.

◆ gtia_background_color()

void gtia_background_color ( Environment * _environment,
int _index,
int _background_color )

GTIA: emit code to change background color

This function can be used to issue code aimed at changing the background color of the screen.

Parameters
_environmentCurrent calling environment
_indexIndex of the background color
_background_colorBackground color to use

Definition at line 160 of file gtia.c.

◆ gtia_background_color_get_vars()

void gtia_background_color_get_vars ( Environment * _environment,
char * _index,
char * _background_color )

GTIA: emit code to change background color

This function can be used to issue code aimed at changing the background color of the screen.

Parameters
_environmentCurrent calling environment
_indexIndex of the background color
_background_colorBackground color to use

Definition at line 583 of file gtia.c.

◆ gtia_background_color_semivars()

void gtia_background_color_semivars ( Environment * _environment,
int _index,
char * _background_color )

GTIA: emit code to change background color

This function can be used to issue code aimed at changing the background color of the screen.

Parameters
_environmentCurrent calling environment
_indexIndex of the background color
_background_colorBackground color to use

Definition at line 436 of file gtia.c.

◆ gtia_background_color_vars()

void gtia_background_color_vars ( Environment * _environment,
char * _index,
char * _background_color )

GTIA: emit code to change background color

This function can be used to issue code aimed at changing the background color of the screen.

Parameters
_environmentCurrent calling environment
_indexIndex of the background color
_background_colorBackground color to use

Definition at line 289 of file gtia.c.

◆ gtia_bank_select()

void gtia_bank_select ( Environment * _environment,
int _bank )

Definition at line 720 of file gtia.c.

◆ gtia_bitmap_at()

void gtia_bitmap_at ( Environment * _environment,
char * _address )

Definition at line 1700 of file gtia.c.

◆ gtia_bitmap_disable()

void gtia_bitmap_disable ( Environment * _environment)

Definition at line 1675 of file gtia.c.

◆ gtia_bitmap_enable()

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

Definition at line 1658 of file gtia.c.

◆ gtia_blit_image()

void gtia_blit_image ( Environment * _environment,
char * _sources[],
int _source_count,
char * _blit,
char * _x,
char * _y,
char * _frame,
char * _sequence,
int _frame_size,
int _frame_count,
int _flags )

Definition at line 3556 of file gtia.c.

◆ gtia_border_color()

void gtia_border_color ( Environment * _environment,
int _border_color )

GTIA: emit code to change border color

This function can be used to issue code aimed at changing the border color of the screen.

Parameters
_environmentCurrent calling environment
_border_colorBorder color to use

Definition at line 94 of file gtia.c.

◆ gtia_border_color_vars()

void gtia_border_color_vars ( Environment * _environment,
char * _border_color )

Definition at line 122 of file gtia.c.

◆ gtia_busy_wait()

void gtia_busy_wait ( Environment * _environment,
char * _timing )

Definition at line 1887 of file gtia.c.

◆ gtia_calculate_sequence_frame_offset()

void gtia_calculate_sequence_frame_offset ( Environment * _environment,
char * _offset,
char * _sequence,
char * _frame,
int _frame_size,
int _frame_count )

Definition at line 3464 of file gtia.c.

◆ gtia_clear()

void gtia_clear ( Environment * _environment,
char * _pattern )

Definition at line 1967 of file gtia.c.

◆ gtia_cline()

void gtia_cline ( Environment * _environment,
char * _characters )

Definition at line 2302 of file gtia.c.

◆ gtia_cls()

void gtia_cls ( Environment * _environment)

Definition at line 1937 of file gtia.c.

◆ gtia_cls_box()

void gtia_cls_box ( Environment * _environment,
char * _x1,
char * _y1,
char * _w,
char * _h )

Definition at line 1947 of file gtia.c.

◆ gtia_collision()

void gtia_collision ( Environment * _environment,
char * _sprite_mask,
char * _result )

Definition at line 77 of file gtia.c.

◆ gtia_colormap_at()

void gtia_colormap_at ( Environment * _environment,
char * _address )

Definition at line 1704 of file gtia.c.

◆ gtia_fade()

void gtia_fade ( Environment * _environment,
char * _ticks )

Definition at line 3883 of file gtia.c.

◆ gtia_finalization()

void gtia_finalization ( Environment * _environment)

Definition at line 2130 of file gtia.c.

◆ gtia_flash_begin()

void gtia_flash_begin ( Environment * _environment,
char * _index,
char * _register )

Definition at line 3917 of file gtia.c.

◆ gtia_flash_end()

void gtia_flash_end ( Environment * _environment)

Definition at line 3952 of file gtia.c.

◆ gtia_flash_off()

void gtia_flash_off ( Environment * _environment,
char * _index )

Definition at line 3960 of file gtia.c.

◆ gtia_flash_register()

void gtia_flash_register ( Environment * _environment,
char * _index,
char * _timer,
char * _color )

Definition at line 3941 of file gtia.c.

◆ gtia_flip_image()

void gtia_flip_image ( Environment * _environment,
Resource * _image,
char * _frame,
char * _sequence,
int _frame_size,
int _frame_count,
char * _direction )

Definition at line 3840 of file gtia.c.

◆ gtia_get_height()

void gtia_get_height ( Environment * _environment,
char * _result )

Definition at line 1921 of file gtia.c.

◆ gtia_get_image()

void gtia_get_image ( Environment * _environment,
char * _image,
char * _x,
char * _y,
char * _frame,
char * _sequence,
int _frame_size,
int _frame_count,
int _palette )

Definition at line 3771 of file gtia.c.

◆ gtia_get_raster_line()

Variable * gtia_get_raster_line ( Environment * _environment)

Definition at line 3811 of file gtia.c.

◆ gtia_get_width()

void gtia_get_width ( Environment * _environment,
char * _result )

Definition at line 1912 of file gtia.c.

◆ gtia_hit()

void gtia_hit ( Environment * _environment,
char * _sprite_mask,
char * _result )

Definition at line 81 of file gtia.c.

◆ gtia_horizontal_scroll()

void gtia_horizontal_scroll ( Environment * _environment,
char * _displacement )

Definition at line 1879 of file gtia.c.

◆ gtia_hscroll_line()

void gtia_hscroll_line ( Environment * _environment,
int _direction,
int _overlap )

Definition at line 2265 of file gtia.c.

◆ gtia_hscroll_screen()

void gtia_hscroll_screen ( Environment * _environment,
int _direction,
int _overlap )

Definition at line 2281 of file gtia.c.

◆ gtia_image_converter()

Variable * gtia_image_converter ( Environment * _environment,
char * _data,
int _width,
int _height,
int _depth,
int _offset_x,
int _offset_y,
int _frame_width,
int _frame_height,
int _mode,
int _transparent_color,
int _flags )

Definition at line 3045 of file gtia.c.

◆ gtia_image_size()

int gtia_image_size ( Environment * _environment,
int _width,
int _height,
int _mode )

Definition at line 2328 of file gtia.c.

◆ gtia_initialization()

void gtia_initialization ( Environment * _environment)

Definition at line 2029 of file gtia.c.

◆ gtia_move_tiles()

void gtia_move_tiles ( Environment * _environment,
char * _image,
char * _x,
char * _y )

Definition at line 3422 of file gtia.c.

◆ gtia_new_image()

Variable * gtia_new_image ( Environment * _environment,
int _width,
int _height,
int _mode )

Definition at line 3682 of file gtia.c.

◆ gtia_new_images()

Variable * gtia_new_images ( Environment * _environment,
int _frames,
int _width,
int _height,
int _mode )

Definition at line 3706 of file gtia.c.

◆ gtia_new_sequence()

Variable * gtia_new_sequence ( Environment * _environment,
int _sequences,
int _frames,
int _width,
int _height,
int _mode )

Definition at line 3738 of file gtia.c.

◆ gtia_palette_extract()

int gtia_palette_extract ( Environment * _environment,
char * _data,
int _width,
int _height,
int _depth,
int _flags,
RGBi * _palette )

Definition at line 3826 of file gtia.c.

◆ gtia_pget_color_vars()

void gtia_pget_color_vars ( Environment * _environment,
char * _x,
char * _y,
char * _result )

Definition at line 1771 of file gtia.c.

◆ gtia_pset_int()

void gtia_pset_int ( Environment * _environment,
int _x,
int _y,
int * _c )

Definition at line 1712 of file gtia.c.

◆ gtia_pset_vars()

void gtia_pset_vars ( Environment * _environment,
char * _x,
char * _y,
char * _c )

Definition at line 1737 of file gtia.c.

◆ gtia_put_image()

void gtia_put_image ( Environment * _environment,
Resource * _image,
char * _x,
char * _y,
char * _frame,
char * _sequence,
int _frame_size,
int _frame_count,
char * _flags )

Definition at line 3364 of file gtia.c.

◆ gtia_put_tile()

void gtia_put_tile ( Environment * _environment,
char * _image,
char * _x,
char * _y )

Definition at line 3399 of file gtia.c.

◆ gtia_put_tiles()

void gtia_put_tiles ( Environment * _environment,
char * _image,
char * _x,
char * _y,
char * _w,
char * _h )

Definition at line 3619 of file gtia.c.

◆ gtia_screen()

void gtia_screen ( Environment * _environment,
char * _x,
char * _y,
char * _c )

Definition at line 3903 of file gtia.c.

◆ gtia_screen_columns()

void gtia_screen_columns ( Environment * _environment,
char * _columns )

Definition at line 1807 of file gtia.c.

◆ gtia_screen_mode_enable()

int gtia_screen_mode_enable ( Environment * _environment,
ScreenMode * _screen_mode )

Definition at line 1115 of file gtia.c.

◆ gtia_screen_off()

void gtia_screen_off ( Environment * _environment)

Definition at line 1799 of file gtia.c.

◆ gtia_screen_on()

void gtia_screen_on ( Environment * _environment)

Definition at line 1795 of file gtia.c.

◆ gtia_screen_rows()

void gtia_screen_rows ( Environment * _environment,
char * _rows )

Definition at line 1803 of file gtia.c.

◆ gtia_scroll()

void gtia_scroll ( Environment * _environment,
int _dx,
int _dy )

Definition at line 3795 of file gtia.c.

◆ gtia_scroll_text()

void gtia_scroll_text ( Environment * _environment,
int _direction,
int _overlap )

Definition at line 1977 of file gtia.c.

◆ gtia_slice_image()

void gtia_slice_image ( Environment * _environment,
char * _image,
char * _frame,
char * _sequence,
int _frame_size,
int _frame_count,
char * _destination )

Definition at line 3822 of file gtia.c.

◆ gtia_sprite_at()

void gtia_sprite_at ( Environment * _environment,
char * _sprite,
char * _x,
char * _y )

Definition at line 1827 of file gtia.c.

◆ gtia_sprite_color()

void gtia_sprite_color ( Environment * _environment,
char * _sprite,
char * _color )

Definition at line 1855 of file gtia.c.

◆ gtia_sprite_common_color()

void gtia_sprite_common_color ( Environment * _environment,
char * _index,
char * _common_color )

Definition at line 716 of file gtia.c.

◆ gtia_sprite_compress_horizontal()

void gtia_sprite_compress_horizontal ( Environment * _environment,
char * _sprite )

Definition at line 1843 of file gtia.c.

◆ gtia_sprite_compress_vertical()

void gtia_sprite_compress_vertical ( Environment * _environment,
char * _sprite )

Definition at line 1839 of file gtia.c.

◆ gtia_sprite_data_from()

void gtia_sprite_data_from ( Environment * _environment,
char * _sprite,
char * _address )

Definition at line 1811 of file gtia.c.

◆ gtia_sprite_data_set()

void gtia_sprite_data_set ( Environment * _environment,
char * _sprite,
char * _address )

Definition at line 1815 of file gtia.c.

◆ gtia_sprite_disable()

void gtia_sprite_disable ( Environment * _environment,
char * _sprite )

Definition at line 1823 of file gtia.c.

◆ gtia_sprite_enable()

void gtia_sprite_enable ( Environment * _environment,
char * _sprite )

Definition at line 1819 of file gtia.c.

◆ gtia_sprite_expand_horizontal()

void gtia_sprite_expand_horizontal ( Environment * _environment,
char * _sprite )

Definition at line 1835 of file gtia.c.

◆ gtia_sprite_expand_vertical()

void gtia_sprite_expand_vertical ( Environment * _environment,
char * _sprite )

Definition at line 1831 of file gtia.c.

◆ gtia_sprite_monocolor()

void gtia_sprite_monocolor ( Environment * _environment,
char * _sprite )

Definition at line 1851 of file gtia.c.

◆ gtia_sprite_multicolor()

void gtia_sprite_multicolor ( Environment * _environment,
char * _sprite )

Definition at line 1847 of file gtia.c.

◆ gtia_sprite_priority()

void gtia_sprite_priority ( Environment * _environment,
char * _sprite,
char * _priority )

Definition at line 1859 of file gtia.c.

◆ gtia_text()

void gtia_text ( Environment * _environment,
char * _text,
char * _text_size,
int _raw )

Definition at line 1990 of file gtia.c.

◆ gtia_textmap_at()

void gtia_textmap_at ( Environment * _environment,
char * _address )

Definition at line 1708 of file gtia.c.

◆ gtia_tile_at()

void gtia_tile_at ( Environment * _environment,
char * _x,
char * _y,
char * _result )

Definition at line 3639 of file gtia.c.

◆ gtia_tilemap_enable()

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

Definition at line 1679 of file gtia.c.

◆ gtia_tiles_at()

void gtia_tiles_at ( Environment * _environment,
char * _address )

Definition at line 1863 of file gtia.c.

◆ gtia_tiles_get()

void gtia_tiles_get ( Environment * _environment,
char * _result )

Definition at line 1930 of file gtia.c.

◆ gtia_use_tileset()

void gtia_use_tileset ( Environment * _environment,
char * _tileset )

Definition at line 3657 of file gtia.c.

◆ gtia_vertical_scroll()

void gtia_vertical_scroll ( Environment * _environment,
char * _displacement )

Definition at line 1867 of file gtia.c.

◆ gtia_wait_vbl()

void gtia_wait_vbl ( Environment * _environment,
char * _raster_line )

Definition at line 3668 of file gtia.c.