38static RGBi SYSTEM_PALETTE[] = {
39 { 0x00, 0x00, 0x00, 0xff, 0,
"BLACK" },
40 { 0x00, 0x00, 0xff, 0xff, 1,
"BLUE" },
41 { 0x88, 0x00, 0x00, 0xff, 2,
"RED" },
42 { 0xff, 0x00, 0xff, 0xff, 3,
"MAGENTA" },
43 { 0x00, 0xcc, 0x00, 0xff, 4,
"GREEN" },
44 { 0xaa, 0xff, 0xe6, 0xff, 5,
"CYAN" },
45 { 0xee, 0xee, 0x77, 0xff, 6,
"YELLOW" },
46 { 0xff, 0xff, 0xff, 0xff, 7,
"WHITE" }
78 deploy( joystick, src_hw_vg5000_joystick_asm );
91 deploy( joystick, src_hw_vg5000_joystick_asm );
124 sprintf( nokeyLabel,
"%slabel", label );
159 outline1(
"CALL $%4.4x", _destination );
165 deploy( timer, src_hw_z80_timer_asm);
181 deploy( timer, src_hw_z80_timer_asm);
198 deploy( timer, src_hw_z80_timer_asm);
220 deploy( timer, src_hw_z80_timer_asm);
242 deploy( timer, src_hw_z80_timer_asm);
void cpu_compare_8bit(Environment *_environment, char *_source, char *_destination, char *_other, int _positive)
CPU 6309: emit code to compare two 8 bit values
void cpu_label(Environment *_environment, char *_label)
void cpu_store_8bit(Environment *_environment, char *_destination, int _value)
CPU 6309: emit code to store 8 bit
void cpu_jump(Environment *_environment, char *_label)
void cpu_compare_and_branch_8bit_const(Environment *_environment, char *_source, int _destination, char *_label, int _positive)
CPU 6309: emit code to compare two 8 bit values and jump if they are equal/different
Variable * variable_temporary(Environment *_environment, VariableType _type, char *_meaning)
Define a temporary variable.
char * address_displacement(Environment *_environment, char *_address, char *_displacement)
Variable * scancode(Environment *_environment)
struct _RGBi RGBi
Structure to store color components (red, green and blue).
#define MAX_TEMPORARY_STORAGE
struct _Variable Variable
Structure of a single variable.
struct _Environment Environment
Structure of compilation environment.
void vg5000_key_pressed(Environment *_environment, char *_scancode, char *_result)
void vg5000_timer_set_status_on(Environment *_environment, char *_timer)
void vg5000_inkey(Environment *_environment, char *_pressed, char *_key)
void vg5000_sys_call(Environment *_environment, int _destination)
void vg5000_joy(Environment *_environment, int _port, char *_result)
void vg5000_scanshift(Environment *_environment, char *_shifts)
void vg5000_clear_key(Environment *_environment)
void vg5000_timer_set_address(Environment *_environment, char *_timer, char *_address)
void vg5000_timer_set_counter(Environment *_environment, char *_timer, char *_counter)
void vg5000_scancode(Environment *_environment, char *_pressed, char *_scancode)
void vg5000_timer_set_status_off(Environment *_environment, char *_timer)
void vg5000_keyshift(Environment *_environment, char *_shifts)
void vg5000_joy_vars(Environment *_environment, char *_port, char *_result)
void vg5000_timer_set_init(Environment *_environment, char *_timer, char *_init)