50#define KEY_BACKSLASH 12
51#define KEY_SQUARE_OPEN 13
52#define KEY_SQUARE_CLOSE 14
53#define KEY_SEMICOLON 15
110#define KEY_ASTERISK 72
119#define KEY_COMMODORE 0
121#define KEY_CRSR_LEFT_RIGHT 0
122#define KEY_CRSR_UP_DOWN 0
134#define KEY_LEFT_ARROW 0
135#define KEY_LEFT_SHIFT 0
137#define KEY_RIGHT_SHIFT 0
139#define KEY_UP_ARROW 0
140#define KEY_SEMICOMMA 0
156#define KEY_DIVISION 0
162#define KEYBOARD_CONFIG_DEFAULT_SYNC 0
164#define INPUT_DEFAULT_SEPARATOR ','
165#define INPUT_DEFAULT_SIZE 32
166#define INPUT_DEFAULT_CURSOR 95
167#define INPUT_DEFAULT_RATE 16
168#define INPUT_DEFAULT_DELAY 64
170#define SCREEN_WIDTH 120
171#define SCREEN_HEIGHT 8
173#define SCREEN_CAPABILITIES ( ( 1<<TILEMAP_NATIVE ) | ( 1<<BITMAP_NATIVE ) )
175#define DEFAULT_PAINT_BUCKET_SIZE 512
178#define BANK_SIZE 4096
179#define BANK_BASE_ADDRESS 0
189#define JOYSTICK_CONFIG_DEFAULT_SYNC 1
191#define MAX_AUDIO_CHANNELS 3
193#define BITMAP_MODE_STANDARD 1
194#define TILEMAP_MODE_STANDARD 0
195#define BITMAP_MODE_DEFAULT BITMAP_MODE_STANDARD
197#define DOUBLE_BUFFER_PAGE_0 0
198#define DOUBLE_BUFFER_PAGE_1 0
199#define SPRITE_COUNT 0
200#define SCREEN_SPRITE_RATIO_X 0
201#define SCREEN_SPRITE_RATIO_Y 0
202#define SPRITE_HEIGHT 0
203#define SCREEN_BORDER_X 0
204#define SCREEN_BORDER_Y 0
205#define SPRITE_WIDTH 0
206#define SPRITE_X_MIN 0
207#define SPRITE_Y_MIN 0
208#define SPRITE_X_MAX 0
209#define SPRITE_Y_MAX 0
211#define COLOR_TRANSPARENT 0x00
212#define COLOR_BLACK 0x01
213#define COLOR_DARK_WHITE 0x0e
214#define COLOR_WHITE 0x0f
215#define COLOR_LIGHT_WHITE COLOR_WHITE
216#define COLOR_DARK_RED 0x06
217#define COLOR_RED 0x08
218#define COLOR_LIGHT_RED 0x09
219#define COLOR_CYAN 0x07
220#define COLOR_VIOLET 0x0d
221#define COLOR_DARK_GREEN 0x02
222#define COLOR_GREEN 0x02
223#define COLOR_LIGHT_GREEN 0x03
224#define COLOR_DARK_BLUE 0x04
225#define COLOR_BLUE 0x07
226#define COLOR_LIGHT_BLUE 0x05
227#define COLOR_YELLOW 0x0b
228#define COLOR_ORANGE 0x09
229#define COLOR_BROWN 0x06
230#define COLOR_DARK_GREY 0x0e
231#define COLOR_GREY 0x0e
232#define COLOR_LIGHT_GREY 0x0e
233#define COLOR_MAGENTA 0x0d
234#define COLOR_PURPLE COLOR_VIOLET
235#define COLOR_LAVENDER COLOR_VIOLET
236#define COLOR_GOLD 0x0a
237#define COLOR_TURQUOISE COLOR_LIGHT_BLUE
238#define COLOR_TAN COLOR_BROWN
239#define COLOR_YELLOW_GREEN 0x03
240#define COLOR_OLIVE_GREEN 0x0c
241#define COLOR_PINK COLOR_LIGHT_RED
242#define COLOR_PEACH COLOR_PINK
243#define COLOR_COUNT 16
245#define DEFAULT_PEN_COLOR COLOR_BLACK
246#define DEFAULT_PAPER_COLOR COLOR_WHITE
248#define IMAGE_WIDTH_SIZE 1
249#define IMAGE_WIDTH_OFFSET 0
250#define IMAGE_HEIGHT_SIZE 1
251#define IMAGE_HEIGHT_OFFSET 0
253#define TEXT_COLUMNS_COUNT 24
254#define TEXT_ROWS_COUNT 1
283void pc1403_dload(
Environment * _environment,
char * _filename,
char * _offset,
char * _address,
char * _size );
284void pc1403_dsave(
Environment * _environment,
char * _filename,
char * _offset,
char * _address,
char * _size );
void pc1403_clear_key(Environment *_environment)
void pc1403_dload(Environment *_environment, char *_filename, char *_offset, char *_address, char *_size)
void pc1403_inkey(Environment *_environment, char *_key)
void pc1403_text(Environment *_environment, char *_text, char *_text_size, int _raw)
void pc1403_pset_int(Environment *_environment, int _x, int _y, int *_c)
void pc1403_asciicode(Environment *_environment, char *_asciicode)
void pc1403_dsave(Environment *_environment, char *_filename, char *_offset, char *_address, char *_size)
void pc1403_wait_key_or_fire(Environment *_environment, int _port, int _release)
void pc1403_scanshift(Environment *_environment, char *_shifts)
void pc1403_key_pressed(Environment *_environment, char *_scancode, char *_result)
void pc1403_sys_call(Environment *_environment, int _destination)
void pc1403_cls_box(Environment *_environment, char *_x1, char *_y1, char *_x2, char *_y2)
void pc1403_timer_set_address(Environment *_environment, char *_timer, char *_address)
void pc1403_pset_vars(Environment *_environment, char *_x, char *_y, char *_c)
void pc1403_put_key(Environment *_environment, char *_string, char *_size)
void pc1403_timer_set_status_on(Environment *_environment, char *_timer)
void pc1403_wait_key_or_fire_semivar(Environment *_environment, char *_port, int _release)
void pc1403_keyshift(Environment *_environment, char *_shifts)
void pc1403_wait_key(Environment *_environment, int _release)
void pc1403_key_state(Environment *_environment, char *_scancode, char *_result)
void pc1403_pget_color_vars(Environment *_environment, char *_x, char *_y, char *_result)
void pc1403_timer_set_init(Environment *_environment, char *_timer, char *_init)
void pc1403_cls(Environment *_environment)
void pc1403_wait_fire_semivar(Environment *_environment, char *_port, int _release)
void pc1403_timer_set_counter(Environment *_environment, char *_timer, char *_counter)
void pc1403_wait_fire(Environment *_environment, int _port, int _release)
void pc1403_scancode(Environment *_environment, char *_scacode)
void pc1403_timer_set_status_off(Environment *_environment, char *_timer)
void pc1403_joy_vars(Environment *_environment, char *_port, char *_result)
void pc1403_joy(Environment *_environment, int _port, char *_result)
void pc1403_initialization(Environment *_environment)
struct _Environment Environment
Structure of compilation environment.