58 char skipCursorChangeLabel[
MAX_TEMPORARY_STORAGE]; sprintf(skipCursorChangeLabel,
"%sskipcc", label );
59 char skipCursorChangeLabel2[
MAX_TEMPORARY_STORAGE]; sprintf(skipCursorChangeLabel2,
"%sskipcc2", label );
60 char skipCursorChangeLabel3[
MAX_TEMPORARY_STORAGE]; sprintf(skipCursorChangeLabel3,
"%sskipcc3", label );
102 cpu_label( _environment, skipCursorChangeLabel3 );
104 cpu_jump( _environment, skipCursorChangeLabel );
105 cpu_label( _environment, skipCursorChangeLabel2 );
107 cpu_label( _environment, skipCursorChangeLabel );
138 cpu_jump( _environment, finishedLabel );
140 cpu_label( _environment, backspaceLabel );
156 cpu_jump( _environment, repeatLabel );
158 cpu_label( _environment, finishedLabel );
179 switch( result->type ) {
void cpu_dsfree(Environment *_environment, char *_index)
void cpu_bveq(Environment *_environment, char *_value, char *_label)
void cpu_dsresize(Environment *_environment, char *_index, char *_resize)
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_inc(Environment *_environment, char *_variable)
void cpu_move_8bit_indirect_with_offset2(Environment *_environment, char *_source, char *_value, char *_offset)
void cpu_label(Environment *_environment, char *_label)
void cpu_dec(Environment *_environment, char *_variable)
void cpu_dsalloc(Environment *_environment, char *_size, char *_index)
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_bvneq(Environment *_environment, char *_value, char *_label)
void cpu_dsdescriptor(Environment *_environment, char *_index, char *_address, char *_size)
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_retrieve(Environment *_environment, char *_name)
int variable_exists(Environment *_environment, char *_name)
Variable * variable_string_val(Environment *_environment, char *_value)
Emit code for = VAL( ... ).
Variable * variable_move(Environment *_environment, char *_source, char *_destination)
Store the value of a variable inside another variable by converting it.
Variable * variable_move_naked(Environment *_environment, char *_source, char *_destination)
Store the value of a variable inside another variable without conversion.
Variable * variable_define(Environment *_environment, char *_name, VariableType _type, int _value)
Define a variable for the program.
Variable * variable_temporary(Environment *_environment, VariableType _type, char *_meaning)
Define a temporary variable.
void atari_inkey(Environment *_environment, char *_key)
#define INPUT_DEFAULT_SEPARATOR
#define INPUT_DEFAULT_SIZE
#define INPUT_DEFAULT_CURSOR
void cmove_direct(Environment *_environment, int _dx, int _dy)
void print_newline(Environment *_environment)
Emit code for print a single newline.
void print(Environment *_environment, char *_value, int _new_line, int _raw)
Emit code for PRINT... instruction.
KeyboardConfig keyboardConfig
#define MAX_TEMPORARY_STORAGE
struct _Variable Variable
Structure of a single variable.
#define CRITICAL_INPUT_UNSUPPORTED(v, t)
struct _Environment Environment
Structure of compilation environment.
enum _VariableType VariableType
Type of variables.
char DATATYPE_AS_STRING[][16]