|
ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
|
#include <stdio.h>#include <string.h>#include <stdlib.h>#include <limits.h>#include <unistd.h>#include <math.h>#include "libs/tsx.h"#include "libs/tmx.h"#include "libs/sid_file.h"#include "../src-generated/modules_atari.h"#include "hw/6502.h"#include "hw/antic.h"#include "hw/gtia.h"#include "hw/pokey.h"#include "hw/atari.h"Go to the source code of this file.
Data Structures | |
| struct | _Bank |
| Structure of a single bank. More... | |
| struct | _FileStorage |
| Structure of a single file inside a storage. More... | |
| struct | _Storage |
| Structure of a single storage. More... | |
| struct | _POBuffer |
| struct | _POVariable |
| struct | _StaticString |
| Structure of a single (static) string. More... | |
| struct | _OptionParameterValue |
| Structure of a single (option) setting. More... | |
| struct | _OptionParameterValued |
| struct | _ConfigureGMCParameters |
| struct | _ConfigureSN76489Parameters |
| struct | _ConfigureParameters |
| struct | _RGBi |
| Structure to store color components (red, green and blue). More... | |
| struct | _Resource |
| struct | _MemoryArea |
| struct | _Constant |
| Structure of a single constant. More... | |
| struct | _Label |
| Structure of a single label. More... | |
| struct | _FloatType |
| struct | _OffsettingVariable |
| struct | _Offsetting |
| struct | _ImageDescriptor |
| struct | _AtlasDescriptor |
| struct | _ArrayReference |
| struct | _Strip |
| struct | _Variable |
| Structure of a single variable. More... | |
| struct | _Field |
| struct | _Type |
| struct | _Procedure |
| struct | _Conditional |
| Structure of a single conditional jump. More... | |
| struct | _Loop |
| Structure of a single loop. More... | |
| struct | _Pattern |
| struct | _LoadedFile |
| struct | _ScreenMode |
| struct | _Embedded |
| struct | _Deployed |
| struct | _DString |
| struct | _ProtothreadConfig |
| struct | _KeyboardConfig |
| struct | _JoystickConfig |
| struct | _VestigialConfig |
| struct | _FontConfig |
| struct | _MultiplexingSpriteConfig |
| struct | _AudioConfig |
| struct | _CpuOptimization |
| struct | _BankAccessOptimization |
| struct | _Macro |
| struct | _EmbedResult |
| struct | _TileDescriptor |
| struct | _TileData |
| struct | _TileDescriptors |
| struct | _Blit |
| struct | _DataDataSegment |
| struct | _DataSegment |
| struct | _Console |
| struct | _Program |
| struct | _CopperInstruction |
| struct | _CopperList |
| struct | _NumberConfig |
| struct | _Environment |
| Structure of compilation environment. More... | |
Functions | |
| int | yyerror (Environment *_ignored, const char *_message) |
| int | assemblyLineIsAComment (char *_buffer) |
| const char * | strstrcase (const char *_x, const char *_y) |
| const char * | strrstr (const char *haystack, const char *needle) |
| char * | strreplace (const char *_orig, const char *_rep, const char *_with) |
| int | buffered_fputs (Environment *_environment, const char *_string, FILE *_stream) |
| void | buffered_fprintf (Environment *_environment, FILE *_stream, const char *_format,...) |
| size_t | buffered_fwrite (Environment *_environment, void *_data, size_t _size, size_t _count, FILE *_stream) |
| void | buffered_push_output (Environment *_environment) |
| void | buffered_output (Environment *_environment, FILE *_stream) |
| void | buffered_prepend_output (Environment *_environment) |
| void | buffered_pop_output (Environment *_environment) |
| int | embedparse (void *) |
| int | embed_scan_string (const char *) |
| char * | strtoupper (char *_string) |
| char * | basename (char *_path) |
| char * | strcopy (char *_dest, char *_source) |
| void | show_usage_and_exit (int _argc, char *_argv[]) |
| Show usage and exit. | |
| char * | import_file_name (char *_import_path) |
| Environment * | environment_create (void) |
| Create a new environment. | |
| void | environment_setup_embedded (Environment *_environment) |
| void | environment_setup_default (Environment *_environment) |
| Setup default environment values. | |
| void | environment_parse_command_line (Environment *_environment, int _argc, char *_argv[]) |
| Parse command line parameters. | |
| void | environment_setup_10liner (Environment *_environment) |
| void | environment_setup_retrohack (Environment *_environment) |
| void | begin_compilation (Environment *_environment) |
| void | target_initialization (Environment *_environment) |
| void | shell_injection (Environment *_environment) |
| void | target_prepare_finalization (Environment *_environment) |
| void | target_finalization (Environment *_environment) |
| void | target_analysis (Environment *_environment) |
| void | target_deep_analyzer (Environment *_environment) |
| void | end_compilation (Environment *_environment) |
| void | target_peephole_optimizer (Environment *_environment) |
| void | begin_build (Environment *_environment) |
| Start building exe from assembly. | |
| void | target_linkage (Environment *_environment) |
| Convert C64's assembly to executable. | |
| void | target_finalize (Environment *_environment) |
| void | target_cleanup (Environment *_environment) |
| void | end_build (Environment *_environment) |
| End building exe from asssembly. | |
| void | bank_cleanup (Environment *_environment) |
| Emit source and configuration lines for banks. | |
| void | gameloop_cleanup (Environment *_environment) |
| Emit source and configuration lines for game loops. | |
| void | linker_cleanup (Environment *_environment) |
| Emit tail of linker's configuration file lines. | |
| void | linker_setup (Environment *_environment) |
| Emit tail of linker's configuration file lines. | |
| int | pattern_match (char *_pattern, char *_value) |
| void | setup_text_variables (Environment *_environment) |
| void | finalize_text_variables (Environment *_environment) |
| ScreenMode * | find_screen_mode_by_suggestion (Environment *_environment, int _bitmap, int _width, int _height, int _colors, int _tile_width, int _tile_height) |
| ScreenMode * | find_screen_mode_by_id (Environment *_environment, int _id) |
| int | count_screen_mode_selected (Environment *_environment) |
| int | reset_screen_mode_selected (Environment *_environment) |
| Bank * | bank_find (Bank *_first, char *_name) |
| Type * | type_find (Type *_first, char *_name) |
| Field * | field_find (Type *_type, char *_name) |
| CopperList * | find_copper_list (Environment *_environment, char *_name) |
| int | check_datatype_limits (VariableType _type, int _value) |
| void | define_implicit_array_if_needed (Environment *_Environment, char *_name) |
| int | define_audio_target_check (Environment *_environment, int _value) |
| void | console_init (Environment *_environment) |
| void | console_calculate (Environment *_environment) |
| void | console_calculate_vars (Environment *_environment) |
| void | banks_init (Environment *_environment) |
| void | banks_init_extended (Environment *_environment, int *_allowed, int _allowed_count, int _allowed_size) |
| char * | banks_get_address (Environment *_environment, int _bank) |
| Variable * | banks_get_address_var (Environment *_environment, char *_bank) |
| int | banks_store (Environment *_environment, Variable *_variable, int _resident) |
| int | banks_store_data (Environment *_environment, char *_data, int _size) |
| int | banks_any_used (Environment *_environment) |
| void | banks_generate (Environment *_environment) |
| int | banks_get_default_resident (Environment *_environment, int _bank) |
| void | vars_emit_constant_integer (Environment *_environment, char *_name, int _value) |
| void | vars_emit_constants (Environment *_environment) |
| void | vars_emit_strips (Environment *_environment, char *_name, Strip *_strips) |
| char * | file_read_csv (Environment *_Environment, char *_filename, VariableType _type, int *_size, int *_count) |
| POBuffer | po_buf_del (POBuffer buf) |
| POBuffer | po_buf_new (int size) |
| POBuffer | po_buf_cat (POBuffer buf, char *string) |
| POBuffer | po_buf_cpy (POBuffer buf, char *string) |
| POBuffer | po_buf_add (POBuffer buf, char c) |
| POBuffer | po_buf_vprintf (POBuffer buf, const char *fmt, va_list ap) |
| POBuffer | po_buf_printf (POBuffer buf, const char *fmt,...) |
| POBuffer | po_buf_fgets (POBuffer buf, FILE *f) |
| int | po_buf_trim (POBuffer buf) |
| int | po_buf_cmp (POBuffer a, POBuffer b) |
| POBuffer | tmp_buf (void *key1, unsigned int key2) |
| void | tmp_buf_clr (void *key1) |
| POBuffer | po_buf_match (POBuffer _buf, const char *_pattern,...) |
| int | po_buf_strcmp (POBuffer _s, POBuffer _t) |
| int | po_buf_is_hex (POBuffer _s) |
| void | po_var_init () |
| POVariable * | po_var_register (char *_name) |
| POVariable * | po_var_find (char *_name) |
| POVariable * | po_var_lookup (char *_name) |
| ImageDescriptor * | image_descriptor_create (Environment *_environment, char *_filename, int _flags) |
| ImageDescriptor * | image_descriptor_flip_x (Environment *_environment, ImageDescriptor *_source) |
| ImageDescriptor * | image_descriptor_flip_y (Environment *_environment, ImageDescriptor *_source) |
| ImageDescriptor * | image_descriptor_roll_x_right (Environment *_environment, ImageDescriptor *_source) |
| ImageDescriptor * | image_descriptor_roll_x_left (Environment *_environment, ImageDescriptor *_source) |
| ImageDescriptor * | image_descriptor_roll_y_down (Environment *_environment, ImageDescriptor *_source) |
| AtlasDescriptor * | atlas_descriptor_create (Environment *_environment, char *_filename, int _flags, int _image_origin_x, int _image_origin_y, int _frame_width, int _frame_height, int _frame_offset_x, int _frame_offset_y) |
| int | file_get_size (Environment *_environment, char *_filename) |
| char * | get_default_temporary_path () |
| char * | find_last_path_separator (char *_path) |
| char * | generate_storage_filename (Environment *_environment, char *_prefix, char *_suffix, int _number) |
| int | system_move_safe (Environment *_environment, char *_source, char *_destination) |
| int | system_remove_safe (Environment *_environment, char *_filename) |
| int | show_troubleshooting_and_exit (Environment *_environment, int _argc, char *_argv[]) |
| void | parser_array_init (Environment *_environment) |
| void | parser_array_init_by (Environment *_environment, ArrayReference *_array_reference) |
| void | parser_array_index_symbolic (Environment *_environment, char *_index) |
| void | parser_array_index_numeric (Environment *_environment, int _index) |
| void | parser_array_cleanup (Environment *_environment) |
| ArrayReference * | parser_array_retrieve (Environment *_environment) |
| Variable * | parser_adapted_numeric (Environment *_environment, int _number) |
| Variable * | parser_casted_numeric (Environment *_environment, VariableType _type, int _number) |
| Variable * | variable_by_constant (Environment *_environment, VariableType _type, int _value) |
| Variable * | absolute (Environment *_environment, char *_value) |
| Return the absolute value of a variable. | |
| void | add_complex (Environment *_environment, char *_variable, int _expression, int _limit_lower, int _limit_upper, int _clamp) |
| void | add_complex_type (Environment *_environment, char *_variable, char *_field, int _expression, int _limit_lower, int _limit_upper, int _clamp) |
| void | add_complex_vars (Environment *_environment, char *_variable, char *_expression, char *_limit_lower, char *_limit_upper, int _clamp) |
| Emit code for ADD x,y,a TO b. | |
| void | add_complex_type_vars (Environment *_environment, char *_variable, char *_field, char *_expression, char *_limit_lower, char *_limit_upper, int _clamp) |
| void | add_complex_array (Environment *_environment, char *_variable, char *_expression, char *_limit_lower, char *_limit_upper, int _clamp) |
| Emit code for ADD x,y,a TO b. | |
| void | add_complex_array_type (Environment *_environment, char *_variable, char *_field, char *_expression, char *_limit_lower, char *_limit_upper, int _clamp) |
| void | add_complex_mt (Environment *_environment, char *_variable, char *_expression, char *_limit_lower, char *_limit_upper, int _clamp) |
| Emit code for ADD x,y,a TO b. | |
| char * | address_displacement (Environment *_environment, char *_address, char *_displacement) |
| void | allow (Environment *_environment) |
| Emit code for YIELD. | |
| void | animate_semivars (Environment *_environment, char *_prefix, char *_anim, char *_x, char *_y) |
| Emit code for ANIMATE .... | |
| Variable * | animating (Environment *_environment, char *_prefix, char *_animation) |
| Emit code for RUN PARALLEL. | |
| void | animation (Environment *_environment, char *_identifier, char *_atlas, char *_prefix, char *_next) |
| Emit code for ANIMATION .... | |
| Variable * | asciicode (Environment *_environment) |
| void | back (Environment *_environment, char *_color) |
| Emit ASM code to fill background color. | |
| Bank * | bank_define (Environment *_environment, char *_name, BankType _type, int _address, char *_filename) |
| Implementation for BANK xxx AT [WITH yyy]. | |
| Variable * | bank_get (Environment *_environment) |
| Emit ASM code for instruction = BANK( ). | |
| Variable * | bank_get_address (Environment *_environment, int _bank) |
| Emit ASM code for instruction = BANK ADDRESS( ). | |
| Variable * | bank_get_address_var (Environment *_environment, char *_bank) |
| Emit ASM code for instruction = BANK ADDRESS( ). | |
| Variable * | bank_get_size (Environment *_environment, int _bank) |
| Emit ASM code for instruction = BANK SIZE( ). | |
| Variable * | bank_get_size_var (Environment *_environment, char *_bank) |
| Emit ASM code for instruction = BANK SIZE( ). | |
| Variable * | bank_get_count (Environment *_environment) |
| Emit ASM code for instruction = BANK COUNT. | |
| void | bank_read_semi_var (Environment *_environment, int _bank, int _address1, char *_address2, int _size) |
| Emit ASM code for instruction BANK READ .... | |
| void | bank_read_vars (Environment *_environment, char *_bank, char *_address1, char *_address2, char *_size) |
| Emit ASM code for instruction BANK READ .... | |
| void | bank_read_vars_direct (Environment *_environment, char *_bank, char *_address1, char *_address2, char *_size) |
| void | bank_read_vars_direct_size (Environment *_environment, char *_bank, char *_address1, char *_address2, int _size) |
| void | bank_read_vars_bank_direct_size (Environment *_environment, int _bank, char *_address1, char *_address2, int _size) |
| void | bank_read_vars_bank_direct_size_vars (Environment *_environment, int _bank, char *_address1, char *_address2, int _size) |
| void | bank_uncompress_semi_var (Environment *_environment, int _bank, int _address1, char *_address2) |
| Emit ASM code for instruction BANK UNCOMPRESS .... | |
| void | bank_uncompress_vars (Environment *_environment, char *_bank, char *_address1, char *_address2) |
| Emit ASM code for instruction BANK UNCOMPRESS .... | |
| void | bank_set (Environment *_environment, int _bank) |
| Emit ASM code for instruction BANK .... | |
| void | bank_set_var (Environment *_environment, char *_bank) |
| Emit ASM code for instruction BANK .... | |
| void | bank_write_vars (Environment *_environment, char *_bank, char *_address1, char *_address2, char *_size) |
| Emit ASM code for instruction BANK WRITE .... | |
| void | bank_write_semi_var (Environment *_environment, char *_address2, int _bank, int _address1, int _size) |
| void | bank_write_vars_direct (Environment *_environment, char *_bank, char *_address1, char *_address2, char *_size) |
| void | bank_write_vars_bank_direct_size (Environment *_environment, char *_address1, int _bank, char *_address2, int _size) |
| void | bar (Environment *_environment, char *_x0, char *_y0, char *_x1, char *_y1, char *_c, int _preserve_color) |
| Emit ASM code to implement BAR command. | |
| void | begin_copper (Environment *_environment, char *_name) |
| Emit code for BEGIN COPPER. | |
| void | begin_for_prepare (Environment *_environment, char *_index) |
| Emit ASM code for FOR .... | |
| void | begin_for_from_prepare (Environment *_environment) |
| void | begin_for_from_assign (Environment *_environment, char *_from) |
| void | begin_for_to_prepare (Environment *_environment) |
| void | begin_for_to_assign (Environment *_environment, char *_to) |
| void | begin_for_step_prepare (Environment *_environment) |
| void | begin_for_step_assign (Environment *_environment, char *_step) |
| void | begin_for_identifier (Environment *_environment, char *_index) |
| void | begin_for_prepare_mt (Environment *_environment, char *_index) |
| void | begin_for_from_prepare_mt (Environment *_environment) |
| void | begin_for_from_assign_mt (Environment *_environment, char *_from) |
| void | begin_for_to_prepare_mt (Environment *_environment) |
| void | begin_for_to_assign_mt (Environment *_environment, char *_to) |
| void | begin_for_step_prepare_mt (Environment *_environment) |
| void | begin_for_step_assign_mt (Environment *_environment, char *_step) |
| void | begin_for_identifier_mt (Environment *_environment, char *_index) |
| void | begin_for (Environment *_environment, char *_index, char *_from, char *_to) |
| void | begin_for_from (Environment *_environment, char *_index, char *_from, char *_to, char *_step) |
| void | begin_for_from_mt (Environment *_environment, char *_index, char *_from, char *_to, char *_step) |
| void | begin_for_mt (Environment *_environment, char *_index, char *_from, char *_to) |
| void | begin_for_mt_step (Environment *_environment, char *_index, char *_from, char *_to, char *_step) |
| Emit ASM code for FOR ... STEP ... NEXT (in thread). | |
| void | begin_for_step (Environment *_environment, char *_index, char *_from, char *_to, char *_step) |
| Emit ASM code for FOR ... STEP ... NEXT. | |
| void | begin_for_to (Environment *_environment, char *_to) |
| void | begin_for_to_mt (Environment *_environment, char *_to) |
| void | begin_gameloop (Environment *_environment) |
| Emit ASM code for BEGIN GAMELOOP. | |
| void | begin_do_loop (Environment *_environment) |
| Emit ASM code for DO .... | |
| void | begin_loop (Environment *_environment, int _do) |
| Emit ASM code for DO .... | |
| void | begin_procedure (Environment *_environment, char *_name) |
| Emit code for PROCEDURE ... END PROC. | |
| void | begin_repeat (Environment *_environment) |
| Emit ASM code for REPEAT .... | |
| void | begin_storage (Environment *_environment, char *_name, char *_file_name) |
| Emit code for STORAGE ... ENDSTORAGE. | |
| void | begin_type (Environment *_environment, char *_name) |
| Emit code for STORAGE ... ENDSTORAGE. | |
| void | begin_while (Environment *_environment) |
| Emit ASM code for WHILE .... | |
| void | begin_while_condition (Environment *_environment, char *_expression) |
| void | bell (Environment *_environment, int _note, int _duration, int _channels) |
| Emit ASM code for BELL .... | |
| void | bell_vars (Environment *_environment, char *_note, char *_duration, char *_channels, int _sync) |
| Emit ASM code for BELL .... | |
| void | bitmap_at (Environment *_environment, int _address) |
| Emit ASM implementation for BITMAP AT [int] instruction. | |
| void | bitmap_at_var (Environment *_environment, char *_address) |
| Emit ASM implementation for BITMAP AT [expression] instruction. | |
| void | bitmap_disable (Environment *_environment) |
| Emit ASM implementation for BITMAP DISABLE instruction. | |
| void | bitmap_enable (Environment *_environment, int _width, int _height, int _colors) |
| Emit ASM implementation for BITMAP ENABLE instruction. | |
| void | blit_define (Environment *_environment, char *_name, int _sop, int _mop, int _smop, int _iop, int _dop, int _idop, int _top) |
| Emit ASM code for BLIT IMAGE [image] AT [int],[int]. | |
| void | blit_define_begin_compound (Environment *_environment, char *_name) |
| void | blit_define_compound_binary (Environment *_environment, int _operation, int _operand1, int _operand2, int _result) |
| void | blit_define_compound_unary (Environment *_environment, int _operation, int _operand, int _result) |
| void | blit_define_compound_operand_to_register (Environment *_environment, int _register, int _source) |
| void | blit_define_end_compound (Environment *_environment, int _register) |
| void | blit_image (Environment *_environment, char *_blit, char *_x, char *_y, char *_frame, char *_sequence, int _flags) |
| Emit ASM code for BLIT IMAGE [image] AT [int],[int]. | |
| void | boom (Environment *_environment, int _duration, int _channels) |
| Emit ASM code for BOOM .... | |
| void | boom_var (Environment *_environment, char *_duration, char *_channels) |
| Emit ASM code for BOOM .... | |
| void | bottom (Environment *_environment) |
| Emit code for HOME. | |
| void | box (Environment *_environment, char *_x1, char *_y1, char *_x2, char *_y2, char *_c, int _preserve_color) |
| Emit ASM code to implement BOX command. | |
| Resource * | build_resource_for_sequence (Environment *_environment, char *_image, char *_frame, char *_sequence) |
| int | calculate_nearest_tile (TileDescriptor *_tile, TileDescriptors *_tiles) |
| int | calculate_exact_tile (TileDescriptor *_tile, TileDescriptors *_tiles) |
| int | calculate_tile_affinity (TileDescriptor *_first, TileDescriptor *_second) |
| TileDescriptor * | calculate_tile_descriptor (TileData *_tileData) |
| Variable * | calculate_frame_by_type (Environment *_environment, TsxTileset *_tileset, char *_images, char *_description) |
| void | call_procedure (Environment *_environment, char *_name) |
| Emit code for CALL/PROC .... | |
| void | case_else (Environment *_environment) |
| Emit ASM code for CASE ELSE. | |
| void | case_equals (Environment *_environment, int _value) |
| Emit ASM code for CASE .... | |
| void | case_equals_var (Environment *_environment, char *_value) |
| Emit ASM code for CASE .... | |
| void | case_equals_label (Environment *_environment) |
| void | center (Environment *_environment, char *_string, int _newline, char *_width) |
| Emit code for CENTRE .... | |
| void | cgoto (Environment *_environment, char *_expression) |
| void | chain (Environment *_environment, char *_filename) |
| Emit code for DLOAD(...). | |
| void | char_at (Environment *_environment, char *_x, char *_y, char *_code, char *_type, char *_size) |
| Emit code for CENTRE .... | |
| void | charset_at (Environment *_environment, int _value) |
| Emit ASM implementation for BITMAP AT [int] instruction. | |
| void | charset_at_var (Environment *_environment, char *_value) |
| Emit ASM implementation for BITMAP AT [expression] instruction. | |
| void | charset_uppercase (Environment *_environment) |
| void | charset_lowercase (Environment *_environment) |
| int | check_if_filename_is_valid (Environment *_environment, char *_filename) |
| void | circle (Environment *_environment, char *_x, char *_y, char *_r, char *_c, int _preserve_color) |
| Emit code for CIRCLE command. | |
| void | clear (Environment *_environment) |
| Variable * | clear_key (Environment *_environment) |
| void | cline (Environment *_environment, char *_characters) |
| Emit code for CLINE .... | |
| void | clip (Environment *_environment, char *_x1, char *_y1, char *_x2, char *_y2) |
| Emit code to implement CLIP command. | |
| void | cls (Environment *_environment, char *_paper) |
| Emit code for CLS. | |
| void | cls_box (Environment *_environment, char *_x1, char *_y1, char *_w, char *_h) |
| void | cmove (Environment *_environment, char *_dx, char *_dy) |
| Emit code for CMOVE. | |
| void | cmove_direct (Environment *_environment, int _dx, int _dy) |
| Variable * | collision_to (Environment *_environment, int _sprite) |
| Emit ASM code for = COLLISION([int]x). | |
| Variable * | collision_to_vars (Environment *_environment, char *_sprite) |
| Emit ASM code for = COLLISION([expression]). | |
| void | color (Environment *_environment, int _index, int _shade) |
| Emit ASM code for instruction COLOR [int], [int]. | |
| Variable * | color_get_vars (Environment *_environment, char *_index) |
| Emit ASM code for instruction = COLOR( [int] ). | |
| void | color_semivars (Environment *_environment, int _index, char *_shade) |
| Emit ASM code for instruction COLOR [expression], [expression]. | |
| void | color_vars (Environment *_environment, char *_index, char *_shade) |
| Emit ASM code for instruction COLOR [expression], [expression]. | |
| void | color_background (Environment *_environment, int _index, int _background_color) |
| Emit ASM code for instruction COLOR BACKGROUND [int] TO [int]x. | |
| void | color_background_vars (Environment *_environment, char *_index, char *_background_color) |
| Emit ASM code for instruction COLOR BACKGROUND [expression] TO [expression]. | |
| void | color_border (Environment *_environment, int _border_color) |
| Emit ASM code for instruction COLOR BORDER [int]x. | |
| void | color_border_var (Environment *_environment, char *_border_color) |
| Emit ASM code for instruction COLOR BORDER [expression]. | |
| void | color_sprite (Environment *_environment, int _index, int _color) |
| Emit ASM code for instruction COLOR SPRITE [int] TO [int]. | |
| void | color_sprite_semi_vars (Environment *_environment, int _index, char *_color) |
| void | color_sprite_vars (Environment *_environment, char *_sprite, char *_color) |
| Emit ASM code for instruction COLOR SPRITE [expression] TO [expression]. | |
| void | color_tsb (Environment *_environment, char *_border, char *_background, char *_cursor) |
| void | colormap_at (Environment *_environment, int _address) |
| Emit ASM implementation for COLORMAP AT [int] instruction. | |
| void | colormap_at_var (Environment *_environment, char *_address) |
| Emit ASM implementation for COLORMAP AT [expression] instruction. | |
| void | colormap_clear (Environment *_environment) |
| Emit ASM implementation for COLORMAP CLEAR instruction. | |
| void | colormap_clear_with (Environment *_environment, int _foreground, int _background) |
| Emit ASM implementation for COLORMAP CLEAR WITH [int] ON [int] instruction. | |
| void | colormap_clear_with_vars (Environment *_environment, char *_foreground, char *_background) |
| Emit ASM implementation for COLORMAP CLEAR WITH [expression] ON [expression] instruction. | |
| Variable * | combine_nibble_vars (Environment *_environment, char *_low_byte, char *_high_byte) |
| Emit code for COMBINE NIBBLE. | |
| void | configure_set_value (Environment *_environment, int _name, int _parameter, int _value) |
| void | configure_set_value_var (Environment *_environment, int _name, int _parameter, char *_value) |
| void | console (Environment *_environment, int _x1, int _x2, int _x3, int _x4) |
| Emit code for CONSOLE. | |
| void | console_save (Environment *_environment, int _number) |
| Emit code for CONSOLE. | |
| void | console_save_vars (Environment *_environment, char *_number) |
| void | console_restore (Environment *_environment, int _number) |
| Emit code for CONSOLE. | |
| void | console_restore_vars (Environment *_environment, char *_number) |
| void | console_vars (Environment *_environment, char *_x1, char *_x2, char *_x3, char *_x4) |
| Variable * | console_tiles_get_height (Environment *_environment) |
| Variable * | console_tiles_get_width (Environment *_environment) |
| void | const_define_numeric (Environment *_environment, char *_name, int _value) |
| void | const_define_string (Environment *_environment, char *_name, char *_value) |
| void | const_define_float (Environment *_environment, char *_name, double _value) |
| void | const_emit (Environment *_environment, char *_name) |
| Constant * | constant_create (Environment *_environment, char *_name) |
| Constant * | constant_find (Environment *_environment, char *_name) |
| void | copper_color (Environment *_environment, int _index, int _color) |
| Emit code for BEGIN COPPER. | |
| void | copper_color_background (Environment *_environment, int _color) |
| Emit code for BEGIN COPPER. | |
| void | copper_color_border (Environment *_environment, int _color) |
| Emit code for BEGIN COPPER. | |
| void | copper_nop (Environment *_environment) |
| Emit code for BEGIN COPPER. | |
| void | copper_wait (Environment *_environment, int _line) |
| Emit code for BEGIN COPPER. | |
| void | copper_move (Environment *_environment, int _address1, int _address2, VariableType _VariableType) |
| void | copper_store (Environment *_environment, int _address, int _value, VariableType _VariableType) |
| void | copper_use (Environment *_environment, char *_name) |
| void | cpuspeed (Environment *_environment, char *_value) |
| Emit ASM code for CPUSPEED. | |
| Variable * | create_path (Environment *_environment, char *_x0, char *_y0, char *_x1, char *_y1) |
| Emit ASM code to implement CREATE PATH command. | |
| Variable * | create_vector (Environment *_environment, char *_x, char *_y) |
| Emit ASM code to implement CREATE PATH command. | |
| Variable * | csprite_init (Environment *_environment, char *_image, char *_sprite, int _flags) |
| Emit code for SPRITE(...). | |
| void | cset (Environment *_environment, char *_value) |
| void | data_numeric (Environment *_environment, int _value) |
| Emit code for DATA instruction (numeric values). | |
| void | data_floating (Environment *_environment, double _value) |
| Emit code for DATA instruction (float values). | |
| DataSegment * | data_segment_define (Environment *_environment, char *_name) |
| DataSegment * | data_segment_define_numeric (Environment *_environment, int _number) |
| DataSegment * | data_segment_find (Environment *_environment, char *_name) |
| DataSegment * | data_segment_find_numeric (Environment *_environment, int _number) |
| DataSegment * | data_segment_define_or_retrieve (Environment *_environment, char *_name) |
| DataSegment * | data_segment_define_or_retrieve_numeric (Environment *_environment, int _number) |
| void | data_string (Environment *_environment, char *_value) |
| Emit code for DATA instruction (string values). | |
| void | data_type (Environment *_environment) |
| void | declare_procedure (Environment *_environment, char *_name, int _address, int _system) |
| Emit code for DECLARE PROC .... | |
| Variable * | decrypt (Environment *_environment, char *_data, char *_key, char *_var) |
| Emit code for DECRYPT. | |
| void | defdgr_vars (Environment *_environment, char *_character, char *_b0, char *_b1, char *_b2, char *_b3, char *_b4, char *_b5, char *_b6, char *_b7) |
| Emit code for DATA instruction (numeric values). | |
| Variable * | deserialize (Environment *_environment, char *_data, char *_key, char *_var) |
| Emit code for DESERIALIZE. | |
| Variable * | distance (Environment *_environment, char *_x1, char *_y1, char *_x2, char *_y2) |
| Return the distance between two (screen) positions. | |
| void | dload (Environment *_environment, char *_filename, char *_offset, char *_address, char *_bank, char *_size) |
| Emit code for DLOAD(...). | |
| void | double_buffer (Environment *_environment, int _enabled) |
| Emit code for DOUBLE BUFFER .... | |
| void | downw (Environment *_environment, char *_line, char *_column, char *_width, char *_height) |
| Emit code for DOWNW .... | |
| void | downb (Environment *_environment, char *_line, char *_column, char *_width, char *_height) |
| Emit code for DOWNB .... | |
| void | draw (Environment *_environment, char *_x0, char *_y0, char *_x1, char *_y1, char *_c, int _preserve_color) |
| Emit ASM code to implement DRAW command. | |
| void | draw_tile_column (Environment *_environment, char *_tile, char *_x, char *_y1, char *_y2, char *_color) |
| Emit ASM code for DRAW TILE ROW [y], [x1] TO [x2], [color]. | |
| void | draw_tile_row (Environment *_environment, char *_tile, char *_y, char *_x1, char *_x2, char *_color) |
| Emit ASM code for DRAW TILE ROW [y], [x1] TO [x2], [color]. | |
| void | draw_string (Environment *_environment, char *_string) |
| void | draw_tsb_string (Environment *_environment, char *_string, char *_x, char *_y, char *_c, int _preserve_color) |
| void | dsave (Environment *_environment, char *_filename, char *_offset, char *_address, char *_size) |
| Emit code for DLOAD(...). | |
| void | dstring_cleanup (Environment *_Environment) |
| void | dojo_serial_init (Environment *_environment) |
| void | dojo_serial_begin (Environment *_environment) |
| void | dojo_serial_put_request0 (Environment *_environment, int _command, char *_param1, char *_param2, char *_result) |
| void | dojo_serial_put_request (Environment *_environment, int _command, char *_param1, char *_param2, char *_address, char *_size, char *_result) |
| void | dojo_serial_put_requestd (Environment *_environment, int _command, char *_param1, char *_param2, char *_data, char *_size, char *_result) |
| void | dojo_serial_put_requestds (Environment *_environment, int _command, char *_param1, char *_param2, char *_data, int _size, char *_result) |
| void | dojo_serial_has_response (Environment *_environment, char *_result) |
| void | dojo_serial_get_response0 (Environment *_environment, char *_status) |
| void | dojo_serial_get_response (Environment *_environment, char *_status, char *_data, char *_size) |
| void | dojo_serial_get_responsed (Environment *_environment, char *_status, char *_data, char *_size) |
| void | dojo_serial_get_response_size (Environment *_environment, char *_status, char *_size) |
| void | dojo_serial_get_response_payload (Environment *_environment, char *_data) |
| void | dojo_serial_get_response_payloadd (Environment *_environment, char *_address) |
| void | dojo_serial_end (Environment *_environment) |
| void | dojo_fujinet_init (Environment *_environment) |
| void | dojo_fujinet_begin (Environment *_environment) |
| void | dojo_fujinet_put_request0 (Environment *_environment, int _command, char *_param1, char *_param2, char *_result) |
| void | dojo_fujinet_put_request (Environment *_environment, int _command, char *_param1, char *_param2, char *_address, char *_size, char *_result) |
| void | dojo_fujinet_put_requestd (Environment *_environment, int _command, char *_param1, char *_param2, char *_data, char *_size, char *_result) |
| void | dojo_fujinet_put_requestds (Environment *_environment, int _command, char *_param1, char *_param2, char *_data, int _size, char *_result) |
| void | dojo_fujinet_partial (Environment *_environment) |
| void | dojo_fujinet_has_response (Environment *_environment, char *_result) |
| void | dojo_fujinet_get_response0 (Environment *_environment, char *_status) |
| void | dojo_fujinet_get_response (Environment *_environment, char *_status, char *_data, char *_size) |
| void | dojo_fujinet_get_responsed (Environment *_environment, char *_status, char *_data, char *_size) |
| void | dojo_fujinet_get_response_size (Environment *_environment, char *_status, char *_size) |
| void | dojo_fujinet_get_response_payload (Environment *_environment, char *_data) |
| void | dojo_fujinet_get_response_payloadd (Environment *_environment, char *_address) |
| void | dojo_fujinet_end (Environment *_environment) |
| void | dojo_init (Environment *_environment) |
| void | dojo_begin (Environment *_environment) |
| void | dojo_put_request0 (Environment *_environment, int _command, char *_param1, char *_param2, char *_result) |
| void | dojo_put_request (Environment *_environment, int _command, char *_param1, char *_param2, char *_address, char *_size, char *_result) |
| void | dojo_put_requestd (Environment *_environment, int _command, char *_param1, char *_param2, char *_data, char *_size, char *_result) |
| void | dojo_put_requestds (Environment *_environment, int _command, char *_param1, char *_param2, char *_data, int _size, char *_result) |
| void | dojo_partial (Environment *_environment) |
| void | dojo_has_response (Environment *_environment, char *_result) |
| void | dojo_get_response0 (Environment *_environment, char *_status) |
| void | dojo_get_response (Environment *_environment, char *_status, char *_address, char *_size) |
| void | dojo_get_responsed (Environment *_environment, char *_status, char *_data, char *_size) |
| void | dojo_get_response_size (Environment *_environment, char *_status, char *_size) |
| void | dojo_get_response_payload (Environment *_environment, char *_address) |
| void | dojo_get_response_payloadd (Environment *_environment, char *_data) |
| void | dojo_end (Environment *_environment) |
| Variable * | dojo_ping (Environment *_environment, char *_param1, char *_param2) |
| Variable * | dojo_create_port (Environment *_environment) |
| Variable * | dojo_open_port (Environment *_environment, char *_name) |
| Variable * | dojo_put_message (Environment *_environment, char *_port, char *_channel, char *_message) |
| Variable * | dojo_error (Environment *_environment) |
| Variable * | dojo_peek_message (Environment *_environment, char *_port, char *_channel) |
| Variable * | dojo_get_message (Environment *_environment, char *_port, char *_channel) |
| void | dojo_get_message_inplace (Environment *_environment, char *_port, char *_channel, char *_variable) |
| void | ellipse (Environment *_environment, char *_x, char *_y, char *_rx, char *_ry, char *_c, int _preserve_color) |
| Emit code for ELLIPSE command. | |
| void | else_if_then (Environment *_environment, char *_expression) |
| Emit ASM code for ... ELSE [IF] .... | |
| void | else_if_then_label (Environment *_environment) |
| Emit ASM code for ... ELSE [IF] .... | |
| Variable * | encrypt (Environment *_environment, char *_data, char *_key) |
| Emit code for ENCRYPT. | |
| void | end (Environment *_environment) |
| Emit ASM code for END. | |
| void | end_copper (Environment *_environment) |
| Emit code for BEGIN COPPER. | |
| void | end_for (Environment *_environment) |
| void | end_for_identifier (Environment *_environment, char *_identifier) |
| Emit ASM code for ... NEXT. | |
| void | end_gameloop (Environment *_environment) |
| Emit ASM code for END GAMELOOP. | |
| void | end_if_then (Environment *_environment) |
| Emit ASM code for ENDIF. | |
| void | end_do_loop (Environment *_environment) |
| Emit ASM code for ... LOOP. | |
| void | end_loop (Environment *_environment, int _do) |
| Emit ASM code for ... LOOP. | |
| void | end_loop_until (Environment *_environment, char *_expr) |
| Emit ASM code for ... LOOP. | |
| void | end_loop_while (Environment *_environment, char *_expr) |
| Emit ASM code for ... LOOP. | |
| void | end_procedure (Environment *_environment, char *_value) |
| Emit code for END PROC. | |
| void | end_repeat (Environment *_environment) |
| Emit ASM code for ... UNTIL [expression]. | |
| void | end_repeat_condition (Environment *_environment, char *_expression) |
| void | end_select_case (Environment *_environment) |
| Emit ASM code for ENDSELECT. | |
| void | end_storage (Environment *_environment) |
| Emit code for ENDSTORAGE. | |
| void | end_type (Environment *_environment) |
| Emit code for ENDSTORAGE. | |
| void | end_while (Environment *_environment) |
| Emit ASM code for ... WEND. | |
| void | envelope (Environment *_environment, char *_voice, char *_attack, char *_decay, char *_sustain, char *_release) |
| void | error (Environment *_environment, char *_message) |
| Emit ASM code for ERROR. | |
| char * | escape_newlines (char *_string) |
| char * | escape_newlines_full (char *_string, int _size) |
| void | every_cleanup (Environment *_environment) |
| void | every_off (Environment *_environment, char *_timer) |
| Emit ASM code for EVERY OFF. | |
| void | every_on (Environment *_environment, char *_timer) |
| Emit ASM code for EVERY ON. | |
| void | every_ticks_call (Environment *_environment, char *_timing, char *_label, char *_timer) |
| void | every_ticks_gosub (Environment *_environment, char *_timing, char *_label, char *_timer) |
| Emit ASM code for EVERY ... TICKS GOSUB .... | |
| void | exit_loop (Environment *_environment, int _number) |
| Emit ASM code for EXIT. | |
| void | exit_loop_if (Environment *_environment, char *_expression, int _number) |
| Emit ASM code for EXIT IF. | |
| void | exit_proc_if (Environment *_environment, char *_expression, char *_value) |
| Emit ASM code for EXIT PROC IF. | |
| void | exit_procedure (Environment *_environment) |
| Emit code for POP PROC / EXIT PROC. | |
| void | fade_in (Environment *_environment, char *_period) |
| Emit code for FADE. | |
| void | fade_in_color (Environment *_environment, int _index, int _shade) |
| void | fade_in_color_semivars (Environment *_environment, int _index, char *_shade) |
| Emit ASM code for instruction COLOR [expression], [expression]. | |
| void | fade_in_color_vars (Environment *_environment, char *_index, char *_shade) |
| Emit ASM code for instruction COLOR [expression], [expression]. | |
| void | fade_ticks_var (Environment *_environment, char *_ticks) |
| Emit code for FADE. | |
| void | fade_milliseconds_var (Environment *_environment, char *_millliseconds) |
| void | fade_out (Environment *_environment, char *_period) |
| Emit code for FADE. | |
| void | fast (Environment *_environment) |
| Emit ASM code for FAST. | |
| void | fcircle (Environment *_environment, char *_x, char *_y, char *_r, char *_c, int _preserve_color) |
| Emit code for CIRCLE command. | |
| void | fellipse (Environment *_environment, char *_x, char *_y, char *_rx, char *_ry, char *_c, int _preserve_color) |
| Emit code for ELLIPSE command. | |
| void | field_type (Environment *_environment, char *_name, VariableType _datatype) |
| int | file_size (Environment *_environment, char *_target_name) |
| Emit code for FILE ... AS .... | |
| void | file_storage (Environment *_environment, char *_source_name, char *_target_name, FileStorageFormat _format, VariableType _type) |
| Emit code for FILE ... AS .... | |
| void | fill (Environment *_environment, char *_x, char *_y, char *_w, char *_h, char *_char, char *_color) |
| int | find_frame_by_type (Environment *_environment, TsxTileset *_tileset, char *_images, char *_description) |
| void | flash (Environment *_environment, char *_index, char *_register) |
| Emit code for FLASH. | |
| void | flash_off (Environment *_environment, char *_index) |
| void | flip_image_vars (Environment *_environment, char *_image, char *_frame, char *_sequence, char *_direction) |
| Emit ASM code for FLIP IMAGE X/Y/XY/YX [image]. | |
| void | flip_image_vars_direction (Environment *_environment, char *_image, char *_frame, char *_sequence, int _direction) |
| void | flip_image_vars_indirection (Environment *_environment, char *_image, char *_frame, char *_sequence, char *_direction) |
| void | font_descriptors_init (Environment *_environment, int _embedded_present) |
| void | forbid (Environment *_environment) |
| Emit code for YIELD. | |
| Variable * | fp_cos (Environment *_environment, char *_angle) |
| Variable * | fp_sin (Environment *_environment, char *_angle) |
| Variable * | fp_tan (Environment *_environment, char *_angle) |
| Variable * | fp_log (Environment *_environment, char *_value) |
| Variable * | fp_exp (Environment *_environment, char *_value) |
| int | frames (Environment *_environment, char *_image) |
| Emit code for FRAMES(...). | |
| void | freeze_vars (Environment *_environment, char *_prefix) |
| Emit code for FREEZE .... | |
| void | fujinet_set_device (Environment *_environment, int _device_id) |
| void | fujinet_set_device_var (Environment *_environment, char *_device_id) |
| Variable * | fujinet_get_bytes_waiting (Environment *_environment) |
| Variable * | fujinet_is_connected (Environment *_environment) |
| Variable * | fujinet_get_error (Environment *_environment) |
| Variable * | fujinet_is_ready (Environment *_environment) |
| Variable * | fujinet_open (Environment *_environment, char *_url, char *_mode, char *_trans) |
| void | fujinet_close (Environment *_environment) |
| void | fujinet_get_status (Environment *_environment) |
| Variable * | fujinet_http_post_bin (Environment *_environment, char *_value) |
| Variable * | fujinet_http_post_bin_type (Environment *_environment, char *_value, VariableType _type) |
| Variable * | fujinet_read (Environment *_environment, char *_size) |
| Variable * | fujinet_read_type (Environment *_environment, VariableType _type) |
| Variable * | fujinet_write (Environment *_environment, char *_value) |
| Variable * | fujinet_write_type (Environment *_environment, char *_value, VariableType _type) |
| Variable * | fujinet_set_channel_mode (Environment *_environment, int _mode) |
| Variable * | fujinet_set_channel_mode_var (Environment *_environment, char *_mode) |
| Variable * | fujinet_parse_json (Environment *_environment) |
| void | fujinet_json_query (Environment *_environment, char *_query) |
| void | fujinet_login (Environment *_environment, char *_login) |
| void | fujinet_password (Environment *_environment, char *_password) |
| void | fujinet_define (Environment *_environment, FujiNetDefine _mode) |
| void | generate_cgoto_address_table (Environment *_environment) |
| Variable * | get_at (Environment *_environment, char *_x, char *_y) |
| Emit code for = AT$(...,...). | |
| Variable * | get_cmove (Environment *_environment, char *_x, char *_y) |
| Emit code for = CMOVE(...,...). | |
| Variable * | get_cmove_direct (Environment *_environment, int _x, int _y) |
| void | get_image (Environment *_environment, char *_image, char *_x1, char *_y1, char *_x2, char *_y2, char *_frame, char *_sequence, int _palette) |
| Emit ASM code for GET IMAGE [image] AT [int],[int]. | |
| void | get_image_overwrite_size (Environment *_environment, char *_image, char *_x1, char *_y1, char *_x2, char *_y2) |
| Variable * | get_paper (Environment *_environment, char *_color) |
| Emit code for the PAPER$(...). | |
| Variable * | get_pen (Environment *_environment, char *_color) |
| Emit code for the PEN$(...). | |
| Variable * | get_raster_line (Environment *_environment) |
| Emit ASM code for RASTER LINE. | |
| Variable * | get_tab (Environment *_environment) |
| Emit code for TAB$. | |
| char * | get_temporary_filename (Environment *_environment) |
| Variable * | get_ticks_per_second (Environment *_environment) |
| Emit code for TAB$. | |
| Variable * | get_timer (Environment *_environment) |
| Emit code for = TI. | |
| void | global (Environment *_environment) |
| Manage variable as "global". | |
| void | gosub_label (Environment *_environment, char *_label) |
| Emit ASM code for GOSUB [label]. | |
| void | gosub_number (Environment *_environment, int _number) |
| Emit ASM code for GOSUB [number]. | |
| void | goto_label (Environment *_environment, char *_label) |
| Emit ASM code for GOTO [label]. | |
| void | goto_number (Environment *_environment, int _number) |
| Emit ASM code for GOTO [number]. | |
| void | gprint (Environment *_environment, char *_atlas, char *_text, char *_x, char *_y) |
| Emit code for GPRINT... instruction. | |
| void | graphic (Environment *_environment) |
| Emit ASM implementation for GRAPHIC instruction. | |
| void | gr_locate (Environment *_environment, char *_x, char *_y) |
| Emit code for GR LOCATE command. | |
| void | halt (Environment *_environment) |
| Emit ASM code for HALT. | |
| Variable * | hit_to (Environment *_environment, int _sprite) |
| Emit ASM code for = HIT([int]x). | |
| Variable * | hit_to_vars (Environment *_environment, char *_sprite) |
| Emit ASM code for = HIT([expression]). | |
| void | hires (Environment *_environment, char *_foreground, char *_background) |
| void | home (Environment *_environment) |
| Emit code for HOME. | |
| void | if_then (Environment *_environment, char *_expression) |
| Emit ASM code for IF ... THEN .... | |
| char * | image_cut (Environment *_environment, char *_source, int _x, int _y, int _width, int _height) |
| char * | image_flip_x (Environment *_environment, char *_source, int _width, int _height, int _depth) |
| char * | image_flip_y (Environment *_environment, char *_source, int _width, int _height, int _depth) |
| Variable * | image_load (Environment *_environment, char *_filename, char *_alias, int _mode, int _flags, int _transparent_color, int _background_color, int _bank_expansion) |
| Emit code for LOAD IMAGE(...). | |
| Variable * | image_load_from_buffer (Environment *_environment, char *_buffer, int _buffer_size) |
| Emit code for (IMAGE)#[...]. | |
| int | image_size (Environment *_environment, int _width, int _height) |
| Variable * | 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 | image_converter_asserts (Environment *_environment, int _width, int _height, int _offset_x, int _offset_y, int *_frame_width, int *_frame_height, int _modulo_x, int _modulo_y) |
| void | image_converter_asserts_free (Environment *_environment, int _width, int _height, int _offset_x, int _offset_y, int *_frame_width, int *_frame_height) |
| void | image_converter_asserts_free_height (Environment *_environment, int _width, int _height, int _offset_x, int _offset_y, int *_frame_width, int *_frame_height, int _modulo_x) |
| void | image_converter_asserts_free_width (Environment *_environment, int _width, int _height, int _offset_x, int _offset_y, int *_frame_width, int *_frame_height, int _modulo_y) |
| Variable * | image_extract (Environment *_environment, char *_images, int _frame, int *_sequence) |
| Emit code for IMAGE(... FRAME ... STRIP ...). | |
| char * | image_extract_subimage (Environment *_environment, char *_source, int _width, int _height, int _frame_width, int _frame_height, int _x, int _y, int _depth) |
| Variable * | image_get_height (Environment *_environment, char *_image) |
| Emit code for IMAGE HEIGHT(...). | |
| Variable * | image_get_width (Environment *_environment, char *_image) |
| Emit code for IMAGE WIDTH(...). | |
| char * | image_enlarge_right (Environment *_environment, char *_source, int _width, int _height, int _delta) |
| char * | image_enlarge_bottom (Environment *_environment, char *_source, int _width, int _height, int _delta) |
| RGBi * | image_nearest_system_color (RGBi *_color) |
| Variable * | image_ref (Environment *_environment, char *_image) |
| char * | image_roll_x_left (Environment *_environment, char *_source, int _width, int _height) |
| char * | image_roll_x_right (Environment *_environment, char *_source, int _width, int _height) |
| char * | image_roll_y_down (Environment *_environment, char *_source, int _width, int _height) |
| Variable * | image_storage (Environment *_environment, char *_source_name, char *_target_name, int _mode, int _flags, int _transparent_color, int _background_color, int _bank_expansion) |
| Emit code for IMAGE ... AS .... | |
| Variable * | images_storage (Environment *_environment, char *_source_name, char *_target_name, int _mode, int _frame_width, int _frame_height, int _flags, int _transparent_color, int _background_color, int _bank_expansion, int _origin_x, int _origin_y, int _offset_x, int _offset_y) |
| Emit code for IMAGE ... AS .... | |
| Variable * | images_load (Environment *_environment, char *_filename, char *_alias, int _mode, int _frame_width, int _frame_height, int _flags, int _transparent_color, int _background_color, int _bank_expansion, int _origin_x, int _origin_y, int _offset_x, int _offset_y) |
| Emit code for LOAD IMAGE(...). | |
| Variable * | images_load_from_buffer (Environment *_environment, char *_buffer, int _buffer_size) |
| Emit code for (IMAGES)#[...]. | |
| void | insert (Environment *_environment, char *_string, char *_x, char *_y, char *_w, char *_h, char *_color) |
| Variable * | in_var (Environment *_environment, char *_port) |
| Emit ASM code for IN. | |
| void | ink (Environment *_environment, char *_expression) |
| Emit code for INK ... command. | |
| void | inkb (Environment *_environment, char *_value, char *_color1, char *_color2) |
| Emit code for INKB ... command. | |
| Variable * | inkey (Environment *_environment) |
| void | input (Environment *_environment, char *_variable, VariableType _default_type) |
| Variable * | input_string (Environment *_environment, char *_size) |
| void | instrument (Environment *_environment, int _instrument, int _channels) |
| Emit ASM code for INSTRUMENT .... | |
| void | instrument_semi_var (Environment *_environment, int _instrument, char *_channels) |
| Emit ASM code for INSTRUMENT .... | |
| void | interleaved_instructions (Environment *_environment) |
| int | is_do_loop (Environment *_environment) |
| Emit ASM code for ... LOOP. | |
| void | jmove (Environment *_environment, char *_port, char *_x, char *_y, char *_minx, char *_maxx, char *_miny, char *_maxy, char *_xstep, char *_ystep) |
| Variable * | jfire (Environment *_environment, int _port) |
| Variable * | jfire_vars (Environment *_environment, char *_port) |
| Variable * | joy (Environment *_environment, int _port) |
| Variable * | joydir (Environment *_environment, int _port) |
| Variable * | joydir_semivars (Environment *_environment, char *_port) |
| Variable * | joy_vars (Environment *_environment, char *_port) |
| Variable * | joy_direction (Environment *_environment, int _port, int _direction) |
| Variable * | joy_direction_semivars (Environment *_environment, char *_port, int _direction) |
| Variable * | joyx (Environment *_environment, int _port) |
| Variable * | joyx_vars (Environment *_environment, char *_port) |
| Variable * | joyy (Environment *_environment, int _port) |
| Variable * | joyy_vars (Environment *_environment, char *_port) |
| int | key_constant (Environment *_environment, int _key) |
| Variable * | key_state (Environment *_environment, int _scancode) |
| Variable * | key_state_var (Environment *_environment, char *_scancode) |
| Variable * | keyshift (Environment *_environment) |
| Variable * | key_pressed (Environment *_environment, int _scancode) |
| Variable * | key_pressed_var (Environment *_environment, char *_scancode) |
| void | kill_procedure (Environment *_environment, char *_handle) |
| Emit code for KILL .... | |
| void | label_define_numeric (Environment *_environment, int _label) |
| void | label_define_named (Environment *_environment, char *_label) |
| int | label_exists_named (Environment *_environment, char *_label) |
| int | label_exists_numeric (Environment *_environment, int _label) |
| void | label_referred_define_numeric (Environment *_environment, int _label) |
| void | label_referred_define_named (Environment *_environment, char *_label) |
| int | label_referred_exists_named (Environment *_environment, char *_label) |
| int | label_referred_exists_numeric (Environment *_environment, int _label) |
| void | label_stored_define_named (Environment *_environment, char *_label) |
| int | label_stored_exists_named (Environment *_environment, char *_label) |
| void | lbottom (Environment *_environment) |
| Emit code for HOME. | |
| void | leftw (Environment *_environment, char *_line, char *_column, char *_width, char *_height) |
| Emit code for LEFTW .... | |
| void | leftb (Environment *_environment, char *_line, char *_column, char *_width, char *_height) |
| Emit code for LEFTB .... | |
| Variable * | load (Environment *_environment, char *_filename, char *_alias, int _at, int _bank_expansion, int _flags) |
| Emit code for LOAD(...). | |
| void | locate (Environment *_environment, char *_x, char *_y) |
| Emit code for LOCATE ...,.... | |
| void | loop (Environment *_environment, char *_label) |
| RGBi * | malloc_palette (int _size) |
| Allocate a palette space. | |
| float | max_of_two (float _x, float _y) |
| float | max_of_three (float _m, float _n, float _p) |
| Variable * | maximum (Environment *_environment, char *_source, char *_dest) |
| Return the maximum value between two expressions. | |
| void | memclr (Environment *_environment, char *_address, char *_size, char *_value) |
| void | memcont (Environment *_environment, char *_param) |
| void | memdef (Environment *_environment, char *_size, char *_address, char *_eaddress, char *_bank) |
| void | memlen (Environment *_environment, char *_size) |
| void | memload (Environment *_environment) |
| void | memorize (Environment *_environment) |
| void | memor (Environment *_environment, char *_address, char *_eaddress, char *_bank) |
| void | memory_area_assign (MemoryArea *_first, Variable *_variable) |
| void | memory_area_unassign (MemoryArea *_first, Variable *_variable) |
| void | mempos (Environment *_environment, char *_address, char *_bank) |
| void | memrestore (Environment *_environment, char *_param) |
| void | memsave (Environment *_environment) |
| float | min_of_two (float _x, float _y) |
| float | min_of_three (float _m, float _n, float _p) |
| Variable * | minimum (Environment *_environment, char *_source, char *_dest) |
| Return the minimum value between two expressions. | |
| void | mmob (Environment *_environment, char *_sprite, char *_sx, char *_sy, char *_zx, char *_zy, char *_gr, char *_sp) |
| Emit code for MOVE .... | |
| void | mmove_memory_memory (Environment *_environment, char *_from, char *_to, char *_size) |
| Emit ASM code for MMOVE [expr] TO [expr] SIZE [expr]. | |
| void | mmove_memory_video (Environment *_environment, char *_from, char *_to, char *_size) |
| Emit ASM code for MMOVE {VIDEO} [expr] TO {VIDEO} [expr] SIZE [expr]. | |
| void | mmove_video_memory (Environment *_environment, char *_from, char *_to, char *_size) |
| Emit ASM code for MMOVE {VIDEO} [expr] TO {VIDEO} [expr] SIZE [expr]. | |
| void | move (Environment *_environment, char *_prefix, char *_movement, char *_x, char *_y, char *_animation) |
| Emit code for MOVE .... | |
| void | move_tile (Environment *_environment, char *_tile, char *_x, char *_y) |
| Emit ASM code for MOVE TILE [image] AT [int],[int]. | |
| void | movement (Environment *_environment, char *_identifier, char *_atlas, char *_prefix) |
| Emit code for MOVEMENT .... | |
| Variable * | moving (Environment *_environment, char *_prefix, char *_movement) |
| Emit code for MOVING. | |
| Variable * | msprite_init (Environment *_environment, char *_image, char *_sprite, int _flags) |
| Emit code for SPRITE(...). | |
| Variable * | msprite_duplicate (Environment *_environment, char *_original) |
| Emit code for SPRITE(...). | |
| void | msprite_update (Environment *_environment) |
| Emit code for SPRITE(...). | |
| Variable * | music_load (Environment *_environment, char *_filename, char *_alias, int _bank_expansion) |
| Emit code for LOAD MUSIC(...). | |
| Variable * | music_load_to_variable (Environment *_environment, char *_filename, char *_alias, int _bank_expansion) |
| Variable * | music_storage (Environment *_environment, char *_filename, char *_alias, int _bank_expansion) |
| Emit code for LOAD MUSIC(...). | |
| void | music_var (Environment *_environment, char *_music, int _loop, int _music_type) |
| Emit ASM code for MUSIC .... | |
| void | music_pause (Environment *_environment) |
| void | music_resume (Environment *_environment) |
| void | music_stop (Environment *_environment) |
| void | music_seek_var (Environment *_environment, char *_position) |
| void | next_animation (Environment *_environment, char *_prefix) |
| Emit code for KILL .... | |
| void | next_raster (Environment *_environment) |
| Emit ASM code for NEXT RASTER. | |
| void | next_raster_at_with (Environment *_environment, int _at, char *_with) |
| Emit ASM code for NEXT RASTER AT [int] WITH [label]. | |
| void | next_raster_at_with_var (Environment *_environment, char *_var, char *_with) |
| Emit ASM code for NEXT RASTER AT [expresssion] WITH label. | |
| Variable * | new_image (Environment *_environment, int _width, int _height, int _mode) |
| Emit code for NEW IMAGE(...). | |
| Variable * | new_images (Environment *_environment, int _frames, int _width, int _height, int _mode) |
| Emit code for NEW IMAGE(...). | |
| Variable * | new_music (Environment *_environment, int _size) |
| Emit code for NEW IMAGE(...). | |
| Variable * | new_sequence (Environment *_environment, int _sequences, int _frames, int _width, int _height, int _mode) |
| Emit code for NEW SEQUENCE(...). | |
| void | offsetting_add_variable_reference (Environment *_environment, Offsetting *_first, Variable *_var, int _sequence) |
| Offsetting * | offsetting_size_count (Environment *_environment, int _size, int _count) |
| void | on_gosub (Environment *_environment, char *_expression) |
| Emit ASM code for ON ... GOSUB .... | |
| void | on_gosub_end (Environment *_environment) |
| Emit ASM code for ... (of ON ... GOSUB ...). | |
| void | on_gosub_index (Environment *_environment, char *_label) |
| Emit ASM code for ... (of ON ... GOSUB ...). | |
| void | on_gosub_number (Environment *_environment, int _number) |
| Emit ASM code for ... (of ON ... GOSUB ...). | |
| void | on_goto (Environment *_environment, char *_expression) |
| Emit ASM code for ON ... GOTO .... | |
| void | on_goto_end (Environment *_environment) |
| Emit ASM code for ... (of ON ... GOTO ...). | |
| void | on_goto_index (Environment *_environment, char *_label) |
| Emit ASM code for ... (of ON ... GOTO ...). | |
| void | on_goto_number (Environment *_environment, int _number) |
| Emit ASM code for ... (of ON ... GOTO ...). | |
| void | on_proc (Environment *_environment, char *_expression) |
| Emit ASM code for ON ... PROC .... | |
| void | on_proc_end (Environment *_environment) |
| Emit ASM code for ... (of ON ... PROC ...). | |
| void | on_proc_index (Environment *_environment, char *_label) |
| Emit ASM code for ... (of ON ... PROC ...). | |
| void | on_scroll_call (Environment *_environment, int _x, int _y, char *_label) |
| Emit ASM code for ON SCROLL ... CALL .... | |
| void | on_scroll_gosub (Environment *_environment, int _x, int _y, char *_label) |
| Emit ASM code for ON ... GOSUB .... | |
| void | option_dialect (Environment *_environment, Dialect _dialect) |
| Variable * | origin_resolution_relative_transform_x (Environment *_environment, char *_x, int _is_relative) |
| Variable * | origin_resolution_relative_transform_y (Environment *_environment, char *_y, int _is_relative) |
| void | out_var (Environment *_environment, char *_port, char *_value) |
| Emit ASM code for OUT. | |
| void | paint_vars (Environment *_environment, char *_x, char *_y, char *_c, char *_b) |
| Emit ASM code for PAIN. | |
| int | palette_extract (Environment *_environment, char *_data, int _width, int _height, int _depth, int _flags, RGBi *_palette) |
| RGBi * | palette_match (RGBi *_source, int _source_size, RGBi *_system, int _system_size) |
| Make a "palette match". | |
| RGBi * | palette_match_hardware_index (RGBi *_source, int _source_size, RGBi *_system, int _system_size) |
| RGBi * | palette_merge (RGBi *_palette1, int _palette1_size, RGBi *_palette2, int _palette2_size, int *_size) |
| Make a "palette merge". | |
| RGBi * | palette_promote_color_as_background (int _index, RGBi *_source, int _source_size) |
| Promote an index color in a palette. | |
| RGBi * | palette_promote_color_as_foreground (int _index, RGBi *_source, int _source_size, int _max_size) |
| Promote an index color in a palette. | |
| RGBi * | palette_remove_duplicates (RGBi *_source, int _source_size, int *_unique_size) |
| Remove duplicates from a palette. | |
| RGBi * | palette_shift (RGBi *_source, int _source_size, int _offset) |
| Shift colors in palette. | |
| void | paper (Environment *_environment, char *_paper) |
| Emit code for PAPER ... command. | |
| Variable * | param_procedure (Environment *_environment, char *_name) |
| Emit code for PARAM(...). | |
| char * | parse_buffer (Environment *_environment, char *_buffer, int *_size, int _hex_only) |
| Variable * | parse_buffer_definition (Environment *_environment, char *_buffer, VariableType _type, int _hex_only) |
| void | pause_seconds (Environment *_environment, char *_string, char *_duration) |
| Variable * | peek_var (Environment *_environment, char *_location) |
| Emit ASM code for PEEK(...). | |
| Variable * | peekw_var (Environment *_environment, char *_location) |
| Variable * | peekd_var (Environment *_environment, char *_location) |
| void | pen (Environment *_environment, char *_color) |
| Emit code for PEN ... command. | |
| void | play (Environment *_environment, int _note, int _duration, int _channels) |
| Emit ASM code for PLAY .... | |
| void | play_vars (Environment *_environment, char *_note, char *_duration, char *_channels) |
| Emit ASM code for PLAY .... | |
| void | play_off (Environment *_environment, int _channels) |
| Emit ASM code for PLAY OFF. | |
| void | play_off_var (Environment *_environment, char *_channels) |
| Emit ASM code for PLAY OFF .... | |
| void | play_string (Environment *_environment, char *_string) |
| void | plot (Environment *_environment, char *_x, char *_y, char *_c, int _preserve_color) |
| Emit code for PLOT. | |
| void | pmode (Environment *_environment, int _mode, int _start_page) |
| Variable * | point (Environment *_environment, char *_x, char *_y) |
| Emit code for POINT(...). | |
| void | point_at (Environment *_environment, int _x, int _y) |
| Emit ASM code for POINT AT ([int],[int]). | |
| void | point_at_vars (Environment *_environment, char *_x, char *_y) |
| Emit ASM code for POINT AT ([int]x,[int]x). | |
| void | poke_var (Environment *_environment, char *_address, char *_value) |
| Emit ASM code for POKE. | |
| void | pokew_var (Environment *_environment, char *_address, char *_value) |
| void | poked_var (Environment *_environment, char *_address, char *_value) |
| void | pop (Environment *_environment) |
| Emit ASM code for POP. | |
| Variable * | powering (Environment *_environment, char *_source, char *_dest) |
| Emit code to raise a variable to a given variable. | |
| TileDescriptors * | precalculate_tile_descriptors_for_font (char *_fontData, int _fontSize) |
| void | prepare_variable_storage (Environment *_environment, char *_name, Variable *_variable) |
| void | print (Environment *_environment, char *_text, int _new_line, int _raw) |
| Emit code for PRINT... instruction. | |
| void | print_buffer (Environment *_environment, char *_buffer, int _new_line, int _printable) |
| Emit code for PRINT... instruction. | |
| void | print_newline (Environment *_environment) |
| Emit code for print a single newline. | |
| void | print_question_mark (Environment *_environment) |
| Emit code for print a single question mark. | |
| void | print_tab (Environment *_environment, int _new_line) |
| Emit code for print a single TAB. | |
| void | proc (Environment *_environment, char *_label) |
| Emit ASM code for PROC. | |
| int | procedure_exists (Environment *_environment, char *_name) |
| void | put_key (Environment *_environment, char *_string) |
| void | put_image (Environment *_environment, char *_image, char *_x1, char *_y1, char *_x2, char *_y2, char *_frame, char *_sequence, int _flags) |
| Emit ASM code for PUT IMAGE [image] AT [int],[int]. | |
| void | put_image_vars (Environment *_environment, char *_image, char *_x1, char *_y1, char *_x2, char *_y2, char *_frame, char *_sequence, char *_flags) |
| Emit ASM code for PUT IMAGE [image] AT [int],[int]. | |
| void | put_image_vars_flags (Environment *_environment, char *_image, char *_x1, char *_y1, char *_x2, char *_y2, char *_frame, char *_sequence, int _flags) |
| void | put_tile (Environment *_environment, char *_tile, char *_x, char *_y, char *_w, char *_h) |
| Emit ASM code for PUT TILE [image] AT [int],[int]. | |
| void | put_tilemap_vars (Environment *_environment, char *_tilemap, int _flags, char *_dx, char *_dy, char *_layer, char *_padding_tile) |
| Emit ASM code for PUT TILEMAP [tilemap]. | |
| void | put_tilemap_inline (Environment *_environment, char *_tilemap, int _flags, char *_dx, char *_dy, char *_layer, int _padding_tile) |
| Variable * | random_value (Environment *_environment, VariableType _type) |
| Emit ASM code for = RANDOM. | |
| void | randomize (Environment *_environment, char *_seed) |
| Emit ASM code for RANDOMIZE. | |
| Variable * | range (Environment *_environment, char *_expression, char *_min, char *_max) |
| Emit code for READ instruction. | |
| void | raster_at (Environment *_environment, char *_label, int _position) |
| Emit ASM code for RASTER AT [int] WITH [label]. | |
| void | raster_at_var (Environment *_environment, char *_label, char *_position) |
| Emit ASM code for RASTER AT [expression] WITH label. | |
| Variable * | read_end (Environment *_environment) |
| Emit code for READ END function. | |
| Variable * | read_end_unsafe (Environment *_environment) |
| void | read_data (Environment *_environment, char *_variable, int _safe) |
| Emit code for READ instruction. | |
| void | read_data_unsafe (Environment *_environment, char *_variable) |
| void | remember (Environment *_environment) |
| void | repeat (Environment *_environment, char *_label) |
| void | reset (Environment *_environment) |
| char * | resolve_color (Environment *_environment, char *_color) |
| char * | resource_load_asserts (Environment *_environment, char *_filename) |
| Variable * | respawn_procedure (Environment *_environment, char *_name) |
| Emit code for SPAWN .... | |
| void | restore_label (Environment *_environment, char *_label) |
| void | restore_label_unsafe (Environment *_environment, char *_label) |
| void | resume_vars (Environment *_environment, char *_thread) |
| Emit code for RESUME .... | |
| void | return_label (Environment *_environment) |
| Emit ASM code for RETURN. | |
| void | return_procedure (Environment *_environment, char *_value) |
| Emit code for RETURN .... | |
| int | rgbi_equals_rgb (RGBi *_first, RGBi *_second) |
| int | rgbi_equals_rgba (RGBi *_first, RGBi *_second) |
| int | rgbi_extract_palette (Environment *_environment, unsigned char *_source, int _width, int _height, int _depth, RGBi _palette[], int _palette_size, int _sorted) |
| Extract the color palette from the given image. | |
| void | rgbi_move (RGBi *_source, RGBi *_destination) |
| int | rgbi_distance (RGBi *_source, RGBi *_destination) |
| Calculate the distance between two colors. | |
| void | rightw (Environment *_environment, char *_line, char *_column, char *_width, char *_height) |
| Emit code for RIGHTW .... | |
| void | rightb (Environment *_environment, char *_line, char *_column, char *_width, char *_height) |
| Emit code for RIGHTB .... | |
| Variable * | rnd (Environment *_environment, char *_value) |
| Return a random value. | |
| Variable * | rnd0 (Environment *_environment) |
| Return a random value. | |
| Variable * | rnd1 (Environment *_environment) |
| void | rot (Environment *_environment, char *_angle, char *_step) |
| Variable * | rotate_vector (Environment *_environment, char *_vector, char *_angle) |
| Emit ASM code to implement CREATE PATH command. | |
| void | run (Environment *_environment) |
| Emit code for RUN. | |
| void | run_parallel (Environment *_environment) |
| Emit code for RUN PARALLEL. | |
| Variable * | running (Environment *_environment, char *_thread_id, char *_procedure_name) |
| Emit code for RUN PARALLEL. | |
| void | sbpen_set (Environment *_environment, int _index, char *_color) |
| Variable * | sbpen_get (Environment *_environment, char *_index) |
| Variable * | scancode (Environment *_environment) |
| Variable * | scanshift (Environment *_environment) |
| Variable * | screen_can (Environment *_environment, int _mode) |
| Emit ASM code for CAN SCREEN [mode]. | |
| void | screen_columns (Environment *_environment, int _columns) |
| Emit ASM code for SCREEN COLUMNS [integer]. | |
| void | screen_columns_var (Environment *_environment, char *_columns) |
| Emit ASM code for SCREEN COLUMNS [int]x. | |
| Variable * | screen_get_height (Environment *_environment) |
| Variable * | screen_get_width (Environment *_environment) |
| void | screen_horizontal_scroll (Environment *_environment, int _displacement) |
| Emit ASM code for SCREEN HORIZONTAL SCROLL [int]x. | |
| void | screen_horizontal_scroll_var (Environment *_environment, char *_displacement) |
| Emit ASM code for SCREEN HORIZONTAL SCROLL [expression[. | |
| void | screen_mode (Environment *_environment, int _mode) |
| Emit ASM code for SCREEN [mode]. | |
| void | screen_type_color_set (Environment *_environment, int _type, int _color_set) |
| void | screen_off (Environment *_environment) |
| Emit ASM code for SCREEN OFF. | |
| void | screen_on (Environment *_environment) |
| Emit ASM code for SCREEN ON. | |
| void | screen_rows (Environment *_environment, int _rows) |
| Emit ASM code for SCREEN ROWS [integer]. | |
| void | screen_rows_var (Environment *_environment, char *_rows) |
| Emit ASM code for SCREEN ROWS [int]x. | |
| void | screen_swap (Environment *_environment) |
| Emit code for SCREEN SWAP. | |
| Variable * | screen_page (Environment *_environment) |
| Emit code for SCREEN SWAP. | |
| Variable * | screen_tiles_get (Environment *_environment) |
| Variable * | screen_tiles_get_height (Environment *_environment) |
| Variable * | screen_tiles_get_width (Environment *_environment) |
| Variable * | screen_var (Environment *_environment, char *_x, char *_y, int _as_string) |
| void | screen_vertical_scroll (Environment *_environment, int _displacement) |
| Emit ASM code for SCREEN VERTICAL SCROLL [integer]. | |
| void | screen_vertical_scroll_var (Environment *_environment, char *_displacement) |
| Emit ASM code for SCREEN VERTICAL SCROLL [expression]. | |
| void | scroll (Environment *_environment, int _dx, int _dy) |
| void | select_case (Environment *_environment, char *_expression) |
| Emit ASM code for SELECT CASE ... {PASSING}. | |
| Variable * | sequence_load (Environment *_environment, char *_filename, char *_alias, int _mode, int _frame_width, int _frame_height, int _flags, int _transparent_color, int _background_color, int _bank_expansion, int _origin_x, int _origin_y, int _offset_x, int _offset_y) |
| Emit code for LOAD IMAGE(...). | |
| Variable * | sequence_storage (Environment *_environment, char *_filename, char *_alias, int _mode, int _frame_width, int _frame_height, int _flags, int _transparent_color, int _background_color, int _bank_expansion, int _origin_x, int _origin_y, int _offset_x, int _offset_y) |
| Emit code for IMAGE ... AS .... | |
| Variable * | serial_read (Environment *_environment, char *_size) |
| Emit code for SERIAL READ(...). | |
| Variable * | serial_read_type (Environment *_environment, VariableType _type, int _big_endian) |
| Emit code for SERIAL READ datatype. | |
| Variable * | serial_write (Environment *_environment, char *_data) |
| Emit code for SERIAL WRITE(...). | |
| Variable * | serial_write_type (Environment *_environment, char *_data, VariableType _type, int _big_endian) |
| Emit code for SERIAL WRITE(...). | |
| Variable * | serialize (Environment *_environment, char *_data, char *_key) |
| Emit code for SERIALIZE. | |
| void | set_timer (Environment *_environment, char *_value) |
| Emit code for TI =. | |
| void | shared (Environment *_environment) |
| Manage variable as "global". | |
| void | shoot (Environment *_environment, int _channels) |
| Emit ASM code for SHOOT .... | |
| void | slice_image (Environment *_environment, char *_image, char *_frame, char *_sequence, char *_destination) |
| void | slow (Environment *_environment) |
| Emit ASM code for SLOW. | |
| void | sound (Environment *_environment, int _freq, int _duration, int _channels) |
| Emit ASM code for SOUND .... | |
| void | sound_vars (Environment *_environment, char *_freq, char *_duration, char *_channels) |
| Emit ASM code for SOUND .... | |
| void | sound_off (Environment *_environment, int _channels) |
| Emit ASM code for SOUND OFF. | |
| void | sound_off_var (Environment *_environment, char *_channels) |
| Emit ASM code for SOUND OFF .... | |
| Variable * | sign (Environment *_environment, char *_value) |
| Return the sign of a variable. | |
| Variable * | spawn_procedure (Environment *_environment, char *_name, int _halted) |
| Emit code for SPAWN .... | |
| void | spc (Environment *_environment, char *_spaces) |
| Variable * | spen (Environment *_environment) |
| Emit ASM code for = SPEN(). | |
| void | sprite_color (Environment *_environment, int _sprite, int _color) |
| Emit ASM code for instruction SPRITE [int] COLOR [int]. | |
| void | sprite_color_vars (Environment *_environment, char *_sprite, char *_color) |
| Emit ASM code for instruction SPRITE [int] COLOR [int]. | |
| void | sprite_compress_horizontal (Environment *_environment, int _sprite) |
| Emit ASM code for SPRITE [int] COMPRESS HORIZONTAL. | |
| void | sprite_compress_horizontal_var (Environment *_environment, char *_sprite) |
| Emit ASM code for SPRITE [int] COMPRESS HORIZONTAL. | |
| void | sprite_compress_vertical (Environment *_environment, int _sprite) |
| Emit ASM code for SPRITE [int] CPMPRESS VERTICAL. | |
| void | sprite_compress_vertical_var (Environment *_environment, char *_sprite) |
| Emit ASM code for SPRITE [expression] COMPRESS VERTICAL. | |
| Variable * | sprite_converter (Environment *_environment, char *_data, int _width, int _height, int _depth, RGBi *_colorm, int _flags, int _slot_x, int _slot_y) |
| void | sprite_data_from (Environment *_environment, int _sprite, int _address) |
| Emit ASM code for SPRITE [int] DATA FROM [int]. | |
| void | sprite_data_from_vars (Environment *_environment, char *_sprite, char *_address) |
| Emit ASM code for SPRITE [expression] DATA FROM [expression]. | |
| void | sprite_disable (Environment *_environment, int _sprite) |
| Emit ASM code for SPRITE [int] DISABLE. | |
| void | sprite_disable_var (Environment *_environment, char *_sprite) |
| Emit ASM code for SPRITE [expression] DISABLE. | |
| void | sprite_enable (Environment *_environment, int _sprite) |
| Emit ASM code for SPRITE [int] ENABLE. | |
| void | sprite_enable_var (Environment *_environment, char *_sprite) |
| Emit ASM code for SPRITE [expression] ENABLE. | |
| void | sprite_expand_horizontal (Environment *_environment, int _sprite) |
| Emit ASM code for SPRITE [int] EXPAND HORIZONTAL. | |
| void | sprite_expand_horizontal_var (Environment *_environment, char *_sprite) |
| Emit ASM code for SPRITE [expression] EXPAND HORIZONTAL. | |
| void | sprite_expand_vertical (Environment *_environment, int _sprite) |
| Emit ASM code for SPRITE [int] EXPAND VERTICAL. | |
| void | sprite_expand_vertical_var (Environment *_environment, char *_sprite) |
| Emit ASM code for SPRITE [expression] EXPAND VERTICAL. | |
| Variable * | sprite_init (Environment *_environment, char *_image, char *_sprite, int _flags) |
| Emit code for SPRITE(...). | |
| void | sprite_monocolor (Environment *_environment, int _sprite) |
| Emit ASM code for SPRITE [int] MONOCOLOR. | |
| void | sprite_monocolor_var (Environment *_environment, char *_sprite) |
| Emit ASM code for SPRITE [expression] MONOCOLOR. | |
| void | sprite_multicolor (Environment *_environment, int _sprite) |
| Emit ASM code for SPRITE [int] MULTICOLOR. | |
| void | sprite_multicolor_var (Environment *_environment, char *_sprite) |
| Emit ASM code for SPRITE [expression] MULTICOLOR. | |
| void | sprite_at (Environment *_environment, int _sprite, int _x, int _y) |
| Emit ASM code for SPRITE [int] AT ([int],[int]). | |
| void | sprite_at_vars (Environment *_environment, char *_sprite, char *_x, char *_y) |
| Emit ASM code for SPRITE [expression] AT ([expression],[expression]). | |
| Variable * | sqroot (Environment *_environment, char *_value) |
| Return the square root of a variable. | |
| StaticString * | static_string_create (Environment *_environment, char *_value, int _size) |
| StaticString * | static_string_create_filled (Environment *_environment, int _size, char _value) |
| StaticString * | static_string_find_by_value (Environment *_environment, char *_value, int _Size) |
| void | stop_animation (Environment *_environment, char *_prefix) |
| Emit code for STOP .... | |
| void | stop_movement (Environment *_environment, char *_prefix) |
| Emit code for STOP .... | |
| Variable * | strig (Environment *_environment, int _port) |
| Variable * | strig_vars (Environment *_environment, char *_port) |
| StaticString * | string_reserve (Environment *_environment, char *_value) |
| Variable * | strptr (Environment *_environment, char *_name) |
| Emit code for function = STRPTR( ... ). | |
| void | suspend_vars (Environment *_environment, char *_thread) |
| Emit code for SUSPEND .... | |
| void | sys (Environment *_environment, int _address) |
| Emit code for SYS / EXEC ... command. | |
| void | sys_var (Environment *_environment, char *_address) |
| void | sys_call (Environment *_environment, int _address) |
| int | system_call (Environment *_environment, char *_command) |
| Call an external executable. | |
| void | text_at (Environment *_environment, char *_x, char *_y, char *_text) |
| void | text_encoded (Environment *_environment, char *_text, char *_pen, char *_paper, int _raw) |
| Variable * | text_get_xcurs (Environment *_environment) |
| Variable * | text_get_ycurs (Environment *_environment) |
| void | text_hscroll_line (Environment *_environment, int _direction, int _overlap) |
| void | text_hscroll_screen (Environment *_environment, int _direction, int _overlap) |
| void | text_newline (Environment *_environment) |
| void | text_question_mark (Environment *_environment) |
| void | text_set_tab (Environment *_environment, char *_net_tab) |
| Emit code for SET TAB .... | |
| void | text_tab (Environment *_environment) |
| void | text_text (Environment *_environment, char *_text, int _raw) |
| void | text_vscroll (Environment *_environment) |
| void | text_vscroll_screen (Environment *_environment, int _direction, int _overlap) |
| void | textmap_at (Environment *_environment, int _address) |
| Emit ASM code for TEXTMAP AT [int]xx. | |
| void | textmap_at_var (Environment *_environment, char *_address) |
| Emit ASM code for TEXTMAP AT [expression]. | |
| Variable * | tilemap_at (Environment *_environment, char *_tilemap, char *_x, char *_y, char *_layer) |
| Return the height of a TILEMAP. | |
| void | tilemap_disable (Environment *_environment) |
| Emit ASM implementation for TEXT DISABLE instruction. | |
| void | tilemap_enable (Environment *_environment, int _width, int _height, int _colors, int _tile_width, int _tile_height) |
| Emit ASM implementation for TEXT ENABLE instruction. | |
| Variable * | tile_at (Environment *_environment, char *_x, char *_y) |
| Emit code for TILE AT. | |
| int | tile_allocate (TileDescriptors *_tiles, char *_data) |
| Variable * | tile_belong (Environment *_environment, char *_tile, char *_tiles) |
| Emit code for TILE ... BELONG TO .... | |
| Variable * | tile_class (Environment *_environment, char *_tileset, int _id) |
| Emit code for TILE CLASS(...). | |
| Variable * | tile_get_first (Environment *_environment, char *_tile) |
| Emit code for TILE FIRST(...). | |
| Variable * | tile_get_height (Environment *_environment, char *_tile) |
| Emit code for TILE HEIGHT(...). | |
| Variable * | tile_get_width (Environment *_environment, char *_tile) |
| Emit code for TILE WIDTH(...). | |
| int | tile_id (Environment *_environment, char *_tileset, char *_id) |
| Emit code for TILE ID(...). | |
| Variable * | tile_probability (Environment *_environment, char *_tileset, int _id) |
| Emit code for TILE CLASS(...). | |
| Variable * | tilemap_get_height (Environment *_environment, char *_tilemap) |
| Return the height of a TILEMAP. | |
| Variable * | tilemap_get_width (Environment *_environment, char *_tilemap) |
| Return the width of a TILEMAP. | |
| Variable * | tileset_tile_get_height (Environment *_environment, char *_tileset) |
| Return the height of a TILE on a TILESET. | |
| Variable * | tileset_tile_get_width (Environment *_environment, char *_tileset) |
| Return the width of a TILE on a TILESET. | |
| Variable * | tile_load (Environment *_environment, char *_filename, int _flags, char *_tileset, int _index) |
| Emit code for LOAD TILE(...). | |
| Variable * | tiles_load (Environment *_environment, char *_filename, int _flags, char *_tileset, int _index) |
| Emit code for LOAD TILE(...). | |
| void | tiles_at (Environment *_environment, int _address) |
| Emit ASM code for TILES AT [int]xx. | |
| void | tiles_at_var (Environment *_environment, char *_address) |
| Emit ASM code for TILES AT [expression]. | |
| Variable * | tilemap_index_vars (Environment *_environment, char *_tilemap, char *_column, char *_row, char *_layer) |
| Variable * | tilemap_load (Environment *_environment, char *_filename, char *_alias, int _mode, int _flags, int _transparent_color, int _background_color, int _bank_expansion) |
| Emit code for LOAD TILEMAP(...). | |
| Variable * | tileset_load (Environment *_environment, char *_filename, char *_alias, int _mode, int _flags, int _transparent_color, int _background_color, int _bank_expansion) |
| Emit code for LOAD TILESERT(...). | |
| Variable * | tilemap_storage (Environment *_environment, char *_filename, char *_alias, int _mode, int _flags, int _transparent_color, int _background_color, int _bank_expansion) |
| Emit code for LOAD TILEMAP(...). | |
| Variable * | tileset_storage (Environment *_environment, char *_source_name, char *_target_name, int _mode, int _flags, int _transparent_color, int _background_color, int _bank_expansion) |
| Emit code for LOAD TILESERT(...). | |
| Variable * | tileset_of_vars (Environment *_environment, char *_tilemap) |
| Variable * | travel_path (Environment *_environment, char *_p, char *_x, char *_y, char *_times, char *_limited) |
| Emit ASM code to implement TRAVEL PATH command. | |
| void | use_tileset (Environment *_environment, char *_tileset) |
| Emit code for USE TILESET xxx. | |
| char * | unescape_string (Environment *_environment, char *_value, int _printing, int *_final_size) |
| Variable * | uncompress (Environment *_environment, char *_value) |
| void | unfreeze_vars (Environment *_environment, char *_prefix) |
| Emit code for FREEZE .... | |
| void | upw (Environment *_environment, char *_line, char *_column, char *_width, char *_height) |
| Emit code for UPB .... | |
| void | upb (Environment *_environment, char *_line, char *_column, char *_width, char *_height) |
| Emit code for UPB .... | |
| Variable * | variable_add (Environment *_environment, char *_source, char *_dest) |
| Add two variable and return the sum of them. | |
| Variable * | variable_add_const (Environment *_environment, char *_source, int _dest) |
| Add a variable with a constant, and return the sum of them. | |
| void | variable_add_inplace (Environment *_environment, char *_source, int _dest) |
| void | variable_add_inplace_type (Environment *_environment, char *_source, char *_field, int _dest) |
| void | variable_add_inplace_vars (Environment *_environment, char *_source, char *_dest) |
| Add two variable and return the sum of them on the first. | |
| void | variable_add_inplace_type_vars (Environment *_environment, char *_source, char *_field, char *_dest) |
| void | variable_add_inplace_array (Environment *_environment, char *_source, char *_destination) |
| Add a variable to an array element, and return the sum of them on the array element. | |
| void | variable_add_inplace_mt (Environment *_environment, char *_source, char *_destination) |
| Add two variable and return the sum of them on the first. | |
| Variable * | variable_and (Environment *_environment, char *_left, char *_right) |
| Calculate logical "and" and return it as the result. | |
| Variable * | variable_and_const (Environment *_environment, char *_source, int _mask) |
| Calculate "and" mask for a variable and it as the result. | |
| Variable * | variable_array_count_vars (Environment *_environment, char *_name, char *_target) |
| Variable * | variable_array_max_vars (Environment *_environment, char *_name) |
| Variable * | variable_array_min_vars (Environment *_environment, char *_name) |
| Variable * | variable_array_sum_vars (Environment *_environment, char *_name) |
| void | variable_array_fill (Environment *_environment, char *_name, int _value) |
| void | variable_array_fill_random (Environment *_environment, char *_name, int _base, int _min_value, int _max_value, int _count, int _boolean) |
| void | variable_array_fill_incremental (Environment *_environment, char *_name, int _min, int _count) |
| void | variable_array_shuffle (Environment *_environment, char *_name, int _rounds) |
| Variable * | variable_array_type (Environment *_environment, char *_name, VariableType _type) |
| Variable * | variable_bin (Environment *_environment, char *_value, char *_digits, char *_zero, char *_one) |
| Emit code for <string>BIN(...). | |
| Variable * | variable_bit (Environment *_environment, char *_value, char *_position) |
| Emit code for HAS BIT / BIT(...). | |
| Variable * | variable_cast (Environment *_environment, char *_source, VariableType _type) |
| Cast a variable from a type to another. | |
| void | variable_cleanup (Environment *_Environment) |
| Emit source and configuration lines for variables. | |
| Variable * | variable_compare (Environment *_environment, char *_source, char *_dest) |
| Compare two variable and return the result of comparation. | |
| void | variable_compare_and_branch_const (Environment *_environment, char *_source, int _destination, char *_name, int _positive) |
| Variable * | variable_compare_const (Environment *_environment, char *_source, int _dest) |
| Compare two variable and return the result of comparation. | |
| Variable * | variable_compare_not (Environment *_environment, char *_source, char *_dest) |
| Compare two variable and return the result of comparation. | |
| Variable * | variable_compare_not_const (Environment *_environment, char *_source, int _dest) |
| Compare two variable and return the result of comparation. | |
| Variable * | variable_complement_const (Environment *_environment, char *_source, int _mask) |
| Calculate the complement of a variable. | |
| void | variable_decrement (Environment *_environment, char *_source) |
| Decrement a variable by one. | |
| void | variable_decrement_type (Environment *_environment, char *_source, char *_field) |
| void | variable_decrement_array (Environment *_environment, char *_source) |
| void | variable_decrement_array_type (Environment *_environment, char *_source, char *_field) |
| void | variable_decrement_mt (Environment *_environment, char *_source) |
| Decrement a variable by one. | |
| Variable * | variable_define (Environment *_environment, char *_name, VariableType _type, int _value) |
| Define a variable for the program. | |
| Variable * | variable_define_no_init (Environment *_environment, char *_name, VariableType _type) |
| int | variable_delete (Environment *_environment, char *_name) |
| Variable * | variable_direct_assign (Environment *_environment, char *_var, char *_expr) |
| Variable * | variable_div (Environment *_environment, char *_source, char *_dest, char *_remainder) |
| Make a division between two variable and return the product of them. | |
| Variable * | variable_div_const (Environment *_environment, char *_source, int _dest, char *_remainder) |
| Variable * | variable_div2_const (Environment *_environment, char *_source, int _bits, char *_remainder) |
| Subdivide by two a variable for various times and return the result. | |
| Variable * | variable_flip (Environment *_environment, char *_variable) |
| Variable * | variable_sr_const (Environment *_environment, char *_source, int _bits) |
| void | variable_global (Environment *_environment, char *_pattern) |
| Variable * | variable_greater_than (Environment *_environment, char *_source, char *_dest, int _equal) |
| Compare two variable and return the result of comparation. | |
| Variable * | variable_greater_than_const (Environment *_environment, char *_source, int _dest, int _equal) |
| Variable * | variable_hex (Environment *_environment, char *_value, int _separator) |
| Emit code for = HEX( ... ). | |
| Variable * | variable_hex2bin (Environment *_environment, char *_value, char *_variable) |
| Emit code for = HEX2BIN( ... ). | |
| Variable * | variable_export (Environment *_environment, char *_name, VariableType _type, int _size_or_value) |
| Variable * | variable_import (Environment *_environment, char *_name, VariableType _type, int _size_or_value) |
| void | variable_increment (Environment *_environment, char *_source) |
| Increment a variable by one. | |
| void | variable_increment_type (Environment *_environment, char *_source, char *_field) |
| void | variable_increment_array (Environment *_environment, char *_source) |
| void | variable_increment_array_type (Environment *_environment, char *_source, char *_field) |
| void | variable_increment_mt (Environment *_environment, char *_source) |
| Increment a variable by one. | |
| Variable * | variable_int (Environment *_environment, char *_expression) |
| Variable * | variable_less_than (Environment *_environment, char *_source, char *_dest, int _equal) |
| Compare two variable and return the result of comparation. | |
| Variable * | variable_less_than_const (Environment *_environment, char *_source, int _dest, int _equal) |
| Variable * | variable_mod (Environment *_environment, char *_source, char *_destination) |
| Variable * | variable_move (Environment *_environment, char *_source, char *_dest) |
| Store the value of a variable inside another variable by converting it. | |
| void | variable_move_array (Environment *_environment, char *_array, char *_value) |
| void | variable_move_array_string (Environment *_environment, char *_array, char *_string) |
| void | variable_move_array_type (Environment *_environment, char *_array, char *_field, char *_value) |
| void | variable_move_array1_type (Environment *_environment, char *_array, char *_index, char *_field, char *_value) |
| void | variable_move_array1_type_const (Environment *_environment, char *_array, char *_index, char *_field, int _value) |
| void | variable_move_array1_type_fields (Environment *_environment, char *_array, char *_index, char *_field1, char *_field2) |
| Variable * | variable_move_from_array (Environment *_environment, char *_array) |
| void | variable_move_from_array_inplace (Environment *_environment, char *_array, char *_value) |
| Variable * | variable_move_from_array_type (Environment *_environment, char *_array, char *_field) |
| Variable * | variable_move_from_array1_type (Environment *_environment, char *_array, char *_index, char *_field) |
| void | variable_move_from_array_type_inplace (Environment *_environment, char *_array, char *_field, char *_value) |
| void | variable_move_from_array1_type_inplace (Environment *_environment, char *_array, char *_index, char *_field, char *_value) |
| Variable * | variable_move_from_mt (Environment *_environment, char *_source, char *_destination) |
| Increment a variable by one. | |
| Variable * | variable_move_from_type (Environment *_environment, char *_type, char *_field) |
| void | variable_move_from_type_inplace (Environment *_environment, char *_type, char *_field, char *_value) |
| Variable * | variable_move_to_mt (Environment *_environment, char *_source, char *_destination) |
| void | variable_move_type (Environment *_environment, char *_type, char *_field, char *_value) |
| Variable * | variable_move_naked (Environment *_environment, char *_source, char *_dest) |
| Store the value of a variable inside another variable without conversion. | |
| Variable * | variable_mul (Environment *_environment, char *_source, char *_dest) |
| Make a multiplication between two variable and return the product of them. | |
| Variable * | variable_mul2_const (Environment *_environment, char *_source, int _bits) |
| Double a variable for various times and return the result. | |
| Variable * | variable_sl_const (Environment *_environment, char *_source, int _bits) |
| Variable * | variable_not (Environment *_environment, char *_value) |
| Calculate logical "not" and return it as the result. | |
| void | variable_on_memory_init (Environment *_environment, int _imported_too) |
| Variable * | variable_or (Environment *_environment, char *_left, char *_right) |
| Calculate logical "or" and return it as the result. | |
| void | variable_temporary_remove (Environment *_environment, char *_name) |
| void | variable_reset (Environment *_environment) |
| Reset the usage flags for the temporary variable pool. | |
| Variable * | variable_resize_buffer (Environment *_environment, char *_destination, int _size) |
| Resize the (static) size of a buffer. | |
| int | variable_exists (Environment *_environment, char *_name) |
| int | variable_exists_by_realname (Environment *_environment, char *_name) |
| Variable * | variable_retrieve (Environment *_environment, char *_name) |
| Variable * | variable_retrieve_by_realname (Environment *_environment, char *_name) |
| Variable * | variable_retrieve_or_define (Environment *_environment, char *_name, VariableType _type, int _value) |
| void | variable_set_type (Environment *_environment, char *_source, char *_type) |
| Variable * | variable_store (Environment *_environment, char *_source, unsigned int _value) |
| Store a direct value to a variable. | |
| Variable * | variable_store_type (Environment *_environment, char *_source, char *_signed, unsigned int _value) |
| void | variable_store_mt (Environment *_environment, char *_source, unsigned int _value) |
| Store a variable's value. | |
| Variable * | variable_store_array (Environment *_environment, char *_destination, unsigned char *_buffer, int _size, int _at) |
| void | variable_store_array_const (Environment *_environment, char *_array, int _value) |
| Variable * | variable_store_buffer (Environment *_environment, char *_destination, unsigned char *_buffer, int _size, int _at) |
| Variable * | variable_store_string (Environment *_environment, char *_source, char *_string) |
| Store a string to a variable. | |
| Variable * | variable_store_float (Environment *_environment, char *_destination, double _value) |
| Store a string to a variable. | |
| Variable * | variable_string_asc (Environment *_environment, char *_char) |
| Emit code for = ASC( ... ). | |
| Variable * | variable_string_chr (Environment *_environment, char *_ascii) |
| Emit code for = CHR( ... ). | |
| Variable * | variable_string_dup (Environment *_environment, char *_string, char *_repetitions) |
| Variable * | variable_string_flip (Environment *_environment, char *_string) |
| Emit code for = FLIP( ... ). | |
| Variable * | variable_string_insert (Environment *_environment, char *_string, char *_altstring, char *_pos) |
| Variable * | variable_string_inst (Environment *_environment, char *_string, char *_altstring, char *_pos) |
| Variable * | variable_string_instr (Environment *_environment, char *_search, char *_searched, char *_start) |
| Emit code for = INSTR( ..., ... [, ...] ). | |
| Variable * | variable_string_left (Environment *_environment, char *_string, char *_position) |
| Emit code for = LEFT( ..., ... ). | |
| void | variable_string_left_assign (Environment *_environment, char *_string, char *_position, char *_expression) |
| Emit code for LEFT( ..., ... ) = .... | |
| Variable * | variable_string_len (Environment *_environment, char *_string) |
| Emit code for = LEN( ... ). | |
| Variable * | variable_string_lower (Environment *_environment, char *_string) |
| Emit code for = UPPER( ... ). | |
| Variable * | variable_string_mid (Environment *_environment, char *_string, char *_position, char *_len) |
| Emit code for = MID( ..., ... [, ...] ). | |
| void | variable_string_mid_assign (Environment *_environment, char *_string, char *_position, char *_len, char *_expression) |
| Emit code for MID( ..., ... [, ...] ) = .... | |
| Variable * | variable_string_pick (Environment *_environment, char *_string, int _position) |
| Variable * | variable_string_right (Environment *_environment, char *_string, char *_position) |
| Emit code for = LEFT( ..., ... ). | |
| void | variable_string_right_assign (Environment *_environment, char *_string, char *_position, char *_expression) |
| Emit code for RIGHT( ..., ... ) = .... | |
| Variable * | variable_string_space (Environment *_environment, char *_repetitions) |
| Emit code for = SPACE( ... ). | |
| Variable * | variable_string_str (Environment *_environment, char *_value) |
| Emit code for = STR( ... ). | |
| Variable * | variable_string_string (Environment *_environment, char *_string, char *_repetitions) |
| Emit code for = STRING( ..., ... ). | |
| Variable * | variable_string_substring (Environment *_environment, char *_string, char *_start, char *_end) |
| Emit code for = SUBSTRING( ..., ... [, ...] ). | |
| Variable * | variable_string_upper (Environment *_environment, char *_string) |
| Emit code for = UPPER( ... ). | |
| Variable * | variable_string_val (Environment *_environment, char *_value) |
| Emit code for = VAL( ... ). | |
| Variable * | variable_sub (Environment *_environment, char *_source, char *_dest) |
| Make a differenze between two variable and return the difference of them. | |
| Variable * | variable_sub_const (Environment *_environment, char *_source, int _dest) |
| Make a differenze between a variable a constant, and return the difference of them. | |
| void | variable_sub_inplace (Environment *_environment, char *_source, char *_dest) |
| Make a differenze between two variable and assign the difference of them to the first. | |
| void | variable_swap (Environment *_environment, char *_source, char *_dest) |
| Swap values of two variables. | |
| Variable * | variable_temporary (Environment *_environment, VariableType _type, char *_meaning) |
| Define a temporary variable. | |
| VariableType | variable_type_from_numeric_value (Environment *_environment, int _number) |
| Variable * | variable_resident (Environment *_environment, VariableType _type, char *_meaning) |
| Variable * | variable_xor (Environment *_environment, char *_left, char *_right) |
| Calculate logical "xor" and return it as the result. | |
| void | variable_xor_inplace (Environment *_environment, char *_source, int _dest) |
| void | variable_xor_inplace_vars (Environment *_environment, char *_source, char *_dest) |
| Add two variable and return the sum of them on the first. | |
| void | variable_xor_inplace_mt (Environment *_environment, char *_source, char *_destination) |
| Add two variable and return the sum of them on the first. | |
| Variable * | varptr (Environment *_environment, char *_identifier) |
| Emit code for function = VARPTR( ... ). | |
| void | vcenter (Environment *_environment, char *_string, int _newline) |
| Emit code for CENTRE .... | |
| Variable * | vector_get_x (Environment *_environment, char *_vector) |
| Variable * | vector_get_y (Environment *_environment, char *_vector) |
| void | vhcenter (Environment *_environment, char *_string, int _newline, char *_width) |
| Emit code for CENTRE .... | |
| void | volume (Environment *_environment, int _volume, int _channels) |
| Emit ASM code for VOLUME .... | |
| void | volume_vars (Environment *_environment, char *_volume, char *_channels) |
| Emit ASM code for VOLUME .... | |
| void | volume_off (Environment *_environment, int _channels) |
| Emit ASM code for VOLUME OFF. | |
| void | volume_off_var (Environment *_environment, char *_channels) |
| Emit ASM code for VOLUME OFF. | |
| void | wait_cycles (Environment *_environment, int _timing, int _parallel) |
| Emit ASM code for WAIT # [integer] CYCLES. | |
| void | wait_cycles_var (Environment *_environment, char *_timing, int _parallel) |
| Emit ASM code for WAIT [expression] CYCLES. | |
| void | wait_fire (Environment *_environment, int _port, int _release) |
| void | wait_fire_semivar (Environment *_environment, char *_port, int _release) |
| void | wait_key (Environment *_environment, int _release) |
| void | wait_key_or_fire (Environment *_environment, int _port, int _release) |
| void | wait_key_or_fire_semivar (Environment *_environment, char *_port, int _release) |
| void | wait_milliseconds (Environment *_environment, int _timing) |
| Emit ASM code for WAIT # [integer] MS. | |
| void | wait_milliseconds_var (Environment *_environment, char *_timing) |
| Emit ASM code for WAIT [expression] MILLISECONDS. | |
| void | wait_ticks (Environment *_environment, int _timing) |
| Emit ASM code for WAIT # [integer] TICKS. | |
| void | wait_ticks_var (Environment *_environment, char *_timing) |
| Emit ASM code for WAIT [expression] TICKS. | |
| void | wait_vbl (Environment *_environment, char *_raster_line) |
| Emit ASM code for WAIT VBL/b>. | |
| void | wait_until (Environment *_environment) |
| Emit code for WAIT UNTIL .... | |
| void | wait_until_condition (Environment *_environment, char *_condition) |
| void | wait_while (Environment *_environment) |
| Emit code for WAIT WHILE .... | |
| void | wait_while_condition (Environment *_environment, char *_condition) |
| void | wait_parallel (Environment *_environment, char *_thread) |
| Emit code for WAIT PARALLEL .... | |
| void | wave (Environment *_environment, char *_voice, char *_bits, char *_pulse) |
| void | writing (Environment *_environment, char *_mode, char *_parts) |
| Emit code for WRITING. | |
| Variable * | xpen (Environment *_environment) |
| Emit ASM code for = XPEN(). | |
| Variable * | x_graphic_get (Environment *_environment, char *_x) |
| Return the graphic abscissa for the given text abscissa. | |
| Variable * | x_text_get (Environment *_environment, char *_x) |
| Return the graphic abscissa for the given text abscissa. | |
| void | yield (Environment *_environment) |
| Emit code for YIELD. | |
| Variable * | ypen (Environment *_environment) |
| Emit ASM code for = YPEN(). | |
| Variable * | y_graphic_get (Environment *_environment, char *_y) |
| Return the graphic ordinate for the given text ordinate. | |
| Variable * | y_text_get (Environment *_environment, char *_y) |
| Return the text ordinate for the given graphic ordinate. | |
Variables | |
| int | yycolno |
| int | yyposno |
| #define adiline0 | ( | s | ) |
| #define adiline1 | ( | s, | |
| a ) |
| #define adiline2 | ( | s, | |
| a, | |||
| b ) |
| #define adiline3 | ( | s, | |
| a, | |||
| b, | |||
| c ) |
| #define adiline4 | ( | s, | |
| a, | |||
| b, | |||
| c, | |||
| d ) |
| #define adiline5 | ( | s, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e ) |
| #define adiline6 | ( | s, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f ) |
| #define adilinebeginbitmap | ( | s | ) |
| #define adilineendbitmap | ( | ) |
| #define adilinepalette | ( | s, | |
| c, | |||
| p ) |
| #define adilinepixel | ( | p | ) |
| #define BUILD_CHECK_FILETYPE | ( | _environment, | |
| _filetype ) |
| #define BUILD_SAFE_MOVE | ( | _environment, | |
| source, | |||
| destination ) |
| #define BUILD_SAFE_REMOVE | ( | _environment, | |
| filename ) |
| #define BUILD_TOOLCHAIN_ASM6809_GET_EXECUTABLE | ( | _environment, | |
| executableName ) |
| #define BUILD_TOOLCHAIN_ASM6809_GET_LISTING_FILE | ( | _environment, | |
| listingFileName ) |
| #define BUILD_TOOLCHAIN_ASM6809EXEC | ( | _environment, | |
| flag, | |||
| startingAddress, | |||
| executableName, | |||
| listingFileName ) |
| #define BUILD_TOOLCHAIN_ASXV5PXX_EXEC | ( | _environment, | |
| target, | |||
| executableName ) |
| #define BUILD_TOOLCHAIN_ASXV5PXX_GET_EXECUTABLE_AS61860 | ( | _environment, | |
| executableName ) |
| #define BUILD_TOOLCHAIN_ASXV5PXX_GET_EXECUTABLE_ASLINK | ( | _environment, | |
| executableName ) |
| #define BUILD_TOOLCHAIN_CC65_EXEC | ( | _environment, | |
| target, | |||
| executableName, | |||
| listingFileName, | |||
| additionalParameters ) |
| #define BUILD_TOOLCHAIN_CC65_GET_EXECUTABLE | ( | _environment, | |
| executableName ) |
| #define BUILD_TOOLCHAIN_CC65_GET_LISTING_FILE | ( | _environment, | |
| listingFileName ) |
| #define BUILD_TOOLCHAIN_DECB | ( | _environment, | |
| executableName, | |||
| binaryFileName ) |
| #define BUILD_TOOLCHAIN_DECB_GET_EXECUTABLE | ( | _environment, | |
| executableName ) |
| #define BUILD_TOOLCHAIN_DIR2ATR | ( | _environment, | |
| executableName, | |||
| bootCodePath, | |||
| contentPath, | |||
| atrFileName, | |||
| pipes ) |
| #define BUILD_TOOLCHAIN_DIR2ATR_GET_EXECUTABLE | ( | _environment, | |
| executableName ) |
| #define BUILD_TOOLCHAIN_DSKTOOLS_GET_EXECUTABLE | ( | _environment, | |
| executableName ) |
| #define BUILD_TOOLCHAIN_NASM_EXEC | ( | _environment, | |
| target, | |||
| executableName, | |||
| listingFileName, | |||
| cpu ) |
| #define BUILD_TOOLCHAIN_NASM_GET_EXECUTABLE | ( | _environment, | |
| executableName ) |
| #define BUILD_TOOLCHAIN_NASM_GET_LISTING_FILE | ( | _environment, | |
| listingFileName ) |
| #define BUILD_TOOLCHAIN_Z88DK_EXEC | ( | _environment, | |
| target, | |||
| executableName, | |||
| listingFileName, | |||
| cpu ) |
| #define BUILD_TOOLCHAIN_Z88DK_GET_EXECUTABLE_APPMAKE | ( | _environment, | |
| executableName ) |
| #define BUILD_TOOLCHAIN_Z88DK_GET_EXECUTABLE_Z80ASM | ( | _environment, | |
| executableName ) |
| #define BUILD_TOOLCHAIN_Z88DK_GET_LISTING_FILE | ( | _environment, | |
| listingFileName ) |
| #define cfg0 | ( | s | ) |
| #define cfg1 | ( | s, | |
| a ) |
| #define cfg2 | ( | s, | |
| a, | |||
| b ) |
| #define cfg3 | ( | s, | |
| a, | |||
| b, | |||
| c ) |
| #define cfg4 | ( | s, | |
| a, | |||
| b, | |||
| c, | |||
| d ) |
| #define cfg5 | ( | s, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e ) |
| #define cfghead3 | ( | s, | |
| a, | |||
| b, | |||
| c ) |
| #define cfghead4 | ( | s, | |
| a, | |||
| b, | |||
| c, | |||
| d ) |
| #define cfghead5 | ( | s, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e ) |
| #define cfgline0n | ( | n, | |
| s, | |||
| r ) |
| #define cfgline1n | ( | n, | |
| s, | |||
| a, | |||
| r ) |
| #define cfgline2n | ( | n, | |
| s, | |||
| a, | |||
| b, | |||
| r ) |
| #define cfgline3 | ( | s, | |
| a, | |||
| b, | |||
| c ) |
| #define cfgline3n | ( | n, | |
| s, | |||
| a, | |||
| b, | |||
| c, | |||
| r ) |
| #define cfgline4 | ( | s, | |
| a, | |||
| b, | |||
| c, | |||
| d ) |
| #define cfgline4n | ( | n, | |
| s, | |||
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| r ) |
| #define cfgline5 | ( | s, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e ) |
| #define cfgline5n | ( | n, | |
| s, | |||
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| r ) |
| #define CHECK_NOTZERO_DIVISION_BY_ZERO | ( | value | ) |
| #define CHECK_POWEROF2_INVALID_MULTIPLACTOR2 | ( | value | ) |
| #define CONDITIONAL_TYPE_COUNT 5 |
| #define CRITICAL | ( | s | ) |
| #define CRITICAL2 | ( | s, | |
| v ) |
| #define CRITICAL2i | ( | s, | |
| v ) |
| #define CRITICAL3 | ( | s, | |
| v1, | |||
| v2 ) |
| #define CRITICAL3i | ( | s, | |
| v1, | |||
| v2 ) |
| #define CRITICAL3ii | ( | s, | |
| v1, | |||
| v2 ) |
| #define CRITICAL4si | ( | s, | |
| v, | |||
| d1, | |||
| d2 ) |
| #define CRITICAL_10_LINE_RULES_ENFORCED | ( | v | ) |
| #define CRITICAL_ABS_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_ADD_INPLACE_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_ADD_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_AND_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_ARRAY_ASSIGN_DATATYPE_NOT_SUPPORTED | ( | v | ) |
| #define CRITICAL_ARRAY_DATATYPE_NOT_SUPPORTED | ( | n | ) |
| #define CRITICAL_ARRAY_DATATYPE_WRONG | ( | v | ) |
| #define CRITICAL_ARRAY_DEFINITION_FILE_NOT_FOUND | ( | n | ) |
| #define CRITICAL_ARRAY_INVALID_DIMENSION | ( | v | ) |
| #define CRITICAL_ARRAY_MISSING_SIZE | ( | n | ) |
| #define CRITICAL_ARRAY_MONODIMENSIONAL | ( | v | ) |
| #define CRITICAL_ARRAY_MULTIDIMENSIONAL | ( | n | ) |
| #define CRITICAL_ARRAY_OUT_OF_BOUND | ( | a | ) |
| #define CRITICAL_ARRAY_SIZE_MISMATCH | ( | v, | |
| d1, | |||
| d2 ) |
| #define CRITICAL_ASC_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_AT_UNSUPPORTED | ( | v1, | |
| v2 ) |
| #define CRITICAL_AUDIO_TARGET_UNAVAILABLE | ( | ) |
| #define CRITICAL_BEGIN_GAMELOOP_WITHOUT_END_GAMELOOP | ( | ) |
| #define CRITICAL_BELL_NOT_ASYNC | ( | ) |
| #define CRITICAL_BIN_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_BINARY_FILE_TOO_BIG_FOR_ROM | ( | s | ) |
| #define CRITICAL_BIT_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_BLIT_ALLOC_MEMORY_EXHAUSTED | ( | ) |
| #define CRITICAL_BLIT_ALLOC_REGISTER_EXHAUSTED | ( | ) |
| #define CRITICAL_BLIT_ALREADY_DEFINED | ( | n | ) |
| #define CRITICAL_BLIT_CANNOT_BLIT | ( | n | ) |
| #define CRITICAL_BLIT_CANNOT_MIX_IMAGE_TYPES | ( | n | ) |
| #define CRITICAL_BLIT_IMAGE_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_BLIT_INVALID_FREE_REGISTER | ( | s, | |
| r ) |
| #define CRITICAL_BLIT_TOO_MUCH_SOURCES | ( | ) |
| #define CRITICAL_BOOM_NOT_ASYNC | ( | ) |
| #define CRITICAL_BUFFER_SIZE_MISMATCH | ( | v1, | |
| v2 ) |
| #define CRITICAL_BUFFER_SIZE_MISMATCH_ARRAY_SIZE | ( | v, | |
| d1, | |||
| d2 ) |
| #define CRITICAL_BUILD_CANNOT_READ_EXECUTABLE_FOR_DSK | ( | d, | |
| f ) |
| #define CRITICAL_BUILD_INVALID_FILENAME_K7 | ( | f | ) |
| #define CRITICAL_CANNOT_ACCESS_MULTITHREAD_ARRAY_OUTSIDE_PROCEDURE | ( | n | ) |
| #define CRITICAL_CANNOT_ALLOCATE_MORE_TILE | ( | ) |
| #define CRITICAL_CANNOT_ASSIGN_TO_ARRAY | ( | v, | |
| t ) |
| #define CRITICAL_CANNOT_CALCULATE_SPRITE_HEIGHT | ( | ) |
| #define CRITICAL_CANNOT_CALCULATE_SPRITE_WIDTH | ( | ) |
| #define CRITICAL_CANNOT_CAST | ( | t1, | |
| t2 ) |
| #define CRITICAL_CANNOT_CAST_BUFFER_STRING_SIZE | ( | a, | |
| b ) |
| #define CRITICAL_CANNOT_CAST_FLOAT_32BIT_UNSIGNED | ( | v | ) |
| #define CRITICAL_CANNOT_CAST_FLOAT_PRECISION | ( | v1, | |
| v2 ) |
| #define CRITICAL_CANNOT_CAST_TILEMAP_SIZE | ( | v | ) |
| #define CRITICAL_CANNOT_COMPARE | ( | t1, | |
| t2 ) |
| #define CRITICAL_CANNOT_COMPARE_CONST | ( | t | ) |
| #define CRITICAL_CANNOT_COMPARE_SID_FILE | ( | f | ) |
| #define CRITICAL_CANNOT_COMPARE_WITH_CASE | ( | d | ) |
| #define CRITICAL_CANNOT_COPY_SID_FILE | ( | f | ) |
| #define CRITICAL_CANNOT_COPY_TO_BANKED | ( | v | ) |
| #define CRITICAL_CANNOT_DECRYPT_TO_DATATYPE | ( | s | ) |
| #define CRITICAL_cANNOT_DEFINE_ANIMATION_INSIDE_A_PROCEDURE | ( | n | ) |
| #define CRITICAL_cANNOT_DEFINE_ANIMATION_WITHOUT_ATLAS | ( | n | ) |
| #define CRITICAL_CANNOT_DEFINE_MOVEMENT_INSIDE_A_PROCEDURE | ( | n | ) |
| #define CRITICAL_CANNOT_DEFINE_MOVEMENT_WITHOUT_ATLAS | ( | n | ) |
| #define CRITICAL_CANNOT_DEFINE_MOVEMENT_WITHOUT_STEPS | ( | s | ) |
| #define CRITICAL_CANNOT_DEFINE_OUTSIDE_TYPE | ( | n | ) |
| #define CRITICAL_cANNOT_DEFINE_REVERSE_ANIMATION_WITH_EASING | ( | n | ) |
| #define CRITICAL_CANNOT_DGR_ON_EMBEDDED_FONT | ( | ) |
| #define CRITICAL_CANNOT_DOUBLE_BUFFER_AFTER_LOADING_RESOURCES | ( | ) |
| #define CRITICAL_CANNOT_DUPLICATE_NOT_MPSRITE | ( | n | ) |
| #define CRITICAL_CANNOT_EMIT_FLOAT_CONST | ( | v | ) |
| #define CRITICAL_CANNOT_FILL_RANDOM | ( | v | ) |
| #define CRITICAL_CANNOT_FLIP | ( | s | ) |
| #define CRITICAL_CANNOT_FLIP_BANKED_IMAGE | ( | v | ) |
| #define CRITICAL_CANNOT_FLIP_COMPRESSED_IMAGE | ( | v | ) |
| #define CRITICAL_CANNOT_GENERATE_RANDOM | ( | ) |
| #define CRITICAL_CANNOT_KILL_NOT_ARRAY_THREADS | ( | v | ) |
| #define CRITICAL_CANNOT_KILL_NOT_THREADID | ( | v | ) |
| #define CRITICAL_CANNOT_LOAD_MIDI_FILE | ( | f | ) |
| #define CRITICAL_CANNOT_LOAD_MUSIC | ( | f | ) |
| #define CRITICAL_CANNOT_LOAD_SID_FILE_NO_SPACE | ( | ) |
| #define CRITICAL_CANNOT_MIX_SPRITES_MSPRITES | ( | ) |
| #define CRITICAL_CANNOT_MMOVE_INVALID_SIZE | ( | v | ) |
| #define CRITICAL_CANNOT_MMOVE_UNSUPPORTED | ( | ) |
| #define CRITICAL_CANNOT_MOVE_BIT_ON_BANKED_ARRAY | ( | v | ) |
| #define CRITICAL_CANNOT_MOVE_FROM_BIT_ON_BANKED_ARRAY | ( | v | ) |
| #define CRITICAL_CANNOT_MOVE_PLACEHOLDERS_TO_IMAGE | ( | v | ) |
| #define CRITICAL_CANNOT_MOVE_STRING_ON_BANKED_ARRAY | ( | v | ) |
| #define CRITICAL_CANNOT_MOVE_UNROLLED_TILE | ( | t | ) |
| #define CRITICAL_CANNOT_MUSIC | ( | v | ) |
| #define CRITICAL_CANNOT_MUSIC_ON_AUDIO_DEVICE | ( | v | ) |
| #define CRITICAL_CANNOT_OPEN_EXECUTABLE_FILE | ( | c | ) |
| #define CRITICAL_CANNOT_OPEN_FILE | ( | f, | |
| n ) |
| #define CRITICAL_CANNOT_PUT_IMAGE_WITHOUT_STRIP | ( | s | ) |
| #define CRITICAL_CANNOT_PUT_TILEMAP_FOR_NON_TILEMAP | ( | v | ) |
| #define CRITICAL_CANNOT_PUT_TILEMAP_FOR_TILEMAP_ON_STORAGE | ( | n | ) |
| #define CRITICAL_CANNOT_READ_FILE | ( | f, | |
| n ) |
| #define CRITICAL_CANNOT_REMOVE_FILE | ( | f, | |
| n ) |
| #define CRITICAL_CANNOT_RESPAWN_NOT_THREADID | ( | v | ) |
| #define CRITICAL_CANNOT_STORE_BIT_ON_BANKED_ARRAY | ( | v | ) |
| #define CRITICAL_CANNOT_STORE_FILE_ON_VARIABLE_OF_DIFFERENT_TYPE | ( | v | ) |
| #define CRITICAL_CANNOT_SWAP_DIFFERENT_DATATYPES | ( | v1, | |
| v2 ) |
| #define CRITICAL_CANNOT_USE_ABSOLUTE_MOVE_WITHOUT_ABSOLUTE_MOVEMENT | ( | n | ) |
| #define CRITICAL_CANNOT_USE_ANIMATE_WITHOUT_ANIMATION | ( | n | ) |
| #define CRITICAL_CANNOT_USE_ANIMATING_WITHOUT_ANIMATION | ( | n | ) |
| #define CRITICAL_CANNOT_USE_DATATYPE_IN_TYPE | ( | n | ) |
| #define CRITICAL_CANNOT_USE_DRAW_WITHOUT_STRING | ( | t | ) |
| #define CRITICAL_CANNOT_USE_FIELD_ON_NONTYPE | ( | n | ) |
| #define CRITICAL_CANNOT_USE_FREEZE_WITHOUT_ANIMATION | ( | n | ) |
| #define CRITICAL_CANNOT_USE_MOVE_SYNC_WITHOUT_ANIMATIOn | ( | n, | |
| m ) |
| #define CRITICAL_CANNOT_USE_MOVE_WITHOUT_MOVEMENT | ( | n | ) |
| #define CRITICAL_CANNOT_USE_MOVING_WITHOUT_MOVEMENT | ( | n | ) |
| #define CRITICAL_CANNOT_USE_MULTITASKED_ARRAY | ( | v | ) |
| #define CRITICAL_CANNOT_USE_NEXT_ANIMATION_WITHOUT_ANIMATION | ( | n | ) |
| #define CRITICAL_CANNOT_USE_PLAY_WITHOUT_STRING | ( | t | ) |
| #define CRITICAL_CANNOT_USE_STOP_WITHOUT_ANIMATION | ( | n | ) |
| #define CRITICAL_CANNOT_USE_STOP_WITHOUT_MOVEMENT | ( | n | ) |
| #define CRITICAL_CANNOT_USE_STRINGS_LONGER_256_CHARS | ( | ) |
| #define CRITICAL_CANNOT_USE_UNFREEZE_WITHOUT_ANIMATION | ( | n | ) |
| #define CRITICAL_CANNOT_WRITE_FILE | ( | f, | |
| n ) |
| #define CRITICAL_CASE_ELSE_ALREADY_EMITTED | ( | ) |
| #define CRITICAL_CASE_ELSE_WITHOUT_SELECT_CASE | ( | ) |
| #define CRITICAL_CASE_WITHOUT_SELECT_CASE | ( | ) |
| #define CRITICAL_CHR_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_COLOR_WITH_NOT_CONST_NOT_ALLOWED | ( | t | ) |
| #define CRITICAL_COMPLEMENT_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_COMPRESSION_FAILED | ( | v | ) |
| #define CRITICAL_CONSTANT_ALREADY_DEFINED_AS_VARIABLE | ( | f | ) |
| #define CRITICAL_CONSTANT_REDEFINED_DIFFERENT_TYPE | ( | f | ) |
| #define CRITICAL_CONSTANT_REDEFINED_DIFFERENT_VALUE | ( | f | ) |
| #define CRITICAL_COPPER_LIST_ALREADY_DEFINED | ( | ) |
| #define CRITICAL_COPPER_LIST_NOT_OPENED | ( | ) |
| #define CRITICAL_COPPER_LIST_UNKNOWN | ( | n | ) |
| #define CRITICAL_DATA_LOAD_TEXT_NOT_FOUND | ( | v | ) |
| #define CRITICAL_DATA_NOT_ENOUGH_FOR_TYPE | ( | n | ) |
| #define CRITICAL_DATATYPE_MISMATCH | ( | v1, | |
| v2 ) |
| #define CRITICAL_DATATYPE_UNSUPPORTED | ( | k, | |
| v ) |
| #define CRITICAL_DEBUG_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_DECLARE_PROC_NESTED_UNSUPPORTED | ( | v | ) |
| #define CRITICAL_DIV2_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_DIV_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_DIVISION_BY_ZERO | ( | ) |
| #define CRITICAL_DLOAD_MISSING_ADDRESS | ( | v | ) |
| #define CRITICAL_DLOAD_MISSING_FILE | ( | f | ) |
| #define CRITICAL_DLOAD_MISSING_SIZE | ( | v | ) |
| #define CRITICAL_DO_WITHOUT_LOOP | ( | ) |
| #define CRITICAL_DSAVE_MISSING_ADDRESS | ( | v | ) |
| #define CRITICAL_DSAVE_MISSING_SIZE | ( | v | ) |
| #define CRITICAL_ELSE_WITHOUT_IF | ( | ) |
| #define CRITICAL_END_GAMELOOP_WITHOUT_GAMELOOP | ( | ) |
| #define CRITICAL_END_LOOP_WITHOUT_LOOP | ( | ) |
| #define CRITICAL_ENDIF_WITHOUT_IF | ( | ) |
| #define CRITICAL_ENDSELECT_WITHOUT_SELECT | ( | ) |
| #define CRITICAL_EVERY_OFF_WITHOUT_EVERY | ( | ) |
| #define CRITICAL_EXIT_WITHOUT_ENOUGH_LOOP | ( | ) |
| #define CRITICAL_EXIT_WITHOUT_LOOP | ( | ) |
| #define CRITICAL_EXPANSION_OUT_OF_MEMORY_LOADING | ( | v | ) |
| #define CRITICAL_FILE_CSV_NOT_ENOUGH_DATA | ( | n | ) |
| #define CRITICAL_FILE_NOT_FOUND | ( | n | ) |
| #define CRITICAL_FILE_SIZE_ON_MISSING_FILE | ( | f | ) |
| #define CRITICAL_FILENAME_INVALID_BACKSLASH | ( | v | ) |
| #define CRITICAL_FILENAME_INVALID_COLON | ( | v | ) |
| #define CRITICAL_FLIP_IMAGE_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_FOR_OUTSIDE_LIMITS | ( | v, | |
| a ) |
| #define CRITICAL_FOR_WITHOUT_NEXT | ( | ) |
| #define CRITICAL_FUJINET_READ_UNSUPPORTED | ( | t | ) |
| #define CRITICAL_GET_IMAGE_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_GET_NEED_STRING | ( | v | ) |
| #define CRITICAL_GLOBAL_ONLY_OUTSIDE_PROCEDURES | ( | ) |
| #define CRITICAL_HEX2BIN_UNSUPPORTED_DATATYPE | ( | v, | |
| s ) |
| #define CRITICAL_HEX_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_IF_WITHOUT_ENDIF | ( | ) |
| #define CRITICAL_IMAGE_CONVERTER_INVALID_FRAME_HEIGHT | ( | h, | |
| m ) |
| #define CRITICAL_IMAGE_CONVERTER_INVALID_FRAME_WIDTH | ( | w, | |
| m ) |
| #define CRITICAL_IMAGE_CONVERTER_INVALID_HEIGHT | ( | h, | |
| m ) |
| #define CRITICAL_IMAGE_CONVERTER_INVALID_HEIGHT_EXACT | ( | h | ) |
| #define CRITICAL_IMAGE_CONVERTER_INVALID_OFFSET_X | ( | x | ) |
| #define CRITICAL_IMAGE_CONVERTER_INVALID_OFFSET_Y | ( | y | ) |
| #define CRITICAL_IMAGE_CONVERTER_INVALID_WIDTH | ( | w, | |
| m ) |
| #define CRITICAL_IMAGE_CONVERTER_INVALID_WIDTH_EXACT | ( | w | ) |
| #define CRITICAL_IMAGE_CONVERTER_TOO_COLORS | ( | f | ) |
| #define CRITICAL_IMAGE_EXTRACT_ON_NOT_IMAGES | ( | v | ) |
| #define CRITICAL_IMAGE_LOAD_MISSING_FILE | ( | f | ) |
| #define CRITICAL_IMAGE_LOAD_UNKNOWN_FORMAT | ( | f | ) |
| #define CRITICAL_IMAGEREF_ON_NON_IMAGE | ( | v | ) |
| #define CRITICAL_IMAGES_LOAD_IMAGE_BUFFER_TOO_BIG | ( | ) |
| #define CRITICAL_IMAGES_LOAD_IMAGE_TOO_BIG | ( | v | ) |
| #define CRITICAL_IMAGES_LOAD_INVALID_AUTO_WITHOUT_GIF | ( | v | ) |
| #define CRITICAL_IMAGES_LOAD_INVALID_FRAME_HEIGHT | ( | h | ) |
| #define CRITICAL_IMAGES_LOAD_INVALID_FRAME_WIDTH | ( | w | ) |
| #define CRITICAL_IMAGES_LOAD_INVALID_OFFSET_WITH_GIF | ( | f | ) |
| #define CRITICAL_IMAGES_LOAD_INVALID_ORIGIN_WITH_GIF | ( | f | ) |
| #define CRITICAL_INCLUDE_FILE_NOT_FOUND | ( | f | ) |
| #define CRITICAL_INPUT_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_INSTR_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_INTERNAL_ERROR | ( | v | ) |
| #define CRITICAL_INVALID_DIVISOR2 | ( | d | ) |
| #define CRITICAL_INVALID_FRAME_HEIGHT | ( | s | ) |
| #define CRITICAL_INVALID_FRAME_WIDTH | ( | s | ) |
| #define CRITICAL_INVALID_INPUT_CURSOR | ( | d | ) |
| #define CRITICAL_INVALID_INPUT_DELAY | ( | v | ) |
| #define CRITICAL_INVALID_INPUT_DELAY_MS | ( | v | ) |
| #define CRITICAL_INVALID_INPUT_LATENCY | ( | v | ) |
| #define CRITICAL_INVALID_INPUT_LATENCY_MS | ( | v | ) |
| #define CRITICAL_INVALID_INPUT_RATE | ( | v | ) |
| #define CRITICAL_INVALID_INPUT_RELEASE | ( | v | ) |
| #define CRITICAL_INVALID_INPUT_RELEASE_MS | ( | v | ) |
| #define CRITICAL_INVALID_INPUT_SEPARATOR | ( | d | ) |
| #define CRITICAL_INVALID_INPUT_SIZE | ( | d | ) |
| #define CRITICAL_INVALID_JOYSTICK_RETRIES | ( | a | ) |
| #define CRITICAL_INVALID_MULTIPLICATOR2 | ( | d | ) |
| #define CRITICAL_INVALID_NUMBER_BYTES | ( | n | ) |
| #define CRITICAL_INVALID_NUMBER_DIGITS | ( | n | ) |
| #define CRITICAL_INVALID_PAINT_BUFFER | ( | v | ) |
| #define CRITICAL_INVALID_PROGRAM_START | ( | a | ) |
| #define CRITICAL_INVALID_RAM_SIZE | ( | r | ) |
| #define CRITICAL_INVALID_STRING_COUNT | ( | d | ) |
| #define CRITICAL_INVALID_STRING_SPACE | ( | d | ) |
| #define CRITICAL_INVALID_TASK_COUNT | ( | d | ) |
| #define CRITICAL_KEYGET_NEED_STRING | ( | v | ) |
| #define CRITICAL_LABEL_ALREADY_DEFINED | ( | n | ) |
| #define CRITICAL_LEFT_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_LEN_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_LINE_NUMBER_ALREADY_DEFINED | ( | n | ) |
| #define CRITICAL_LOAD_FILE_TOO_LONG | ( | f | ) |
| #define CRITICAL_LOAD_MISSING_FILE | ( | f | ) |
| #define CRITICAL_LOCAL_VARIABLE_OUTSIDE_PROCEDURE | ( | c | ) |
| #define CRITICAL_LOOP_WITHOUT_DO | ( | ) |
| #define CRITICAL_LOWER_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_MACRO_MISMATCH_PARAMETER_VALUES | ( | m | ) |
| #define CRITICAL_MACRO_TOO_MUCH_LINES | ( | m | ) |
| #define CRITICAL_MACRO_TOO_MUCH_PARAMETERS | ( | m, | |
| p ) |
| #define CRITICAL_MACRO_TOO_MUCH_VALUES | ( | m, | |
| v ) |
| #define CRITICAL_MACRO_UNDEFINED | ( | m | ) |
| #define CRITICAL_MID_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_MID_UNSUPPORTED_FOR_STRING | ( | s | ) |
| #define CRITICAL_MIDI_OUT_OF_MEMORY | ( | f | ) |
| #define CRITICAL_MISSING_CONSTANT | ( | v | ) |
| #define CRITICAL_MISSING_END_PROC | ( | p | ) |
| #define CRITICAL_MISSING_FILE_STORAGE | ( | v | ) |
| #define CRITICAL_MISSING_LABEL_NAMED | ( | v | ) |
| #define CRITICAL_MISSING_LABEL_NUMBER | ( | v | ) |
| #define CRITICAL_MMOB_NEEDS_SPRITE | ( | v | ) |
| #define CRITICAL_MOD_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_MOVE_NAKED_UNSUPPORTED | ( | t | ) |
| #define CRITICAL_MOVE_UNSUPPORTED | ( | t | ) |
| #define CRITICAL_MOVE_WITH_NOT_ALLOWED_TYPE | ( | t | ) |
| #define CRITICAL_MUL2_INVALID_STEPS | ( | v | ) |
| #define CRITICAL_MUL2_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_MUL_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_MULTITASKING_ALREADY_FORBIDDEN | ( | ) |
| #define CRITICAL_MULTITASKING_FORBIDDEN | ( | ) |
| #define CRITICAL_MULTITASKING_NOT_FORBIDDEN | ( | ) |
| #define CRITICAL_MUSIC_NOT_ASYNC | ( | ) |
| #define CRITICAL_NEGATIVE_CONSTANT | ( | v, | |
| a ) |
| #define CRITICAL_NESTED_COPPER_LIST_NOT_ALLOWED | ( | ) |
| #define CRITICAL_NEW_IMAGE_UNSUPPORTED_MODE | ( | f | ) |
| #define CRITICAL_NEW_IMAGES_UNSUPPORTED_MODE | ( | f | ) |
| #define CRITICAL_NEXT_WITHOUT_FOR | ( | ) |
| #define CRITICAL_NOT_ARRAY | ( | v | ) |
| #define CRITICAL_NOT_ASSIGNED_IMAGE | ( | v | ) |
| #define CRITICAL_NOT_ASSIGNED_IMAGES | ( | v | ) |
| #define CRITICAL_NOT_ASSIGNED_SEQUENCE | ( | v | ) |
| #define CRITICAL_NOT_ENOUGH_FRAMES_FOR_ANIMATION | ( | n | ) |
| #define CRITICAL_NOT_IMAGE | ( | v | ) |
| #define CRITICAL_NOT_IMAGES | ( | v | ) |
| #define CRITICAL_NOT_STRING_ARRAY | ( | v | ) |
| #define CRITICAL_NOT_SUPPORTED | ( | v | ) |
| #define CRITICAL_NOT_TILE | ( | v | ) |
| #define CRITICAL_NOT_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_ON_CALL_WITH_NOT_EXISTENT_PROCEDURE | ( | s | ) |
| #define CRITICAL_ON_GOSUB_WITH_NOT_EXISTENT_LABEL | ( | s | ) |
| #define CRITICAL_ON_GOSUB_WITH_NOT_EXISTENT_LINE_NUMBER | ( | n | ) |
| #define CRITICAL_ON_GOTO_WITH_NOT_EXISTENT_LABEL | ( | s | ) |
| #define CRITICAL_ON_GOTO_WITH_NOT_EXISTENT_LINE_NUMBER | ( | n | ) |
| #define CRITICAL_ON_SCROLL_CALL_WITH_NOT_EXISTENT_PROCEDURE | ( | s | ) |
| #define CRITICAL_ON_SCROLL_GOSUB_WITH_NOT_EXISTENT_LABEL | ( | s | ) |
| #define CRITICAL_OR_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_OUT_OF_BANKS | ( | ) |
| #define CRITICAL_PAGE01 | ( | ) |
| #define CRITICAL_PARALLEL_PROCEDURE_CANNOT_BE_CALLED | ( | c | ) |
| #define CRITICAL_PMODE_NEEDS_CONSTANTS | ( | ) |
| #define CRITICAL_POW_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_PRINT_BUFFER_ON_A_NOT_BUFFER | ( | v | ) |
| #define CRITICAL_PRINT_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_PROCEDURE_CANNOT_BE_INVOKED | ( | c | ) |
| #define CRITICAL_PROCEDURE_DUPLICATE_PARAMETER | ( | p, | |
| v ) |
| #define CRITICAL_PROCEDURE_MISSING | ( | n | ) |
| #define CRITICAL_PROCEDURE_NESTED_UNSUPPORTED | ( | n | ) |
| #define CRITICAL_PROCEDURE_NOT_OPENED | ( | ) |
| #define CRITICAL_PROCEDURE_PARAMETERS_MISMATCH | ( | n, | |
| d1, | |||
| d2 ) |
| #define CRITICAL_PUT_IMAGE_NAMED_TILE_INVALID_PROBABILITY | ( | v | ) |
| #define CRITICAL_PUT_IMAGE_NAMED_TILE_MISSING_TILES_FROM_TILESET | ( | v | ) |
| #define CRITICAL_PUT_IMAGE_NAMED_TILE_MISSING_TILESET | ( | v | ) |
| #define CRITICAL_PUT_IMAGE_NAMED_TILE_NOT_FOUND | ( | v | ) |
| #define CRITICAL_PUT_IMAGE_UNINITIALIZED | ( | v | ) |
| #define CRITICAL_PUT_IMAGE_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_PUT_IMAGE_X_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_PUT_IMAGE_Y_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_PUT_NOT_NOT_SUPPORTED | ( | t | ) |
| #define CRITICAL_RANDOM_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_READ_DATA_TYPE_NOT_SUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_READ_END_WITHOUT_DATA | ( | ) |
| #define CRITICAL_READ_WITHOUT_DATA | ( | v | ) |
| #define CRITICAL_REPEAT_WITHOUT_UNTIL | ( | ) |
| #define CRITICAL_RESIZE_UNSUPPORTED | ( | t | ) |
| #define CRITICAL_RESOURCE_LOAD_MISSING_FILE | ( | f | ) |
| #define CRITICAL_RESTORE_WITH_UNSUPPORTED_DATA_TYPE | ( | t | ) |
| #define CRITICAL_RESTORE_WITHOUT_DATA | ( | v | ) |
| #define CRITICAL_RIGHT_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_SANDBOX_ENFORCED | ( | v | ) |
| #define CRITICAL_SCREEN_MODE_BITMAP_UNSUPPORTED | ( | t | ) |
| #define CRITICAL_SCREEN_MODE_TILEMAP_UNSUPPORTED | ( | t | ) |
| #define CRITICAL_SCREEN_UNSUPPORTED | ( | v | ) |
| #define CRITICAL_SELECT_CASE_WITHOUT_ENDSELECT | ( | ) |
| #define CRITICAL_SEQUENCE_LOAD_IMAGE_TOO_BIG | ( | v | ) |
| #define CRITICAL_SEQUENCE_LOAD_INVALID_FRAME_HEIGHT | ( | h | ) |
| #define CRITICAL_SEQUENCE_LOAD_INVALID_FRAME_WIDTH | ( | w | ) |
| #define CRITICAL_SERIAL_READ_UNSUPPORTED | ( | t | ) |
| #define CRITICAL_SERIAL_WRITE_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_SGN_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_SHARED_ONLY_IN_PROCEDURES | ( | ) |
| #define CRITICAL_SHOOT_NOT_ASYNC | ( | ) |
| #define CRITICAL_SIZE_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_SLICE_IMAGE_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_SLICE_IMAGE_UNSUPPORTED_COMBINATION | ( | ) |
| #define CRITICAL_SQR_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_STORAGE_BANKED_OUT_OF_MEMORY | ( | v | ) |
| #define CRITICAL_STORAGE_BANKED_UNCOMPATIBLE | ( | v | ) |
| #define CRITICAL_STORAGE_BANKED_UNCOMPATIBLE_TILEMAP | ( | v | ) |
| #define CRITICAL_STORAGE_NESTED_UNSUPPORTED | ( | n | ) |
| #define CRITICAL_STORAGE_NOT_AVAILABLE | ( | ) |
| #define CRITICAL_STORAGE_NOT_OPENED | ( | ) |
| #define CRITICAL_STORE_UNSUPPORTED | ( | t | ) |
| #define CRITICAL_STORE_WITH_NOT_ALLOWED_TYPE | ( | t | ) |
| #define CRITICAL_STORE_WITH_NOT_CONST_NOT_ALLOWED | ( | t | ) |
| #define CRITICAL_STR_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_STRING_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_STRPTR_NOT_STRING | ( | v, | |
| t ) |
| #define CRITICAL_SUB_INPLACE_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_SUB_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_SWAP_DIFFERENT_BITWIDTH | ( | v | ) |
| #define CRITICAL_SWAP_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_TEMPORARY2 | ( | v | ) |
| #define CRITICAL_TEXTMAP_ADDRESS_NOT_VALID | ( | a | ) |
| #define CRITICAL_TILE_CLASS_INVALID_ID | ( | v | ) |
| #define CRITICAL_TILE_CLASS_NO_TILESET | ( | v | ) |
| #define CRITICAL_TILE_HEIGHT_NO_TILESET | ( | v | ) |
| #define CRITICAL_TILE_ID_MISSING_ORIGINAL_TILESET | ( | v | ) |
| #define CRITICAL_TILE_ID_NO_TILESET | ( | v | ) |
| #define CRITICAL_TILE_ID_ON_NOT_TILESET | ( | v | ) |
| #define CRITICAL_TILE_INVALID_HEIGHT | ( | h | ) |
| #define CRITICAL_TILE_INVALID_WIDTH | ( | w | ) |
| #define CRITICAL_TILE_LOAD_MISSING_FILE | ( | f | ) |
| #define CRITICAL_TILE_LOAD_ON_NON_TILESET | ( | t | ) |
| #define CRITICAL_TILE_LOAD_UNKNOWN_FORMAT | ( | f | ) |
| #define CRITICAL_TILE_PROBABILITY_INVALID_ID | ( | v | ) |
| #define CRITICAL_TILE_PROBABILITY_NO_TILESET | ( | v | ) |
| #define CRITICAL_TILE_WIDTH_NO_TILESET | ( | v | ) |
| #define CRITICAL_TILEMAP_HEIGHT_NO_TILEMAP | ( | v | ) |
| #define CRITICAL_TILEMAP_INDEX_INVALID_TILEMAP | ( | v | ) |
| #define CRITICAL_TILEMAP_LOAD_MISSING_LAYER | ( | v | ) |
| #define CRITICAL_TILEMAP_LOAD_MISSING_TILESET | ( | v | ) |
| #define CRITICAL_TILEMAP_LOAD_ONLY_ONE_LAYER | ( | v | ) |
| #define CRITICAL_TILEMAP_LOAD_ONLY_ONE_TILESET | ( | v | ) |
| #define CRITICAL_TILEMAP_LOAD_ONLY_SAME_SIZE_LAYER | ( | v | ) |
| #define CRITICAL_TILEMAP_LOAD_UNKNOWN_FORMAT | ( | v | ) |
| #define CRITICAL_TILEMAP_SOURCE_MISSING | ( | v | ) |
| #define CRITICAL_TILEMAP_WIDTH_NO_TILEMAP | ( | v | ) |
| #define CRITICAL_TILES_LOAD_IMAGE_TOO_BIG | ( | v | ) |
| #define CRITICAL_TILESET_LOAD_IMAGE_TOO_BIG | ( | v | ) |
| #define CRITICAL_TILESET_LOAD_MISSING_IMAGE | ( | v | ) |
| #define CRITICAL_TILESET_LOAD_UNKNOWN_FORMAT | ( | v | ) |
| #define CRITICAL_TILESET_OF_INVALID_TILEMAP | ( | v | ) |
| #define CRITICAL_TOO_BIG_CONSTANT | ( | v | ) |
| #define CRITICAL_TOO_LITTLE_CONSTANT | ( | v | ) |
| #define CRITICAL_TYPE_ALREADY_DEFINED | ( | n | ) |
| #define CRITICAL_TYPE_MISMATCH_CONSTANT_NUMERIC | ( | c | ) |
| #define CRITICAL_TYPE_MISMATCH_CONSTANT_STRING | ( | c | ) |
| #define CRITICAL_TYPE_NESTED_UNSUPPORTED | ( | n | ) |
| #define CRITICAL_TYPE_NOT_OPENED | ( | ) |
| #define CRITICAL_UNABLE_TO_EMBED | ( | v | ) |
| #define CRITICAL_UNABLE_TO_INLINE | ( | v | ) |
| #define CRITICAL_UNCLOSED_EMBEDDED_ESCAPE_SEQUENCE | ( | n | ) |
| #define CRITICAL_UNDEFINED_CONSTANT | ( | c | ) |
| #define CRITICAL_UNIMPLEMENTED | ( | v | ) |
| #define CRITICAL_UNKNOWN_CPU_REGISTER | ( | ) |
| #define CRITICAL_UNKNOWN_CPU_STACK | ( | v | ) |
| #define CRITICAL_UNKNOWN_FIELD_ON_TYPE | ( | n | ) |
| #define CRITICAL_UNKNOWN_TYPE | ( | n | ) |
| #define CRITICAL_UNSETTABLE_CPU_REGISTER | ( | v | ) |
| #define CRITICAL_UNSUPPORTED_BANK_NUMBER | ( | v | ) |
| #define CRITICAL_UNSUPPORTED_OUTPUT_FILE_TYPE | ( | t | ) |
| #define CRITICAL_UNTIL_WITHOUT_REPEAT | ( | ) |
| #define CRITICAL_UPPER_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_USE_TILESET_ON_NON_TILESET | ( | t | ) |
| #define CRITICAL_VAL_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_VARIABLE | ( | v | ) |
| #define CRITICAL_VARIABLE_ALREADY_DEFINED | ( | f | ) |
| #define CRITICAL_VARIABLE_ALREADY_DEFINED_AS_CONSTANT | ( | f | ) |
| #define CRITICAL_VARIABLE_CANNOT_DIRECT_ASSIGN_DIFFERENT_TYPE | ( | t1, | |
| t2 ) |
| #define CRITICAL_VARIABLE_CANNOT_DIRECT_ASSIGN_WRONG_TYPE | ( | v, | |
| t ) |
| #define CRITICAL_VARIABLE_IMPORTED_DIFFERENT_TYPE | ( | f | ) |
| #define CRITICAL_VARIABLE_REDEFINED_DIFFERENT_TYPE | ( | f | ) |
| #define CRITICAL_VARIABLE_TYPE_NEEDED | ( | n | ) |
| #define CRITICAL_VARIABLE_UNDEFINED | ( | f | ) |
| #define CRITICAL_VECTOR_GET_X_VECTOR_NEEDED | ( | v | ) |
| #define CRITICAL_VECTOR_GET_Y_VECTOR_NEEDED | ( | v | ) |
| #define CRITICAL_WAIT_CYCLES_PARALLEL_CANNOT_BE_CALLED_OUTSIDE_PROCEDURE | ( | ) |
| #define CRITICAL_WAIT_INVALID_VALUE | ( | t | ) |
| #define CRITICAL_WAIT_PARALLEL_CANNOT_BE_CALLED_OUTSIDE_PROCEDURE | ( | ) |
| #define CRITICAL_WAIT_UNTIL_CANNOT_BE_CALLED_OUTSIDE_PROCEDURE | ( | ) |
| #define CRITICAL_WAIT_WHILE_CANNOT_BE_CALLED_OUTSIDE_PROCEDURE | ( | ) |
| #define CRITICAL_WEND_WITHOUT_WHILE | ( | ) |
| #define CRITICAL_WHILE_WITHOUT_WEND | ( | ) |
| #define CRITICAL_WRONG_NEXT_INDEX | ( | v | ) |
| #define CRITICAL_XOR_INPLACE_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_XOR_UNSUPPORTED | ( | v, | |
| t ) |
| #define CRITICAL_YIELD_CANNOT_BE_CALLED_OUTSIDE_PROCEDURE | ( | ) |
| #define CRITICALB | ( | s | ) |
| #define CRITICALB2 | ( | s, | |
| v ) |
| #define CRITICALB2i | ( | s, | |
| v ) |
| #define CRITICALB3 | ( | s, | |
| v1, | |||
| v2 ) |
| #define CRITICALB3i | ( | s, | |
| v1, | |||
| v2 ) |
| #define CRITICALB4si | ( | s, | |
| v, | |||
| d1, | |||
| d2 ) |
| #define deploy | ( | s, | |
| e ) |
| #define deploy_begin | ( | s | ) |
| #define deploy_deferred | ( | s, | |
| e ) |
| #define deploy_deferred_embedded | ( | s, | |
| e ) |
| #define deploy_deferred_with_vars | ( | s, | |
| e, | |||
| v ) |
| #define deploy_embedded | ( | s, | |
| e ) |
| #define deploy_end | ( | s | ) |
| #define deploy_inplace | ( | s, | |
| e ) |
| #define deploy_inplace_preferred | ( | s, | |
| e ) |
| #define deploy_preferred | ( | s, | |
| e ) |
| #define deploy_with_vars | ( | s, | |
| e, | |||
| v ) |
| #define DOJO_GET_MESSAGE_MISSING_VARIABLE | ( | ) |
| #define DOJO_OPEN_PORT_STRING_REQUIRED | ( | v, | |
| t ) |
| #define DOJO_PEEK_MESSAGE_DOJOKA_REQUIRED | ( | v, | |
| t ) |
| #define DOJO_PUT_MESSAGE_ARRAY_SIZE_UNSUPPORTED | ( | v, | |
| t ) |
| #define DOJO_PUT_MESSAGE_ARRAY_TYPE_UNSUPPORTED | ( | v, | |
| t ) |
| #define DOJO_PUT_MESSAGE_DOJOKA_REQUIRED | ( | v, | |
| t ) |
| #define DOJO_PUT_MESSAGE_MISSING_VARIABLE | ( | ) |
| #define DOJO_PUT_MESSAGE_STRING_REQUIRED | ( | v, | |
| t ) |
| #define embedded | ( | s, | |
| e ) |
| #define FONT_DEFAULT_SCHEMA FONT_SCHEMA_EMBEDDED |
| #define FUNCTION_STUB | ( | t | ) |
| #define IMAGE_GET_HEIGHT | ( | buffer, | |
| offset, | |||
| height ) |
| #define IMAGE_GET_WIDTH | ( | buffer, | |
| offset, | |||
| width ) |
| #define IMF_NOTE | ( | o, | |
| n ) |
| #define inline | ( | s | ) |
| #define MAKE_LABEL char label[32]; sprintf( label, "_label%d", UNIQUE_ID); |
| #define MEMORY_AREA_DEFINE | ( | _type, | |
| _start, | |||
| _end ) |
| #define no_embedded | ( | s | ) |
| #define no_inline | ( | s | ) |
| #define out0 | ( | s | ) |
| #define out1 | ( | s, | |
| a ) |
| #define out2 | ( | s, | |
| a, | |||
| b ) |
| #define out3 | ( | s, | |
| a, | |||
| b, | |||
| c ) |
| #define out4 | ( | s, | |
| a, | |||
| b, | |||
| c, | |||
| d ) |
| #define out5 | ( | s, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e ) |
| #define out6 | ( | s, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f ) |
| #define outembeddeddef0 | ( | e | ) |
| #define outfile0 | ( | f | ) |
| #define outhead3 | ( | s, | |
| a, | |||
| b, | |||
| c ) |
| #define outhead4 | ( | s, | |
| a, | |||
| b, | |||
| c, | |||
| d ) |
| #define outhead5 | ( | s, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e ) |
| #define outline0n | ( | n, | |
| s, | |||
| r ) |
| #define outline1n | ( | n, | |
| s, | |||
| a, | |||
| r ) |
| #define outline2n | ( | n, | |
| s, | |||
| a, | |||
| b, | |||
| r ) |
| #define outline3 | ( | s, | |
| a, | |||
| b, | |||
| c ) |
| #define outline3n | ( | n, | |
| s, | |||
| a, | |||
| b, | |||
| c, | |||
| r ) |
| #define outline4 | ( | s, | |
| a, | |||
| b, | |||
| c, | |||
| d ) |
| #define outline4n | ( | n, | |
| s, | |||
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| r ) |
| #define outline5 | ( | s, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e ) |
| #define outline5n | ( | n, | |
| s, | |||
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| r ) |
| #define outline6 | ( | s, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f ) |
| #define outline6n | ( | n, | |
| s, | |||
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| r ) |
| #define parse_embedded | ( | p, | |
| s ) |
| #define SCREEN_MODE_DEFINE | ( | _id, | |
| _bitmap, | |||
| _width, | |||
| _height, | |||
| _colors, | |||
| _tile_width, | |||
| _tile_height, | |||
| _description ) |
| #define stats_embedded | ( | s | ) |
| #define TMP_BUF_CLR tmp_buf_clr(__FILE__) |
| #define TRACE2 | ( | s, | |
| p1, | |||
| p2 ) |
| #define UNIQUE_ID ((struct _Environment *)_environment)->uniqueId++ |
| #define UNIQUE_RESOURCE_ID ((struct _Environment *)_environment)->uniqueResourceId++ |
| #define VARIABLE_TYPE_COUNT 26 |
| #define VT_BITWIDTH | ( | t | ) |
| #define VT_BW_128BIT | ( | t, | |
| v ) |
| #define VT_BW_16BIT | ( | t, | |
| v ) |
| #define VT_BW_24BIT | ( | t, | |
| v ) |
| #define VT_BW_32BIT | ( | t, | |
| v ) |
| #define VT_BW_40BIT | ( | t, | |
| v ) |
| #define VT_BW_64BIT | ( | t, | |
| v ) |
| #define VT_BW_80BIT | ( | t, | |
| v ) |
| #define VT_DIRECT_ASSIGN | ( | t | ) |
| #define VT_ESIGN_16BIT | ( | t, | |
| v ) |
| #define VT_ESIGN_32BIT | ( | t, | |
| v ) |
| #define VT_ESIGN_8BIT | ( | t, | |
| v ) |
| #define VT_MAX | ( | t | ) |
| #define VT_MAX_BITWIDTH_TYPE | ( | a, | |
| b ) |
| #define VT_MAX_FLOAT_BITWIDTH_TYPE | ( | a, | |
| b ) |
| #define VT_MIN | ( | t | ) |
| #define VT_OPTIMAL_SHIFT | ( | s | ) |
| #define VT_SIGN | ( | t | ) |
| #define VT_SIGN_16BIT | ( | v | ) |
| #define VT_SIGN_32BIT | ( | v | ) |
| #define VT_SIGN_8BIT | ( | v | ) |
| #define VT_SIGNED | ( | t | ) |
| #define VT_UNSIGN | ( | t | ) |
| #define VT_UNSIGN_16BIT | ( | t, | |
| v ) |
| #define VT_UNSIGN_32BIT | ( | t, | |
| v ) |
| #define VT_UNSIGN_8BIT | ( | t, | |
| v ) |
| #define VT_USIGN_16BIT | ( | v | ) |
| #define VT_USIGN_32BIT | ( | v | ) |
| #define VT_USIGN_8BIT | ( | v | ) |
| #define WARNING | ( | s | ) |
| #define WARNING2 | ( | s, | |
| v ) |
| #define WARNING2i | ( | s, | |
| v ) |
| #define WARNING3 | ( | s, | |
| v1, | |||
| v2 ) |
| #define WARNING_BITWIDTH | ( | v1, | |
| v2 ) |
| #define WARNING_DEPRECATED | ( | k | ) |
| #define WARNING_DLOAD_IGNORED_FILENAME | ( | f | ) |
| #define WARNING_DLOAD_IGNORED_OFFSET | ( | f | ) |
| #define WARNING_DLOAD_IGNORED_SIZE | ( | f | ) |
| #define WARNING_DOWNCAST | ( | v1, | |
| v2 ) |
| #define WARNING_IMAGE_CONVERTER_UNSUPPORTED_MODE | ( | f | ) |
| #define WARNING_IMAGE_LOAD_EXACT_IGNORED | ( | ) |
| #define WARNING_SCREEN_MODE | ( | v1 | ) |
| #define WARNING_USE_OF_UNDEFINED_ARRAY | ( | v1 | ) |
| typedef enum _AnimationType AnimationType |
| typedef struct _ArrayReference ArrayReference |
| typedef struct _AtlasDescriptor AtlasDescriptor |
| typedef struct _AudioConfig AudioConfig |
| typedef enum _AudioDeviceName AudioDeviceName |
| typedef struct _BankAccessOptimization BankAccessOptimization |
| typedef enum _Compression Compression |
Type of compression.
| typedef struct _Conditional Conditional |
Structure of a single conditional jump.
| typedef enum _ConditionalType ConditionalType |
Types of conditional jumps supported.
| typedef struct _ConfigureGMCParameters ConfigureGMCParameters |
| typedef struct _ConfigureParameters ConfigureParameters |
| typedef struct _ConfigureSN76489Parameters ConfigureSN76489Parameters |
| typedef enum _ConstantType ConstantType |
| typedef struct _CopperInstruction CopperInstruction |
| typedef struct _CopperList CopperList |
| typedef enum _CopperOperation CopperOperation |
| typedef struct _CpuOptimization CpuOptimization |
| typedef struct _DataDataSegment DataDataSegment |
| typedef struct _DataSegment DataSegment |
| typedef struct _EmbedResult EmbedResult |
| typedef struct _Environment Environment |
Structure of compilation environment.
| typedef struct _FileStorage FileStorage |
Structure of a single file inside a storage.
| typedef enum _FileStorageFormat FileStorageFormat |
| typedef struct _FloatType FloatType |
| typedef enum _FloatTypeAngle FloatTypeAngle |
| typedef enum _FloatTypePrecision FloatTypePrecision |
| typedef struct _FontConfig FontConfig |
| typedef enum _FujiNetDefine FujiNetDefine |
| typedef enum _GammaCorrection GammaCorrection |
Gamma correction type (for some palettes).
This enumeration represent the type of color correction to be used.
| typedef enum _HardwareName HardwareName |
| typedef enum _HardwareParameterName HardwareParameterName |
| typedef struct _ImageDescriptor ImageDescriptor |
| typedef struct _JoystickConfig JoystickConfig |
| typedef struct _KeyboardConfig KeyboardConfig |
| typedef struct _LoadedFile LoadedFile |
| typedef struct _MemoryArea MemoryArea |
| typedef enum _MemoryAreaType MemoryAreaType |
Enum for memory area type.
This enum will describe the kind of memory area, if it is accessible directly (so: it can be used for code and variable, without limits) or it is "gated" through a specific prologue and epilogue code.
| typedef struct _MultiplexingSpriteConfig MultiplexingSpriteConfig |
| typedef enum _MusicType MusicType |
| typedef struct _NumberConfig NumberConfig |
| typedef struct _Offsetting Offsetting |
| typedef struct _OffsettingVariable OffsettingVariable |
| typedef struct _OptionParameterValue OptionParameterValue |
Structure of a single (option) setting.
| typedef struct _OptionParameterValued OptionParameterValued |
| typedef enum _OutputFileType OutputFileType |
| typedef enum _PeepHoleOptimizationKind PeepHoleOptimizationKind |
| typedef struct _POVariable POVariable |
| typedef struct _Procedure Procedure |
| typedef struct _ProtothreadConfig ProtothreadConfig |
Structure to store color components (red, green and blue).
This structure stores the color components (red, blue and green) of a pixel, 8 bits wide. This structure is used both to represent the retrocomputer palette and to process input data from image files.
| typedef struct _ScreenMode ScreenMode |
| typedef struct _StaticString StaticString |
Structure of a single (static) string.
| typedef struct _TileDescriptor TileDescriptor |
| typedef struct _TileDescriptors TileDescriptors |
| typedef enum _VariableType VariableType |
Type of variables.
| typedef struct _VestigialConfig VestigialConfig |
| enum _AnimationType |
| enum _AudioDeviceName |
| enum _BankType |
| enum _Compression |
| enum _ConditionalType |
| enum _ConstantType |
| enum _CopperOperation |
| enum _Dialect |
| enum _FileStorageFormat |
| enum _FloatTypeAngle |
| enum _FloatTypePrecision |
| enum _FujiNetDefine |
| enum _GammaCorrection |
| enum _HardwareName |
| enum _LoopType |
| enum _MemoryAreaType |
Enum for memory area type.
This enum will describe the kind of memory area, if it is accessible directly (so: it can be used for code and variable, without limits) or it is "gated" through a specific prologue and epilogue code.
| enum _MusicType |
| enum _OutputFileType |
| enum _VariableType |
Type of variables.
| enum _Writing |
| Variable * absolute | ( | Environment * | _environment, |
| char * | _value ) |
| void add_complex | ( | Environment * | _environment, |
| char * | _variable, | ||
| int | _expression, | ||
| int | _limit_lower, | ||
| int | _limit_upper, | ||
| int | _clamp ) |
| void add_complex_array | ( | Environment * | _environment, |
| char * | _variable, | ||
| char * | _expression, | ||
| char * | _limit_lower, | ||
| char * | _limit_upper, | ||
| int | _clamp ) |
| void add_complex_array_type | ( | Environment * | _environment, |
| char * | _variable, | ||
| char * | _field, | ||
| char * | _expression, | ||
| char * | _limit_lower, | ||
| char * | _limit_upper, | ||
| int | _clamp ) |
| void add_complex_mt | ( | Environment * | _environment, |
| char * | _variable, | ||
| char * | _expression, | ||
| char * | _limit_lower, | ||
| char * | _limit_upper, | ||
| int | _clamp ) |
| void add_complex_type | ( | Environment * | _environment, |
| char * | _variable, | ||
| char * | _field, | ||
| int | _expression, | ||
| int | _limit_lower, | ||
| int | _limit_upper, | ||
| int | _clamp ) |
| void add_complex_type_vars | ( | Environment * | _environment, |
| char * | _variable, | ||
| char * | _field, | ||
| char * | _expression, | ||
| char * | _limit_lower, | ||
| char * | _limit_upper, | ||
| int | _clamp ) |
| void add_complex_vars | ( | Environment * | _environment, |
| char * | _variable, | ||
| char * | _expression, | ||
| char * | _limit_lower, | ||
| char * | _limit_upper, | ||
| int | _clamp ) |
| char * address_displacement | ( | Environment * | _environment, |
| char * | _address, | ||
| char * | _displacement ) |
Definition at line 14516 of file _infrastructure.c.
| void allow | ( | Environment * | _environment | ) |
| void animate_semivars | ( | Environment * | _environment, |
| char * | _prefix, | ||
| char * | _anim, | ||
| char * | _x, | ||
| char * | _y ) |
| Variable * animating | ( | Environment * | _environment, |
| char * | _prefix, | ||
| char * | _animation ) |
Emit code for RUN PARALLEL.
| _environment | Current calling environment |
Definition at line 66 of file animating.c.
| void animation | ( | Environment * | _environment, |
| char * | _identifier, | ||
| char * | _atlas, | ||
| char * | _prefix, | ||
| char * | _next ) |
Emit code for ANIMATION ....
| _environment | Current calling environment |
| _name | Name of the procedure |
Definition at line 180 of file animation.c.
| Variable * asciicode | ( | Environment * | _environment | ) |
Definition at line 43 of file asciicode.c.
| int assemblyLineIsAComment | ( | char * | _buffer | ) |
Definition at line 14280 of file _infrastructure.c.
| AtlasDescriptor * atlas_descriptor_create | ( | Environment * | _environment, |
| char * | _filename, | ||
| int | _flags, | ||
| int | _image_origin_x, | ||
| int | _image_origin_y, | ||
| int | _frame_width, | ||
| int | _frame_height, | ||
| int | _frame_offset_x, | ||
| int | _frame_offset_y ) |
Definition at line 119 of file atlas_descriptor_create.c.
| void back | ( | Environment * | _environment, |
| char * | _color ) |
Emit ASM code to fill background color.
This function can be called to fill the screen background with the given color. Depending on the mode selected (TILEMAP vs BITMAP) it can fill the screen in a different way.
| _environment | Current calling environment |
| _color | Index of color to use to fill the screen |
| void bank_cleanup | ( | Environment * | _environment | ) |
Emit source and configuration lines for banks.
This function can be called to generate all the definitions (on the source file, on the configuration file and on any support file) necessary to implement the memory banks.
| _environment | Current calling environment |
| Bank * bank_define | ( | Environment * | _environment, |
| char * | _name, | ||
| BankType | _type, | ||
| int | _address, | ||
| char * | _filename ) |
Implementation for BANK xxx AT [WITH yyy].
This method deals with populating the data structures for the definition of a "bank" of memory. The memory banks are defined and separate areas, identified by a name (optionally given) and a starting address and populated (optionally) with data coming from an external file. This definition occurs when the program presents a BANK instruction. Banks are characterized by a "type", which represents the nature of the data contained therein. The types surveyed are the following:
There can be only one definition of a bank with a specific name. Any duplicate definitions will be ignored.
| _environment | Current calling environment |
| _name | Name of the bank (NULL if automatic) |
| _type | |
| _address | |
| _filename |
Definition at line 251 of file _infrastructure.c.
| Variable * bank_get | ( | Environment * | _environment | ) |
Emit ASM code for instruction = BANK( ).
This function outputs the ASM code to get the current expansion bank index.
| _environment | Current calling environment |
Definition at line 71 of file bank_get.c.
| Variable * bank_get_address | ( | Environment * | _environment, |
| int | _bank ) |
Emit ASM code for instruction = BANK ADDRESS( ).
This function outputs the ASM code to get the resident memory address for the given bank.
| _environment | Current calling environment |
| _bank | Bank to get address of |
Definition at line 75 of file bank_get_address.c.
| Variable * bank_get_address_var | ( | Environment * | _environment, |
| char * | _bank ) |
Emit ASM code for instruction = BANK ADDRESS( ).
This function outputs the ASM code to get the resident memory address for the given bank.
| _environment | Current calling environment |
| _bank | Bank to get address of |
Definition at line 95 of file bank_get_address.c.
| Variable * bank_get_count | ( | Environment * | _environment | ) |
Emit ASM code for instruction = BANK COUNT.
This function outputs the ASM code to get the resident memory number of banks.
| _environment | Current calling environment |
Definition at line 78 of file bank_get_count.c.
| Variable * bank_get_size | ( | Environment * | _environment, |
| int | _bank ) |
Emit ASM code for instruction = BANK SIZE( ).
This function outputs the ASM code to get the size of the shared memory for the given bank.
| _environment | Current calling environment |
| _bank | Bank to get size of |
Definition at line 68 of file bank_get_size.c.
| Variable * bank_get_size_var | ( | Environment * | _environment, |
| char * | _bank ) |
Emit ASM code for instruction = BANK SIZE( ).
This function outputs the ASM code to get the resident memory address for the given bank.
| _environment | Current calling environment |
| _bank | Bank to get address of |
Definition at line 92 of file bank_get_size.c.
| void bank_read_semi_var | ( | Environment * | _environment, |
| int | _bank, | ||
| int | _address1, | ||
| char * | _address2, | ||
| int | _size ) |
Emit ASM code for instruction BANK READ ....
This function outputs the ASM code to read data from a specific bank into the RAM.
| _environment | Current calling environment |
| _bank | bank from read from |
| _address1 | address to read from (0 based) |
| _address2 | address to write to (RAM) |
| _size | size of memory to read/write |
This function outputs the ASM code to read data from a specific bank into the RAM.
| _environment | Current calling environment |
| _bank | bank from read from |
| _address1 | address to read from (A000 based) |
| _address2 | address to write to (RAM) |
| _size | size of memory to read/write |
Definition at line 50 of file bank_read.c.
| void bank_read_vars | ( | Environment * | _environment, |
| char * | _bank, | ||
| char * | _address1, | ||
| char * | _address2, | ||
| char * | _size ) |
Emit ASM code for instruction BANK READ ....
This function outputs the ASM code to read data from a specific bank into the RAM.
| _environment | Current calling environment |
| _bank | bank from read from |
| _address1 | address to read from (0 based) |
| _address2 | address to write to (RAM) |
| _size | size of memory to read/write |
Definition at line 107 of file bank_read.c.
| void bank_read_vars_bank_direct_size | ( | Environment * | _environment, |
| int | _bank, | ||
| char * | _address1, | ||
| char * | _address2, | ||
| int | _size ) |
Definition at line 218 of file bank_read.c.
| void bank_read_vars_bank_direct_size_vars | ( | Environment * | _environment, |
| int | _bank, | ||
| char * | _address1, | ||
| char * | _address2, | ||
| int | _size ) |
Definition at line 178 of file bank_read.c.
| void bank_read_vars_direct | ( | Environment * | _environment, |
| char * | _bank, | ||
| char * | _address1, | ||
| char * | _address2, | ||
| char * | _size ) |
Definition at line 138 of file bank_read.c.
| void bank_read_vars_direct_size | ( | Environment * | _environment, |
| char * | _bank, | ||
| char * | _address1, | ||
| char * | _address2, | ||
| int | _size ) |
Definition at line 169 of file bank_read.c.
| void bank_set | ( | Environment * | _environment, |
| int | _bank ) |
Emit ASM code for instruction BANK ....
This function outputs the ASM code to set the current expansion bank index.
| _environment | Current calling environment |
| _bank | Bank to select |
Definition at line 72 of file bank_set.c.
| void bank_set_var | ( | Environment * | _environment, |
| char * | _bank ) |
Emit ASM code for instruction BANK ....
This function outputs the ASM code to set the current expansion bank index.
| _environment | Current calling environment |
| _bank | Bank to select |
Definition at line 87 of file bank_set.c.
| void bank_uncompress_semi_var | ( | Environment * | _environment, |
| int | _bank, | ||
| int | _address1, | ||
| char * | _address2 ) |
Emit ASM code for instruction BANK UNCOMPRESS ....
This function outputs the ASM code to uncompress data from a specific bank into the RAM.
| _environment | Current calling environment |
| _bank | bank from uncompress from |
| _address1 | address to uncompress from (0 based) |
| _address2 | address to write to (RAM) |
Definition at line 49 of file bank_uncompress.c.
| void bank_uncompress_vars | ( | Environment * | _environment, |
| char * | _bank, | ||
| char * | _address1, | ||
| char * | _address2 ) |
Emit ASM code for instruction BANK UNCOMPRESS ....
This function outputs the ASM code to uncompress data from a specific bank into the RAM.
| _environment | Current calling environment |
| _bank | bank from uncompress from |
| _address1 | address to uncompress from (0 based) |
| _address2 | address to write to (RAM) |
Definition at line 64 of file bank_uncompress.c.
| void bank_write_semi_var | ( | Environment * | _environment, |
| char * | _address2, | ||
| int | _bank, | ||
| int | _address1, | ||
| int | _size ) |
Definition at line 127 of file bank_write.c.
| void bank_write_vars | ( | Environment * | _environment, |
| char * | _address1, | ||
| char * | _bank, | ||
| char * | _address2, | ||
| char * | _size ) |
Emit ASM code for instruction BANK WRITE ....
This function outputs the ASM code to write data from the RAM to a specific bank.
| _environment | Current calling environment |
| _bank | bank to write to |
| _address1 | address to read from (RAM) |
| _address2 | address to write to (0 based) |
| _size | size of memory to read/write |
Definition at line 49 of file bank_write.c.
| void bank_write_vars_bank_direct_size | ( | Environment * | _environment, |
| char * | _address1, | ||
| int | _bank, | ||
| char * | _address2, | ||
| int | _size ) |
Definition at line 111 of file bank_write.c.
| void bank_write_vars_direct | ( | Environment * | _environment, |
| char * | _bank, | ||
| char * | _address1, | ||
| char * | _address2, | ||
| char * | _size ) |
Definition at line 80 of file bank_write.c.
| int banks_any_used | ( | Environment * | _environment | ) |
| void banks_generate | ( | Environment * | _environment | ) |
| char * banks_get_address | ( | Environment * | _environment, |
| int | _bank ) |
| Variable * banks_get_address_var | ( | Environment * | _environment, |
| char * | _bank ) |
| int banks_get_default_resident | ( | Environment * | _environment, |
| int | _bank ) |
| void banks_init | ( | Environment * | _environment | ) |
| void banks_init_extended | ( | Environment * | _environment, |
| int * | _allowed, | ||
| int | _allowed_count, | ||
| int | _allowed_size ) |
| int banks_store | ( | Environment * | _environment, |
| Variable * | _variable, | ||
| int | _resident ) |
| int banks_store_data | ( | Environment * | _environment, |
| char * | _data, | ||
| int | _size ) |
| void bar | ( | Environment * | _environment, |
| char * | _x0, | ||
| char * | _y0, | ||
| char * | _x1, | ||
| char * | _y1, | ||
| char * | _c, | ||
| int | _preserve_color ) |
| char * basename | ( | char * | _path | ) |
Definition at line 14314 of file _infrastructure.c.
| void begin_build | ( | Environment * | _environment | ) |
| void begin_compilation | ( | Environment * | _environment | ) |
| void begin_copper | ( | Environment * | _environment, |
| char * | _name ) |
Emit code for BEGIN COPPER.
| _environment | Current calling environment |
Definition at line 159 of file begin_copper.c.
| void begin_do_loop | ( | Environment * | _environment | ) |
Emit ASM code for DO ....
This function outputs the code to implement the starting point of a DO...LOOP loop.
| _environment | Current calling environment |
Definition at line 131 of file begin_do_loop.c.
| void begin_for | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _from, | ||
| char * | _to ) |
Definition at line 436 of file begin_for.c.
| void begin_for_from | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _from, | ||
| char * | _to, | ||
| char * | _step ) |
| void begin_for_from_assign | ( | Environment * | _environment, |
| char * | _from ) |
Definition at line 182 of file begin_for.c.
| void begin_for_from_assign_mt | ( | Environment * | _environment, |
| char * | _from ) |
Definition at line 77 of file begin_for_mt.c.
| void begin_for_from_mt | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _from, | ||
| char * | _to, | ||
| char * | _step ) |
| void begin_for_from_prepare | ( | Environment * | _environment | ) |
Definition at line 172 of file begin_for.c.
| void begin_for_from_prepare_mt | ( | Environment * | _environment | ) |
Definition at line 67 of file begin_for_mt.c.
| void begin_for_identifier | ( | Environment * | _environment, |
| char * | _index ) |
Definition at line 289 of file begin_for.c.
| void begin_for_identifier_mt | ( | Environment * | _environment, |
| char * | _index ) |
Definition at line 214 of file begin_for_mt.c.
| void begin_for_mt | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _from, | ||
| char * | _to ) |
| void begin_for_mt_step | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _from, | ||
| char * | _to, | ||
| char * | _step ) |
Emit ASM code for FOR ... STEP ... NEXT (in thread).
This function outputs the code to implement the starting point of a FOR ... STEP ... NEXT loop inside a thread
| _environment | Current calling environment |
| _index | Variable to use as index |
| _from | Starting value |
| _to | Ending value |
| _step | Step value |
Definition at line 53 of file begin_for_mt_step.c.
| void begin_for_prepare | ( | Environment * | _environment, |
| char * | _index ) |
Emit ASM code for FOR ....
This function outputs the code to implement the starting point of a FOR...NEXT loop
| _environment | Current calling environment |
| _index | Variable to use as index |
| _from | Starting value |
| _to | Ending value |
Definition at line 143 of file begin_for.c.
| void begin_for_prepare_mt | ( | Environment * | _environment, |
| char * | _index ) |
Definition at line 41 of file begin_for_mt.c.
| void begin_for_step | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _from, | ||
| char * | _to, | ||
| char * | _step ) |
Emit ASM code for FOR ... STEP ... NEXT.
This function outputs the code to implement the starting point of a FOR ... STEP ... NEXT loop
| _environment | Current calling environment |
| _index | Variable to use as index |
| _from | Starting value |
| _to | Ending value |
| _step | Step value |
Definition at line 49 of file begin_for_step.c.
| void begin_for_step_assign | ( | Environment * | _environment, |
| char * | _step ) |
Definition at line 247 of file begin_for.c.
| void begin_for_step_assign_mt | ( | Environment * | _environment, |
| char * | _step ) |
Definition at line 147 of file begin_for_mt.c.
| void begin_for_step_prepare | ( | Environment * | _environment | ) |
Definition at line 237 of file begin_for.c.
| void begin_for_step_prepare_mt | ( | Environment * | _environment | ) |
Definition at line 137 of file begin_for_mt.c.
| void begin_for_to | ( | Environment * | _environment, |
| char * | _to ) |
| void begin_for_to_assign | ( | Environment * | _environment, |
| char * | _to ) |
Definition at line 216 of file begin_for.c.
| void begin_for_to_assign_mt | ( | Environment * | _environment, |
| char * | _to ) |
Definition at line 113 of file begin_for_mt.c.
| void begin_for_to_mt | ( | Environment * | _environment, |
| char * | _to ) |
| void begin_for_to_prepare | ( | Environment * | _environment | ) |
Definition at line 206 of file begin_for.c.
| void begin_for_to_prepare_mt | ( | Environment * | _environment | ) |
Definition at line 103 of file begin_for_mt.c.
| void begin_gameloop | ( | Environment * | _environment | ) |
Emit ASM code for BEGIN GAMELOOP.
This function is called to emit the code necessary to define the starting point of a game loop. A game loop is nothing more than an implicit loop, within which all the logic of the program (or of the game) runs. The end point of a game loop can correspond to the end of the program or to the END GAMELOOP statement.
| _environment | Current calling environment |
Definition at line 55 of file begin_gameloop.c.
| void begin_loop | ( | Environment * | _environment, |
| int | _do ) |
Emit ASM code for DO ....
This function outputs the code to implement the starting point of a DO...LOOP loop.
| _environment | Current calling environment |
Definition at line 49 of file begin_loop.c.
| void begin_procedure | ( | Environment * | _environment, |
| char * | _name ) |
Emit code for PROCEDURE ... END PROC.
| _environment | Current calling environment |
| _name | Name of the procedure |
Definition at line 113 of file begin_procedure.c.
| void begin_repeat | ( | Environment * | _environment | ) |
Emit ASM code for REPEAT ....
This function outputs the code to implement the starting point of a REPEAT...UNTIL loop.
| _environment | Current calling environment |
Definition at line 103 of file begin_repeat.c.
| void begin_storage | ( | Environment * | _environment, |
| char * | _name, | ||
| char * | _file_name ) |
Emit code for STORAGE ... ENDSTORAGE.
| _environment | Current calling environment |
| _name | Name of the storage |
Definition at line 147 of file begin_storage.c.
| void begin_type | ( | Environment * | _environment, |
| char * | _name ) |
Emit code for STORAGE ... ENDSTORAGE.
| _environment | Current calling environment |
| _name | Name of the storage |
Definition at line 117 of file begin_type.c.
| void begin_while | ( | Environment * | _environment | ) |
| void begin_while_condition | ( | Environment * | _environment, |
| char * | _expression ) |
| void bell | ( | Environment * | _environment, |
| int | _note, | ||
| int | _duration, | ||
| int | _channels ) |
| void bell_vars | ( | Environment * | _environment, |
| char * | _note, | ||
| char * | _duration, | ||
| char * | _channels, | ||
| int | _sync ) |
| void bitmap_at | ( | Environment * | _environment, |
| int | _address ) |
Emit ASM implementation for BITMAP AT [int] instruction.
This function allows you to set the starting address, in memory, for the bitmap and it is the version that is used when the memory is given as a direct number (i.e.: $A000). The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.
On some machine calling this instruction will define the special variable:
| _environment | Current calling environment |
| _address | Address to use |
This function allows you to set the starting address, in memory, for the bitmap and it is the version that is used when the memory is given as a direct number (i.e.: $2000). The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.
On some machine calling this instruction will define the special variable:
| _environment | Current calling environment |
| _address | Address to use |
Definition at line 85 of file bitmap_at.c.
| void bitmap_at_var | ( | Environment * | _environment, |
| char * | _address ) |
Emit ASM implementation for BITMAP AT [expression] instruction.
This function allows you to set the starting address, in memory, for the bitmap and it is the version that is used when the memory is given as a expression that involves variables. The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.
On some machine calling this instruction will define the special variable:
| _environment | Current calling environment |
| _address | Address to use |
Definition at line 109 of file bitmap_at.c.
| void bitmap_disable | ( | Environment * | _environment | ) |
Emit ASM implementation for BITMAP DISABLE instruction.
This function can be called to emit the code to disable bitmap graphics on the target machine.
| _environment | Current calling environment |
Definition at line 55 of file bitmap_disable.c.
| void bitmap_enable | ( | Environment * | _environment, |
| int | _width, | ||
| int | _height, | ||
| int | _colors ) |
Emit ASM implementation for BITMAP ENABLE instruction.
This function can be called to emit the code to enable bitmap graphics on the target machine. Bitmap resolution and colors depends on hardware. Enabling the bitmap also sets the starting address in memory, for those computers that have graphics mapped in memory.
On some machine calling this instruction will define two special variables:
| _environment | Current calling environment |
Definition at line 56 of file bitmap_enable.c.
| void blit_define | ( | Environment * | _environment, |
| char * | _name, | ||
| int | _sop, | ||
| int | _mop, | ||
| int | _smop, | ||
| int | _iop, | ||
| int | _dop, | ||
| int | _idop, | ||
| int | _top ) |
Emit ASM code for BLIT IMAGE [image] AT [int],[int].
This function outputs a code that draws an image on a bitmap.
| _environment | Current calling environment |
| _image | Image to draw |
| _x | Abscissa of the point to draw |
| _y | Ordinate of the point |
Definition at line 204 of file blit_define.c.
| void blit_define_begin_compound | ( | Environment * | _environment, |
| char * | _name ) |
Definition at line 250 of file blit_define.c.
| void blit_define_compound_binary | ( | Environment * | _environment, |
| int | _operation, | ||
| int | _operand1, | ||
| int | _operand2, | ||
| int | _result ) |
Definition at line 287 of file blit_define.c.
| void blit_define_compound_operand_to_register | ( | Environment * | _environment, |
| int | _register, | ||
| int | _source ) |
Definition at line 272 of file blit_define.c.
| void blit_define_compound_unary | ( | Environment * | _environment, |
| int | _operation, | ||
| int | _operand, | ||
| int | _result ) |
Definition at line 281 of file blit_define.c.
| void blit_define_end_compound | ( | Environment * | _environment, |
| int | _register ) |
Definition at line 293 of file blit_define.c.
| void blit_image | ( | Environment * | _environment, |
| char * | _blit, | ||
| char * | _x, | ||
| char * | _y, | ||
| char * | _frame, | ||
| char * | _sequence, | ||
| int | _flags ) |
Emit ASM code for BLIT IMAGE [image] AT [int],[int].
This function outputs a code that draws an image on a bitmap.
| _environment | Current calling environment |
| _image | Image to draw |
| _x | Abscissa of the point to draw |
| _y | Ordinate of the point |
Definition at line 53 of file blit_image.c.
| void boom | ( | Environment * | _environment, |
| int | _duration, | ||
| int | _channels ) |
| void boom_var | ( | Environment * | _environment, |
| char * | _duration, | ||
| char * | _channels ) |
| void bottom | ( | Environment * | _environment | ) |
| void box | ( | Environment * | _environment, |
| char * | _x1, | ||
| char * | _y1, | ||
| char * | _x2, | ||
| char * | _y2, | ||
| char * | _c, | ||
| int | _preserve_color ) |
| void buffered_fprintf | ( | Environment * | _environment, |
| FILE * | _stream, | ||
| const char * | _format, | ||
| ... ) |
Definition at line 15011 of file _infrastructure.c.
| int buffered_fputs | ( | Environment * | _environment, |
| const char * | _string, | ||
| FILE * | _stream ) |
Definition at line 15021 of file _infrastructure.c.
| size_t buffered_fwrite | ( | Environment * | _environment, |
| void * | _data, | ||
| size_t | _size, | ||
| size_t | _count, | ||
| FILE * | _stream ) |
Definition at line 15026 of file _infrastructure.c.
| void buffered_output | ( | Environment * | _environment, |
| FILE * | _stream ) |
Definition at line 15051 of file _infrastructure.c.
| void buffered_pop_output | ( | Environment * | _environment | ) |
Definition at line 15035 of file _infrastructure.c.
| void buffered_prepend_output | ( | Environment * | _environment | ) |
Definition at line 15041 of file _infrastructure.c.
| void buffered_push_output | ( | Environment * | _environment | ) |
Definition at line 15031 of file _infrastructure.c.
| Resource * build_resource_for_sequence | ( | Environment * | _environment, |
| char * | _image, | ||
| char * | _frame, | ||
| char * | _sequence ) |
Definition at line 15073 of file _infrastructure.c.
| int calculate_exact_tile | ( | TileDescriptor * | _tile, |
| TileDescriptors * | _tiles ) |
Definition at line 13128 of file _infrastructure.c.
| Variable * calculate_frame_by_type | ( | Environment * | _environment, |
| TsxTileset * | _tileset, | ||
| char * | _images, | ||
| char * | _description ) |
Definition at line 14541 of file _infrastructure.c.
| int calculate_nearest_tile | ( | TileDescriptor * | _tile, |
| TileDescriptors * | _tiles ) |
Definition at line 13108 of file _infrastructure.c.
| int calculate_tile_affinity | ( | TileDescriptor * | _first, |
| TileDescriptor * | _second ) |
Definition at line 13093 of file _infrastructure.c.
| TileDescriptor * calculate_tile_descriptor | ( | TileData * | _tileData | ) |
Definition at line 13041 of file _infrastructure.c.
| void call_procedure | ( | Environment * | _environment, |
| char * | _name ) |
| void case_else | ( | Environment * | _environment | ) |
Emit ASM code for CASE ELSE.
This function outputs the code when other comparisons fails
| _environment | Current calling environment |
| _expression | Expression with the true / false condition |
Definition at line 78 of file case_else.c.
| void case_equals | ( | Environment * | _environment, |
| int | _value ) |
Emit ASM code for CASE ....
This function outputs the code to implement a single comparison of a structured conditional jump.
| _environment | Current calling environment |
| _expression | Expression with the true / false condition |
Definition at line 148 of file case_equals.c.
| void case_equals_label | ( | Environment * | _environment | ) |
Definition at line 74 of file case_equals.c.
| void case_equals_var | ( | Environment * | _environment, |
| char * | _value ) |
Emit ASM code for CASE ....
This function outputs the code to implement a single comparison of a structured conditional jump.
| _environment | Current calling environment |
| _expression | Expression with the true / false condition |
Definition at line 106 of file case_equals.c.
| void center | ( | Environment * | _environment, |
| char * | _string, | ||
| int | _newline, | ||
| char * | _width ) |
| void cgoto | ( | Environment * | _environment, |
| char * | _expression ) |
| void chain | ( | Environment * | _environment, |
| char * | _filename ) |
Emit code for DLOAD(...).
| _environment | Current calling environment |
| _filename | Filename to read into buffer |
| void char_at | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y, | ||
| char * | _code, | ||
| char * | _type, | ||
| char * | _size ) |
| void charset_at | ( | Environment * | _environment, |
| int | _address ) |
Emit ASM implementation for BITMAP AT [int] instruction.
This function allows you to set the starting address, in memory, for the bitmap and it is the version that is used when the memory is given as a direct number (i.e.: $2000). The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.
On some machine calling this instruction will define the special variable:
| _environment | Current calling environment |
| _address | Address to use |
This function allows you to set the starting address, in memory, for the bitmap and it is the version that is used when the memory is given as a direct number (i.e.: $A000). The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.
On some machine calling this instruction will define the special variable:
| _environment | Current calling environment |
| _address | Address to use |
Definition at line 43 of file charset_at.c.
| void charset_at_var | ( | Environment * | _environment, |
| char * | _address ) |
Emit ASM implementation for BITMAP AT [expression] instruction.
This function allows you to set the starting address, in memory, for the bitmap and it is the version that is used when the memory is given as a expression that involves variables. The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.
On some machine calling this instruction will define the special variable:
| _environment | Current calling environment |
| _address | Address to use |
Definition at line 47 of file charset_at.c.
| void charset_lowercase | ( | Environment * | _environment | ) |
Definition at line 55 of file charset_at.c.
| void charset_uppercase | ( | Environment * | _environment | ) |
Definition at line 51 of file charset_at.c.
| int check_datatype_limits | ( | VariableType | _type, |
| int | _value ) |
Definition at line 15912 of file _infrastructure.c.
| int check_if_filename_is_valid | ( | Environment * | _environment, |
| char * | _filename ) |
Definition at line 13942 of file _infrastructure.c.
| void circle | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y, | ||
| char * | _r, | ||
| char * | _c, | ||
| int | _preserve_color ) |
| void clear | ( | Environment * | _environment | ) |
| Variable * clear_key | ( | Environment * | _environment | ) |
Definition at line 43 of file clear_key.c.
| void cline | ( | Environment * | _environment, |
| char * | _characters ) |
| void clip | ( | Environment * | _environment, |
| char * | _x1, | ||
| char * | _y1, | ||
| char * | _x2, | ||
| char * | _y2 ) |
| void cls | ( | Environment * | _environment, |
| char * | _paper ) |
| void cls_box | ( | Environment * | _environment, |
| char * | _x1, | ||
| char * | _y1, | ||
| char * | _w, | ||
| char * | _h ) |
| void cmove | ( | Environment * | _environment, |
| char * | _dx, | ||
| char * | _dy ) |
| void cmove_direct | ( | Environment * | _environment, |
| int | _dx, | ||
| int | _dy ) |
| Variable * collision_to | ( | Environment * | _environment, |
| int | _sprite ) |
Emit ASM code for = COLLISION([int]x).
This function can be used to issue code aimed at verifying if a sprite has had a collision with another sprite. The result (0 = no collision, 0xff = collision occurred) is returned in the output variable. This function is used when a direct integer is used.
| _environment | Current calling environment |
| _sprite | Integer with the bitmask of the sprites |
Definition at line 57 of file collision.c.
| Variable * collision_to_vars | ( | Environment * | _environment, |
| char * | _sprite ) |
Emit ASM code for = COLLISION([expression]).
This function can be used to issue code aimed at verifying if a sprite has had a collision with another sprite. The result (0 = no collision, 0xff = collision occurred) is returned in the output variable. This function is used when an expression is used.
| _environment | Current calling environment |
| _sprite | Expression with the bitmask of the sprites |
Definition at line 79 of file collision.c.
| void color | ( | Environment * | _environment, |
| int | _index, | ||
| int | _shade ) |
Emit ASM code for instruction COLOR [int], [int].
This function outputs the ASM code to change the color index, among those available. It should be used where the command is invoked with integers.
| _environment | Current calling environment |
| _index | Index of the common color to set |
| _shade | Shade of the common color to set |
| void color_background | ( | Environment * | _environment, |
| int | _index, | ||
| int | _background_color ) |
Emit ASM code for instruction COLOR BACKGROUND [int] TO [int]x.
This function outputs the ASM code to change the background color, among those available. It should be used where the command is invoked with a direct integer value.
| _environment | Current calling environment |
| _index | Index of the background color |
| _background_color | Index of the color to use |
Definition at line 52 of file color_background.c.
| void color_background_vars | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _background_color ) |
Emit ASM code for instruction COLOR BACKGROUND [expression] TO [expression].
This function outputs the ASM code to change the background color, among those available. It should be used where the command is invoked with expressions.
| _environment | Current calling environment |
| _index | Expression with the index of the background color |
| _background_color | Expression with the index of the color to use |
Definition at line 68 of file color_background.c.
| void color_border | ( | Environment * | _environment, |
| int | _color ) |
Emit ASM code for instruction COLOR BORDER [int]x.
This function outputs the ASM code to change the border color, where the command is invoked with a direct integer value.
| _environment | Current calling environment |
| _color | Index color to use. |
Definition at line 50 of file color_border.c.
| void color_border_var | ( | Environment * | _environment, |
| char * | _color ) |
Emit ASM code for instruction COLOR BORDER [expression].
This function outputs the ASM code to change the border color, where the command is invoked with an expression.
| _environment | Current calling environment |
| _color | Variable with the expression. |
Definition at line 65 of file color_border.c.
| Variable * color_get_vars | ( | Environment * | _environment, |
| char * | _index ) |
Emit ASM code for instruction = COLOR( [int] ).
This function outputs the ASM code to get the color index, among those available.
| _environment | Current calling environment |
| _index | Index of the common color to set |
Definition at line 53 of file color_get.c.
| void color_semivars | ( | Environment * | _environment, |
| int | _index, | ||
| char * | _shade ) |
Emit ASM code for instruction COLOR [expression], [expression].
This function outputs the ASM code to change the common color, among those available. It should be used where the command is invoked with expressions.
| _environment | Current calling environment |
| _index | Expression with the index of common color to set |
| _common_color | Expression with the index of the color to use |
| void color_sprite | ( | Environment * | _environment, |
| int | _index, | ||
| int | _common_color ) |
Emit ASM code for instruction COLOR SPRITE [int] TO [int].
This function outputs the ASM code to change the common sprite color, among those available. It should be used where the command is invoked with integers.
| _environment | Current calling environment |
| _index | Index of the common color to set |
| _common_color | Index of the color to use |
Emit ASM code for instruction COLOR SPRITE [int] TO [int].
This function outputs the ASM code to change the common sprite color, among those available. It should be used where the command is invoked with integers.
| _environment | Current calling environment |
| _index | Index of the common color to set |
| _common_color | Index of the color to use |
Definition at line 47 of file color_sprite.c.
| void color_sprite_semi_vars | ( | Environment * | _environment, |
| int | _index, | ||
| char * | _color ) |
Definition at line 51 of file color_sprite.c.
| void color_sprite_vars | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _common_color ) |
Emit ASM code for instruction COLOR SPRITE [expression] TO [expression].
This function outputs the ASM code to change the common sprite color, among those available. It should be used where the command is invoked with expressions.
| _environment | Current calling environment |
| _index | Expression with the index of common color to set |
| _common_color | Expression with the index of the color to use |
Definition at line 65 of file color_sprite.c.
| void color_tsb | ( | Environment * | _environment, |
| char * | _border, | ||
| char * | _background, | ||
| char * | _cursor ) |
Definition at line 41 of file color_tsb.c.
| void color_vars | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _shade ) |
Emit ASM code for instruction COLOR [expression], [expression].
This function outputs the ASM code to change the common color, among those available. It should be used where the command is invoked with expressions.
| _environment | Current calling environment |
| _index | Expression with the index of common color to set |
| _common_color | Expression with the index of the color to use |
| void colormap_at | ( | Environment * | _environment, |
| int | _address ) |
Emit ASM implementation for COLORMAP AT [int] instruction.
This function allows you to set the starting address, in memory, for the colormap and it is the version that is used when the memory is given as a direct number (i.e.: $8400). The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.
On some machine calling this instruction will define the special variable:
| _environment | Current calling environment |
| _address | Address to use |
Emit ASM implementation for COLORMAP AT [int] instruction.
This function allows you to set the starting address, in memory, for the colormap and it is the version that is used when the memory is given as a direct number (i.e.: $2000). The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.
On some machine calling this instruction will define the special variable:
| _environment | Current calling environment |
| _address | Address to use |
Definition at line 60 of file colormap_at.c.
| void colormap_at_var | ( | Environment * | _environment, |
| char * | _address ) |
Emit ASM implementation for COLORMAP AT [expression] instruction.
This function allows you to set the starting address, in memory, for the colormap and it is the version that is used when the memory is given as an expression. The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.
On some machine calling this instruction will define the special variable:
| _environment | Current calling environment |
| _address | Address to use |
Definition at line 82 of file colormap_at.c.
| void colormap_clear | ( | Environment * | _environment | ) |
Emit ASM implementation for COLORMAP CLEAR instruction.
This function is called when you want to generate code that erases the entire color map, using the default foreground and background color.
| _environment | Current calling environment |
| EXIT_FAILURE | "CRITICAL: COLORMAP CLEAR WITH xxx AND xxx needs BITMAP ENABLED" |
Definition at line 97 of file colormap_clear.c.
| void colormap_clear_with | ( | Environment * | _environment, |
| int | _foreground, | ||
| int | _background ) |
Emit ASM implementation for COLORMAP CLEAR WITH [int] ON [int] instruction.
This function is called when you want to generate code that erases the entire color map, using a foreground and a background color. This function is useful if the color indices are given as integers.
| _environment | Current calling environment |
| _foreground | Index of foreground color |
| _background | Index of background color |
| EXIT_FAILURE | "COLORMAP CLEAR WITH xxx ON xxx needs BITMAP ENABLED" |
Emit ASM implementation for COLORMAP CLEAR WITH [int] ON [int] instruction.
This function is called when you want to generate code that erases the entire color map, using a foreground and a background color. This function is useful if the color indices are given as integers.
| _environment | Current calling environment |
| _foreground | Index of foreground color |
| _background | Index of background color |
| EXIT_FAILURE | "COLORMAP CLEAR WITH xxx ON xxx needs BITMAP ENABLED" |
Definition at line 58 of file colormap_clear.c.
| void colormap_clear_with_vars | ( | Environment * | _environment, |
| char * | _foreground, | ||
| char * | _background ) |
Emit ASM implementation for COLORMAP CLEAR WITH [expression] ON [expression] instruction.
This function is called when you want to generate code that erases the entire color map, using a foreground and a background color. This function is useful if the color indices are given as integers.
| _environment | Current calling environment |
| _foreground | Expression for index of foreground color |
| _background | Expression for index of background color |
| EXIT_FAILURE | "CRITICAL: COLORMAP CLEAR WITH xxx AND xxx needs BITMAP ENABLED" |
Definition at line 79 of file colormap_clear.c.
| Variable * combine_nibble_vars | ( | Environment * | _environment, |
| char * | _low, | ||
| char * | _high ) |
Emit code for COMBINE NIBBLE.
| _environment |
Definition at line 67 of file combine_nibble.c.
| void configure_set_value | ( | Environment * | _environment, |
| int | _name, | ||
| int | _parameter, | ||
| int | _value ) |
Definition at line 37 of file configure_set_value.c.
| void configure_set_value_var | ( | Environment * | _environment, |
| int | _name, | ||
| int | _parameter, | ||
| char * | _value ) |
Definition at line 54 of file configure_set_value.c.
| void console | ( | Environment * | _environment, |
| int | _x1, | ||
| int | _y1, | ||
| int | _x2, | ||
| int | _y2 ) |
| void console_calculate | ( | Environment * | _environment | ) |
| void console_calculate_vars | ( | Environment * | _environment | ) |
| void console_init | ( | Environment * | _environment | ) |
| void console_restore | ( | Environment * | _environment, |
| int | _number ) |
| void console_restore_vars | ( | Environment * | _environment, |
| char * | _number ) |
Definition at line 125 of file console_restore.c.
| void console_save | ( | Environment * | _environment, |
| int | _number ) |
| void console_save_vars | ( | Environment * | _environment, |
| char * | _number ) |
Definition at line 96 of file console_save.c.
| Variable * console_tiles_get_height | ( | Environment * | _environment | ) |
Definition at line 41 of file console_tiles_get_height.c.
| Variable * console_tiles_get_width | ( | Environment * | _environment | ) |
Definition at line 41 of file console_tiles_get_width.c.
| void console_vars | ( | Environment * | _environment, |
| char * | _x1, | ||
| char * | _x2, | ||
| char * | _x3, | ||
| char * | _x4 ) |
| void const_define_float | ( | Environment * | _environment, |
| char * | _name, | ||
| double | _value ) |
| void const_define_numeric | ( | Environment * | _environment, |
| char * | _name, | ||
| int | _value ) |
Definition at line 11862 of file _infrastructure.c.
| void const_define_string | ( | Environment * | _environment, |
| char * | _name, | ||
| char * | _value ) |
Definition at line 11907 of file _infrastructure.c.
| void const_emit | ( | Environment * | _environment, |
| char * | _name ) |
| Constant * constant_create | ( | Environment * | _environment, |
| char * | _name ) |
Definition at line 348 of file _infrastructure.c.
| Constant * constant_find | ( | Environment * | _environment, |
| char * | _name ) |
Definition at line 373 of file _infrastructure.c.
| void copper_color | ( | Environment * | _environment, |
| int | _index, | ||
| int | _color ) |
Emit code for BEGIN COPPER.
| _environment | Current calling environment |
Definition at line 94 of file copper_color.c.
| void copper_color_background | ( | Environment * | _environment, |
| int | _color ) |
Emit code for BEGIN COPPER.
| _environment | Current calling environment |
Definition at line 94 of file copper_color_background.c.
| void copper_color_border | ( | Environment * | _environment, |
| int | _color ) |
Emit code for BEGIN COPPER.
| _environment | Current calling environment |
Definition at line 94 of file copper_color_border.c.
| void copper_move | ( | Environment * | _environment, |
| int | _address1, | ||
| int | _address2, | ||
| VariableType | _VariableType ) |
Definition at line 120 of file copper_move.c.
| void copper_nop | ( | Environment * | _environment | ) |
Emit code for BEGIN COPPER.
| _environment | Current calling environment |
Definition at line 84 of file copper_nop.c.
| void copper_store | ( | Environment * | _environment, |
| int | _address, | ||
| int | _value, | ||
| VariableType | _VariableType ) |
Definition at line 283 of file copper_store.c.
| void copper_use | ( | Environment * | _environment, |
| char * | _name ) |
Definition at line 81 of file copper_use.c.
| void copper_wait | ( | Environment * | _environment, |
| int | _line ) |
Emit code for BEGIN COPPER.
| _environment | Current calling environment |
Definition at line 109 of file copper_wait.c.
| int count_screen_mode_selected | ( | Environment * | _environment | ) |
Definition at line 11498 of file _infrastructure.c.
| void cpuspeed | ( | Environment * | _environment, |
| char * | _value ) |
Emit ASM code for CPUSPEED.
| _environment | Current calling environment |
Definition at line 49 of file cpuspeed.c.
| Variable * create_path | ( | Environment * | _environment, |
| char * | _x0, | ||
| char * | _y0, | ||
| char * | _x1, | ||
| char * | _y1 ) |
Emit ASM code to implement CREATE PATH command.
| _environment | Current calling environment |
| _x1 | Left abscissa of the line |
| _y1 | Left ordinate of the line |
| _x2 | Right abscissa of the line |
| _y2 | Right ordinate of the line |
Definition at line 90 of file create_path.c.
| Variable * create_vector | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y ) |
Emit ASM code to implement CREATE PATH command.
| _environment | Current calling environment |
| _x | Left abscissa of the line |
| _y | Left ordinate of the line |
Definition at line 68 of file create_vector.c.
| void cset | ( | Environment * | _environment, |
| char * | _value ) |
| Variable * csprite_init | ( | Environment * | _environment, |
| char * | _image, | ||
| char * | _sprite, | ||
| int | _flags ) |
Emit code for SPRITE(...).
| _environment | Current calling environment |
| _image | image to use as SPRITE |
Definition at line 47 of file csprite_init.c.
| void data_floating | ( | Environment * | _environment, |
| double | _value ) |
| void data_numeric | ( | Environment * | _environment, |
| int | _value ) |
| DataSegment * data_segment_define | ( | Environment * | _environment, |
| char * | _name ) |
Definition at line 14901 of file _infrastructure.c.
| DataSegment * data_segment_define_numeric | ( | Environment * | _environment, |
| int | _number ) |
Definition at line 14925 of file _infrastructure.c.
| DataSegment * data_segment_define_or_retrieve | ( | Environment * | _environment, |
| char * | _name ) |
Definition at line 14977 of file _infrastructure.c.
| DataSegment * data_segment_define_or_retrieve_numeric | ( | Environment * | _environment, |
| int | _number ) |
Definition at line 14989 of file _infrastructure.c.
| DataSegment * data_segment_find | ( | Environment * | _environment, |
| char * | _name ) |
Definition at line 14949 of file _infrastructure.c.
| DataSegment * data_segment_find_numeric | ( | Environment * | _environment, |
| int | _number ) |
Definition at line 14963 of file _infrastructure.c.
| void data_string | ( | Environment * | _environment, |
| char * | _value ) |
| void data_type | ( | Environment * | _environment | ) |
| void declare_procedure | ( | Environment * | _environment, |
| char * | _name, | ||
| int | _address, | ||
| int | _system ) |
Emit code for DECLARE PROC ....
| _environment | Current calling environment |
| _name | Name of the procedure |
Definition at line 175 of file declare_procedure.c.
| Variable * decrypt | ( | Environment * | _environment, |
| char * | _data, | ||
| char * | _key, | ||
| char * | _var ) |
| void defdgr_vars | ( | Environment * | _environment, |
| char * | _character, | ||
| char * | _b0, | ||
| char * | _b1, | ||
| char * | _b2, | ||
| char * | _b3, | ||
| char * | _b4, | ||
| char * | _b5, | ||
| char * | _b6, | ||
| char * | _b7 ) |
| int define_audio_target_check | ( | Environment * | _environment, |
| int | _value ) |
| void define_implicit_array_if_needed | ( | Environment * | _Environment, |
| char * | _name ) |
Definition at line 15899 of file _infrastructure.c.
| Variable * deserialize | ( | Environment * | _environment, |
| char * | _data, | ||
| char * | _key, | ||
| char * | _var ) |
Emit code for DESERIALIZE.
| _environment | Current calling environment |
| _string | Data to deserialize |
Definition at line 62 of file deserialize.c.
| Variable * distance | ( | Environment * | _environment, |
| char * | _x1, | ||
| char * | _y1, | ||
| char * | _x2, | ||
| char * | _y2 ) |
Return the distance between two (screen) positions.
| _environment | Current calling environment |
| _x1 | Abscissa of the first point |
| _y1 | Ordinate of the first point |
| _x1 | Abscissa of the second point |
| _y1 | Ordinate of the second point |
Definition at line 76 of file distance.c.
| void dload | ( | Environment * | _environment, |
| char * | _filename, | ||
| char * | _offset, | ||
| char * | _address, | ||
| char * | _bank, | ||
| char * | _size ) |
Emit code for DLOAD(...).
| _environment | Current calling environment |
| _filename | Filename to read into buffer |
| void dojo_begin | ( | Environment * | _environment | ) |
| Variable * dojo_create_port | ( | Environment * | _environment | ) |
Definition at line 84 of file dojo_create_port.c.
| void dojo_end | ( | Environment * | _environment | ) |
| Variable * dojo_error | ( | Environment * | _environment | ) |
Definition at line 57 of file dojo_error.c.
| void dojo_fujinet_begin | ( | Environment * | _environment | ) |
Definition at line 75 of file dojo_fujinet.c.
| void dojo_fujinet_end | ( | Environment * | _environment | ) |
Definition at line 159 of file dojo_fujinet.c.
| void dojo_fujinet_get_response | ( | Environment * | _environment, |
| char * | _status, | ||
| char * | _data, | ||
| char * | _size ) |
Definition at line 129 of file dojo_fujinet.c.
| void dojo_fujinet_get_response0 | ( | Environment * | _environment, |
| char * | _status ) |
Definition at line 123 of file dojo_fujinet.c.
| void dojo_fujinet_get_response_payload | ( | Environment * | _environment, |
| char * | _data ) |
Definition at line 147 of file dojo_fujinet.c.
| void dojo_fujinet_get_response_payloadd | ( | Environment * | _environment, |
| char * | _address ) |
Definition at line 153 of file dojo_fujinet.c.
| void dojo_fujinet_get_response_size | ( | Environment * | _environment, |
| char * | _status, | ||
| char * | _size ) |
Definition at line 141 of file dojo_fujinet.c.
| void dojo_fujinet_get_responsed | ( | Environment * | _environment, |
| char * | _status, | ||
| char * | _data, | ||
| char * | _size ) |
Definition at line 135 of file dojo_fujinet.c.
| void dojo_fujinet_has_response | ( | Environment * | _environment, |
| char * | _result ) |
| void dojo_fujinet_init | ( | Environment * | _environment | ) |
Definition at line 43 of file dojo_fujinet.c.
| void dojo_fujinet_partial | ( | Environment * | _environment | ) |
Definition at line 110 of file dojo_fujinet.c.
| void dojo_fujinet_put_request | ( | Environment * | _environment, |
| int | _command, | ||
| char * | _param1, | ||
| char * | _param2, | ||
| char * | _address, | ||
| char * | _size, | ||
| char * | _result ) |
Definition at line 92 of file dojo_fujinet.c.
| void dojo_fujinet_put_request0 | ( | Environment * | _environment, |
| int | _command, | ||
| char * | _param1, | ||
| char * | _param2, | ||
| char * | _result ) |
Definition at line 86 of file dojo_fujinet.c.
| void dojo_fujinet_put_requestd | ( | Environment * | _environment, |
| int | _command, | ||
| char * | _param1, | ||
| char * | _param2, | ||
| char * | _data, | ||
| char * | _size, | ||
| char * | _result ) |
Definition at line 98 of file dojo_fujinet.c.
| void dojo_fujinet_put_requestds | ( | Environment * | _environment, |
| int | _command, | ||
| char * | _param1, | ||
| char * | _param2, | ||
| char * | _data, | ||
| int | _size, | ||
| char * | _result ) |
Definition at line 104 of file dojo_fujinet.c.
| Variable * dojo_get_message | ( | Environment * | _environment, |
| char * | _port, | ||
| char * | _channel ) |
Definition at line 92 of file dojo_get_message.c.
| void dojo_get_message_inplace | ( | Environment * | _environment, |
| char * | _port, | ||
| char * | _channel, | ||
| char * | _variable ) |
Definition at line 39 of file dojo_get_message_inplace.c.
| void dojo_get_response | ( | Environment * | _environment, |
| char * | _status, | ||
| char * | _address, | ||
| char * | _size ) |
| void dojo_get_response0 | ( | Environment * | _environment, |
| char * | _status ) |
| void dojo_get_response_payload | ( | Environment * | _environment, |
| char * | _address ) |
| void dojo_get_response_payloadd | ( | Environment * | _environment, |
| char * | _data ) |
| void dojo_get_response_size | ( | Environment * | _environment, |
| char * | _status, | ||
| char * | _size ) |
| void dojo_get_responsed | ( | Environment * | _environment, |
| char * | _status, | ||
| char * | _data, | ||
| char * | _size ) |
| void dojo_has_response | ( | Environment * | _environment, |
| char * | _result ) |
| void dojo_init | ( | Environment * | _environment | ) |
| Variable * dojo_open_port | ( | Environment * | _environment, |
| char * | _name ) |
Definition at line 98 of file dojo_open_port.c.
| void dojo_partial | ( | Environment * | _environment | ) |
| Variable * dojo_peek_message | ( | Environment * | _environment, |
| char * | _port, | ||
| char * | _channel ) |
Definition at line 80 of file dojo_peek_message.c.
| Variable * dojo_ping | ( | Environment * | _environment, |
| char * | _param1, | ||
| char * | _param2 ) |
Definition at line 88 of file dojo_ping.c.
| Variable * dojo_put_message | ( | Environment * | _environment, |
| char * | _port, | ||
| char * | _channel, | ||
| char * | _message ) |
Definition at line 80 of file dojo_put_message.c.
| void dojo_put_request | ( | Environment * | _environment, |
| int | _command, | ||
| char * | _param1, | ||
| char * | _param2, | ||
| char * | _address, | ||
| char * | _size, | ||
| char * | _result ) |
| void dojo_put_request0 | ( | Environment * | _environment, |
| int | _command, | ||
| char * | _param1, | ||
| char * | _param2, | ||
| char * | _result ) |
| void dojo_put_requestd | ( | Environment * | _environment, |
| int | _command, | ||
| char * | _param1, | ||
| char * | _param2, | ||
| char * | _data, | ||
| char * | _size, | ||
| char * | _result ) |
| void dojo_put_requestds | ( | Environment * | _environment, |
| int | _command, | ||
| char * | _param1, | ||
| char * | _param2, | ||
| char * | _data, | ||
| int | _size, | ||
| char * | _result ) |
| void dojo_serial_begin | ( | Environment * | _environment | ) |
| void dojo_serial_end | ( | Environment * | _environment | ) |
| void dojo_serial_get_response | ( | Environment * | _environment, |
| char * | _status, | ||
| char * | _data, | ||
| char * | _size ) |
| void dojo_serial_get_response0 | ( | Environment * | _environment, |
| char * | _status ) |
| void dojo_serial_get_response_payload | ( | Environment * | _environment, |
| char * | _data ) |
| void dojo_serial_get_response_payloadd | ( | Environment * | _environment, |
| char * | _address ) |
| void dojo_serial_get_response_size | ( | Environment * | _environment, |
| char * | _status, | ||
| char * | _size ) |
| void dojo_serial_get_responsed | ( | Environment * | _environment, |
| char * | _status, | ||
| char * | _data, | ||
| char * | _size ) |
| void dojo_serial_has_response | ( | Environment * | _environment, |
| char * | _result ) |
| void dojo_serial_init | ( | Environment * | _environment | ) |
| void dojo_serial_put_request | ( | Environment * | _environment, |
| int | _command, | ||
| char * | _param1, | ||
| char * | _param2, | ||
| char * | _address, | ||
| char * | _size, | ||
| char * | _result ) |
| void dojo_serial_put_request0 | ( | Environment * | _environment, |
| int | _command, | ||
| char * | _param1, | ||
| char * | _param2, | ||
| char * | _result ) |
| void dojo_serial_put_requestd | ( | Environment * | _environment, |
| int | _command, | ||
| char * | _param1, | ||
| char * | _param2, | ||
| char * | _data, | ||
| char * | _size, | ||
| char * | _result ) |
| void dojo_serial_put_requestds | ( | Environment * | _environment, |
| int | _command, | ||
| char * | _param1, | ||
| char * | _param2, | ||
| char * | _data, | ||
| int | _size, | ||
| char * | _result ) |
| void double_buffer | ( | Environment * | _environment, |
| int | _enabled ) |
Emit code for DOUBLE BUFFER ....
| _environment | Current calling environment |
| _enabled | if double buffer is enabled |
Definition at line 50 of file double_buffer.c.
| void downb | ( | Environment * | _environment, |
| char * | _line, | ||
| char * | _column, | ||
| char * | _width, | ||
| char * | _height ) |
| void downw | ( | Environment * | _environment, |
| char * | _line, | ||
| char * | _column, | ||
| char * | _width, | ||
| char * | _height ) |
| void draw | ( | Environment * | _environment, |
| char * | _x0, | ||
| char * | _y0, | ||
| char * | _x1, | ||
| char * | _y1, | ||
| char * | _c, | ||
| int | _preserve_color ) |
| void draw_string | ( | Environment * | _environment, |
| char * | _string ) |
Definition at line 142 of file draw_string.c.
| void draw_tile_column | ( | Environment * | _environment, |
| char * | _tile, | ||
| char * | _x, | ||
| char * | _y1, | ||
| char * | _y2, | ||
| char * | _color ) |
Emit ASM code for DRAW TILE ROW [y], [x1] TO [x2], [color].
This function outputs a code that draws a line of tiles on a tilemap.
| _environment | Current calling environment |
| _image | Image to draw |
| _x | Abscissa of the point to draw |
| _y | Ordinate of the point |
Definition at line 56 of file draw_tile_column.c.
| void draw_tile_row | ( | Environment * | _environment, |
| char * | _tile, | ||
| char * | _y, | ||
| char * | _x1, | ||
| char * | _x2, | ||
| char * | _color ) |
Emit ASM code for DRAW TILE ROW [y], [x1] TO [x2], [color].
This function outputs a code that draws a line of tiles on a tilemap.
| _environment | Current calling environment |
| _image | Image to draw |
| _x | Abscissa of the point to draw |
| _y | Ordinate of the point |
Definition at line 86 of file draw_tile_row.c.
| void draw_tsb_string | ( | Environment * | _environment, |
| char * | _string, | ||
| char * | _x, | ||
| char * | _y, | ||
| char * | _c, | ||
| int | _preserve_color ) |
Definition at line 41 of file draw_tsb_string.c.
| void dsave | ( | Environment * | _environment, |
| char * | _filename, | ||
| char * | _offset, | ||
| char * | _address, | ||
| char * | _size ) |
Emit code for DLOAD(...).
| _environment | Current calling environment |
| _filename | Filename to read into buffer |
| void dstring_cleanup | ( | Environment * | _Environment | ) |
Definition at line 41 of file _dstring.c.
| void ellipse | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y, | ||
| char * | _rx, | ||
| char * | _ry, | ||
| char * | _c, | ||
| int | _preserve_color ) |
Emit code for ELLIPSE command.
| _environment | Current calling environment |
| _x | Abscissa of the center of the ellipse |
| _y | Ordinate of the center of the ellipse |
| _rx | Horizontal radius of the ellipse |
| _ry | Vertical radius of the ellipse |
| _c | Color to be used to draw ellipse |
| void else_if_then | ( | Environment * | _environment, |
| char * | _expression ) |
Emit ASM code for ... ELSE [IF] ....
This function outputs the code to implement the alternative for a conditional if.
| _environment | Current calling environment |
| _expression | Expression with the true / false condition |
Definition at line 80 of file else_if_then.c.
| void else_if_then_label | ( | Environment * | _environment | ) |
Emit ASM code for ... ELSE [IF] ....
This function outputs the code to implement the alternative for a conditional if.
| _environment | Current calling environment |
| _expression | Expression with the true / false condition |
Definition at line 50 of file else_if_then.c.
| int embed_scan_string | ( | const char * | ) |
| int embedparse | ( | void * | ) |
| Variable * encrypt | ( | Environment * | _environment, |
| char * | _data, | ||
| char * | _key ) |
| void end | ( | Environment * | _environment | ) |
| void end_build | ( | Environment * | _environment | ) |
| void end_compilation | ( | Environment * | _environment | ) |
Definition at line 58 of file _cleanups.c.
| void end_copper | ( | Environment * | _environment | ) |
Emit code for BEGIN COPPER.
| _environment | Current calling environment |
Definition at line 46 of file end_copper.c.
| void end_do_loop | ( | Environment * | _environment | ) |
Emit ASM code for ... LOOP.
This function outputs the code to implement the end of loop, by defining the last point of the loop.
| _environment | Current calling environment |
Definition at line 49 of file end_do_loop.c.
| void end_for | ( | Environment * | _environment | ) |
| void end_for_identifier | ( | Environment * | _environment, |
| char * | _index ) |
| void end_gameloop | ( | Environment * | _environment | ) |
Emit ASM code for END GAMELOOP.
This function is called to emit the code necessary to define the ending point of a game loop.
| _environment | Current calling environment |
| EXIT_FAILURE | "Cannot call END GAMELOOP without BEGIN GAMELOOP" |
Definition at line 67 of file end_gameloop.c.
| void end_if_then | ( | Environment * | _environment | ) |
Emit ASM code for ENDIF.
This function outputs the code to implement the end of conditional jump, by defining the last label present into the stack.
| _environment | Current calling environment |
Definition at line 50 of file end_if_then.c.
| void end_loop | ( | Environment * | _environment, |
| int | _do ) |
Emit ASM code for ... LOOP.
This function outputs the code to implement the end of loop, by defining the last point of the loop.
| _environment | Current calling environment |
Definition at line 49 of file end_loop.c.
| void end_loop_until | ( | Environment * | _environment, |
| char * | _expr ) |
Emit ASM code for ... LOOP.
This function outputs the code to implement the end of loop, by defining the last point of the loop.
| _environment | Current calling environment |
Definition at line 49 of file end_loop_until.c.
| void end_loop_while | ( | Environment * | _environment, |
| char * | _expr ) |
Emit ASM code for ... LOOP.
This function outputs the code to implement the end of loop, by defining the last point of the loop.
| _environment | Current calling environment |
Definition at line 49 of file end_loop_while.c.
| void end_procedure | ( | Environment * | _environment, |
| char * | _value ) |
Emit code for END PROC.
| _environment | Current calling environment |
| _value | Value to the return |
Definition at line 72 of file end_proc.c.
| void end_repeat | ( | Environment * | _environment | ) |
Emit ASM code for ... UNTIL [expression].
This function outputs the code to implement the end of a while loop, by defining the last point of the loop.
| _environment | Current calling environment |
Definition at line 49 of file end_repeat.c.
| void end_repeat_condition | ( | Environment * | _environment, |
| char * | _expression ) |
Definition at line 67 of file end_repeat.c.
| void end_select_case | ( | Environment * | _environment | ) |
Emit ASM code for ENDSELECT.
This function outputs the code when multiple comparison ends.
| _environment | Current calling environment |
| _expression | Expression with the true / false condition |
Definition at line 78 of file end_select_case.c.
| void end_storage | ( | Environment * | _environment | ) |
Emit code for ENDSTORAGE.
| _environment | Current calling environment |
| _value | Value to the return |
Definition at line 47 of file end_storage.c.
| void end_type | ( | Environment * | _environment | ) |
Emit code for ENDSTORAGE.
| _environment | Current calling environment |
| _value | Value to the return |
Definition at line 47 of file end_type.c.
| void end_while | ( | Environment * | _environment | ) |
| void envelope | ( | Environment * | _environment, |
| char * | _voice, | ||
| char * | _attack, | ||
| char * | _decay, | ||
| char * | _sustain, | ||
| char * | _release ) |
Definition at line 41 of file envelope.c.
| Environment * environment_create | ( | void | ) |
Create a new environment.
Allocate space and reset (put to zero) the content of the Environment structure.
Definition at line 17283 of file _infrastructure.c.
| void environment_parse_command_line | ( | Environment * | _environment, |
| int | _argc, | ||
| char * | _argv[] ) |
Parse command line parameters.
| _environment | Environment to change |
| _argc | The number of parameters given on the command line. |
| _argv | The array of parameters given on the command line. |
Definition at line 17365 of file _infrastructure.c.
| void environment_setup_10liner | ( | Environment * | _environment | ) |
Definition at line 17748 of file _infrastructure.c.
| void environment_setup_default | ( | Environment * | _environment | ) |
Setup default environment values.
| _environment | Environment to change |
Definition at line 17294 of file _infrastructure.c.
| void environment_setup_embedded | ( | Environment * | _environment | ) |
| void environment_setup_retrohack | ( | Environment * | _environment | ) |
Definition at line 17755 of file _infrastructure.c.
| void error | ( | Environment * | _environment, |
| char * | _message ) |
| char * escape_newlines | ( | char * | _string | ) |
Definition at line 13936 of file _infrastructure.c.
| char * escape_newlines_full | ( | char * | _string, |
| int | _size ) |
Definition at line 13798 of file _infrastructure.c.
| void every_cleanup | ( | Environment * | _environment | ) |
| void every_off | ( | Environment * | _environment, |
| char * | _timer ) |
Emit ASM code for EVERY OFF.
| _environment | Current calling environment |
Definition at line 51 of file every_off.c.
| void every_on | ( | Environment * | _environment, |
| char * | _timer ) |
Emit ASM code for EVERY ON.
| _environment | Current calling environment |
Definition at line 51 of file every_on.c.
| void every_ticks_call | ( | Environment * | _environment, |
| char * | _timing, | ||
| char * | _label, | ||
| char * | _timer ) |
Definition at line 46 of file every_call.c.
| void every_ticks_gosub | ( | Environment * | _environment, |
| char * | _timing, | ||
| char * | _label, | ||
| char * | _timer ) |
Emit ASM code for EVERY ... TICKS GOSUB ....
Emit assembly code to initialize the EVERY subsystem.
| _environment | |
| _timing | |
| _label | |
| _environment | Current calling environment |
| _label | Label to jump to when vertical raster reach the value given |
| _position | The vertical position to wait for |
Definition at line 54 of file every_gosub.c.
| void exit_loop | ( | Environment * | _environment, |
| int | _number ) |
Emit ASM code for EXIT.
This function out of the loop. Optionally, the programmer can give the number of loops to jump out.
| _environment | Current calling environment |
| _number | Number of loops to exit. |
Definition at line 97 of file exit_loop.c.
| void exit_loop_if | ( | Environment * | _environment, |
| char * | _expression, | ||
| int | _number ) |
Emit ASM code for EXIT IF.
This function out of the loop on condition. Optionally, the programmer can give the number of loops to jump out.
| _environment | Current calling environment |
| _expression | Expression to check |
| _number | Number of loops to exit. |
Definition at line 85 of file exit_loop_if.c.
| void exit_proc_if | ( | Environment * | _environment, |
| char * | _expression, | ||
| char * | _value ) |
Emit ASM code for EXIT PROC IF.
This function out of the current procedure on condition.
| _environment | Current calling environment |
| _expression | Expression to check |
Definition at line 170 of file exit_proc_if.c.
| void exit_procedure | ( | Environment * | _environment | ) |
Emit code for POP PROC / EXIT PROC.
| _environment | Current calling environment |
Definition at line 124 of file exit_proc.c.
| void fade_in | ( | Environment * | _environment, |
| char * | _period ) |
| void fade_in_color | ( | Environment * | _environment, |
| int | _index, | ||
| int | _shade ) |
Definition at line 37 of file fade_in_color.c.
| void fade_in_color_semivars | ( | Environment * | _environment, |
| int | _index, | ||
| char * | _shade ) |
Emit ASM code for instruction COLOR [expression], [expression].
This function outputs the ASM code to change the common color, among those available. It should be used where the command is invoked with expressions.
| _environment | Current calling environment |
| _index | Expression with the index of common color to set |
| _common_color | Expression with the index of the color to use |
Definition at line 53 of file fade_in_color.c.
| void fade_in_color_vars | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _shade ) |
Emit ASM code for instruction COLOR [expression], [expression].
This function outputs the ASM code to change the common color, among those available. It should be used where the command is invoked with expressions.
| _environment | Current calling environment |
| _index | Expression with the index of common color to set |
| _common_color | Expression with the index of the color to use |
Definition at line 71 of file fade_in_color.c.
| void fade_milliseconds_var | ( | Environment * | _environment, |
| char * | _millliseconds ) |
| void fade_out | ( | Environment * | _environment, |
| char * | _period ) |
Emit code for FADE.
Definition at line 47 of file fade_out.c.
| void fade_ticks_var | ( | Environment * | _environment, |
| char * | _ticks ) |
| void fast | ( | Environment * | _environment | ) |
| void fcircle | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y, | ||
| char * | _r, | ||
| char * | _c, | ||
| int | _preserve_color ) |
| void fellipse | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y, | ||
| char * | _rx, | ||
| char * | _ry, | ||
| char * | _c, | ||
| int | _preserve_color ) |
Emit code for ELLIPSE command.
| _environment | Current calling environment |
| _x | Abscissa of the center of the ellipse |
| _y | Ordinate of the center of the ellipse |
| _rx | Horizontal radius of the ellipse |
| _ry | Vertical radius of the ellipse |
| _c | Color to be used to draw ellipse |
Definition at line 93 of file fellipse.c.
Definition at line 16144 of file _infrastructure.c.
| void field_type | ( | Environment * | _environment, |
| char * | _name, | ||
| VariableType | _datatype ) |
Definition at line 41 of file field_type.c.
| int file_get_size | ( | Environment * | _environment, |
| char * | _filename ) |
Definition at line 15271 of file _infrastructure.c.
| char * file_read_csv | ( | Environment * | _Environment, |
| char * | _filename, | ||
| VariableType | _type, | ||
| int * | _size, | ||
| int * | _count ) |
Definition at line 15940 of file _infrastructure.c.
| int file_size | ( | Environment * | _environment, |
| char * | _target_name ) |
Emit code for FILE ... AS ....
| _environment | Current calling environment |
| _name | Name of the storage |
Definition at line 103 of file file_size.c.
| void file_storage | ( | Environment * | _environment, |
| char * | _source_name, | ||
| char * | _target_name, | ||
| FileStorageFormat | _format, | ||
| VariableType | _type ) |
Emit code for FILE ... AS ....
| _environment | Current calling environment |
| _name | Name of the storage |
Definition at line 109 of file file_storage.c.
| void fill | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y, | ||
| char * | _w, | ||
| char * | _h, | ||
| char * | _char, | ||
| char * | _color ) |
| void finalize_text_variables | ( | Environment * | _environment | ) |
| CopperList * find_copper_list | ( | Environment * | _environment, |
| char * | _name ) |
Definition at line 17181 of file _infrastructure.c.
| int find_frame_by_type | ( | Environment * | _environment, |
| TsxTileset * | _tileset, | ||
| char * | _images, | ||
| char * | _description ) |
Definition at line 14612 of file _infrastructure.c.
| char * find_last_path_separator | ( | char * | _path | ) |
Definition at line 15206 of file _infrastructure.c.
| ScreenMode * find_screen_mode_by_id | ( | Environment * | _environment, |
| int | _id ) |
Definition at line 11570 of file _infrastructure.c.
| ScreenMode * find_screen_mode_by_suggestion | ( | Environment * | _environment, |
| int | _bitmap, | ||
| int | _width, | ||
| int | _height, | ||
| int | _colors, | ||
| int | _tile_width, | ||
| int | _tile_height ) |
Definition at line 11514 of file _infrastructure.c.
| void flash | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _register ) |
| void flash_off | ( | Environment * | _environment, |
| char * | _index ) |
| void flip_image_vars | ( | Environment * | _environment, |
| char * | _image, | ||
| char * | _frame, | ||
| char * | _sequence, | ||
| char * | _direction ) |
Emit ASM code for FLIP IMAGE X/Y/XY/YX [image].
This function outputs a code that flip an image
| _environment | Current calling environment |
| _image | Image to draw |
Emit ASM code for FLIP IMAGE X/Y/XY/YX [image].
This function outputs a code that draws an image on a bitmap.
| _environment | Current calling environment |
| _image | Image to draw |
| _x | Abscissa of the point to draw |
| _y | Ordinate of the point |
Definition at line 56 of file flip_image.c.
| void flip_image_vars_direction | ( | Environment * | _environment, |
| char * | _image, | ||
| char * | _frame, | ||
| char * | _sequence, | ||
| int | _direction ) |
Definition at line 44 of file flip_image.c.
| void flip_image_vars_indirection | ( | Environment * | _environment, |
| char * | _image, | ||
| char * | _frame, | ||
| char * | _sequence, | ||
| char * | _direction ) |
Definition at line 66 of file flip_image.c.
| void font_descriptors_init | ( | Environment * | _environment, |
| int | _embedded_present ) |
Definition at line 14474 of file _infrastructure.c.
| void forbid | ( | Environment * | _environment | ) |
| Variable * fp_cos | ( | Environment * | _environment, |
| char * | _angle ) |
| Variable * fp_exp | ( | Environment * | _environment, |
| char * | _value ) |
| Variable * fp_log | ( | Environment * | _environment, |
| char * | _value ) |
| Variable * fp_sin | ( | Environment * | _environment, |
| char * | _angle ) |
| Variable * fp_tan | ( | Environment * | _environment, |
| char * | _angle ) |
| int frames | ( | Environment * | _environment, |
| char * | _image ) |
Emit code for FRAMES(...).
| _environment | Current calling environment |
| _image | image to check |
| void freeze_vars | ( | Environment * | _environment, |
| char * | _prefix ) |
| void fujinet_close | ( | Environment * | _environment | ) |
Definition at line 41 of file fujinet_close.c.
| void fujinet_define | ( | Environment * | _environment, |
| FujiNetDefine | _mode ) |
Definition at line 41 of file fujinet_define.c.
| Variable * fujinet_get_bytes_waiting | ( | Environment * | _environment | ) |
Definition at line 41 of file fujinet_get_bytes_waiting.c.
| Variable * fujinet_get_error | ( | Environment * | _environment | ) |
Definition at line 41 of file fujinet_get_error.c.
| void fujinet_get_status | ( | Environment * | _environment | ) |
Definition at line 41 of file fujinet_get_status.c.
| Variable * fujinet_http_post_bin | ( | Environment * | _environment, |
| char * | _value ) |
Definition at line 63 of file fujinet_http_post_bin.c.
| Variable * fujinet_http_post_bin_type | ( | Environment * | _environment, |
| char * | _value, | ||
| VariableType | _type ) |
Definition at line 41 of file fujinet_http_post_bin_type.c.
| Variable * fujinet_is_connected | ( | Environment * | _environment | ) |
Definition at line 41 of file fujinet_is_connected.c.
| Variable * fujinet_is_ready | ( | Environment * | _environment | ) |
Definition at line 41 of file fujinet_is_ready.c.
| void fujinet_json_query | ( | Environment * | _environment, |
| char * | _query ) |
Definition at line 41 of file fujinet_json_query.c.
| void fujinet_login | ( | Environment * | _environment, |
| char * | _login ) |
Definition at line 41 of file fujinet_login.c.
| Variable * fujinet_open | ( | Environment * | _environment, |
| char * | _url, | ||
| char * | _mode, | ||
| char * | _trans ) |
Definition at line 41 of file fujinet_open.c.
| Variable * fujinet_parse_json | ( | Environment * | _environment | ) |
Definition at line 41 of file fujinet_parse_json.c.
| void fujinet_password | ( | Environment * | _environment, |
| char * | _password ) |
Definition at line 41 of file fujinet_password.c.
| Variable * fujinet_read | ( | Environment * | _environment, |
| char * | _size ) |
Definition at line 41 of file fujinet_read.c.
| Variable * fujinet_read_type | ( | Environment * | _environment, |
| VariableType | _type ) |
Definition at line 43 of file fujinet_read_type.c.
| Variable * fujinet_set_channel_mode | ( | Environment * | _environment, |
| int | _mode ) |
Definition at line 41 of file fujinet_set_channel_mode.c.
| Variable * fujinet_set_channel_mode_var | ( | Environment * | _environment, |
| char * | _mode ) |
Definition at line 51 of file fujinet_set_channel_mode.c.
| void fujinet_set_device | ( | Environment * | _environment, |
| int | _device_id ) |
Definition at line 41 of file fujinet_set_device.c.
| void fujinet_set_device_var | ( | Environment * | _environment, |
| char * | _device_id ) |
Definition at line 47 of file fujinet_set_device.c.
| Variable * fujinet_write | ( | Environment * | _environment, |
| char * | _value ) |
Definition at line 41 of file fujinet_write.c.
| Variable * fujinet_write_type | ( | Environment * | _environment, |
| char * | _value, | ||
| VariableType | _type ) |
Definition at line 43 of file fujinet_write_type.c.
| void gameloop_cleanup | ( | Environment * | _environment | ) |
Emit source and configuration lines for game loops.
This function can be called to generate all the definitions (on the source file, on the configuration file and on any support file) necessary to implement the memory banks.
| _environment | Current calling environment |
Definition at line 50 of file _cleanups.c.
| void generate_cgoto_address_table | ( | Environment * | _environment | ) |
| char * generate_storage_filename | ( | Environment * | _environment, |
| char * | _prefix, | ||
| char * | _suffix, | ||
| int | _number ) |
Definition at line 15261 of file _infrastructure.c.
| Variable * get_at | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y ) |
Emit code for = AT$(...,...).
| _environment | Current calling environment |
| _x | Column to locate to |
| _y | Row to locate to |
Definition at line 48 of file text_get_at.c.
| Variable * get_cmove | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y ) |
Emit code for = CMOVE(...,...).
| _environment | Current calling environment |
| _x | Column to locate to |
| _y | Row to locate to |
Definition at line 78 of file get_cmove.c.
| Variable * get_cmove_direct | ( | Environment * | _environment, |
| int | _x, | ||
| int | _y ) |
Definition at line 100 of file get_cmove.c.
| char * get_default_temporary_path | ( | ) |
Definition at line 15156 of file _infrastructure.c.
| void get_image | ( | Environment * | _environment, |
| char * | _image, | ||
| char * | _x1, | ||
| char * | _y1, | ||
| char * | _x2, | ||
| char * | _y2, | ||
| char * | _frame, | ||
| char * | _sequence, | ||
| int | _palette ) |
Emit ASM code for GET IMAGE [image] AT [int],[int].
This function outputs a code that save an image from a bitmap.
| _environment | Current calling environment |
| _image | Image to draw |
| _x | Abscissa of the point to draw |
| _y | Ordinate of the point |
Definition at line 57 of file get_image.c.
| void get_image_overwrite_size | ( | Environment * | _environment, |
| char * | _image, | ||
| char * | _x1, | ||
| char * | _y1, | ||
| char * | _x2, | ||
| char * | _y2 ) |
Definition at line 15055 of file _infrastructure.c.
| Variable * get_paper | ( | Environment * | _environment, |
| char * | _color ) |
Emit code for the PAPER$(...).
| _environment | |
| _color |
Definition at line 48 of file text_get_paper.c.
| Variable * get_pen | ( | Environment * | _environment, |
| char * | _color ) |
Emit code for the PEN$(...).
| _environment | |
| _color |
Definition at line 78 of file text_get_pen.c.
| Variable * get_raster_line | ( | Environment * | _environment | ) |
Emit ASM code for RASTER LINE.
This function outputs a code that retrieve the current raster line.
| _environment | Current calling environment |
Definition at line 56 of file get_raster_line.c.
| Variable * get_tab | ( | Environment * | _environment | ) |
| char * get_temporary_filename | ( | Environment * | _environment | ) |
Definition at line 13672 of file _infrastructure.c.
| Variable * get_ticks_per_second | ( | Environment * | _environment | ) |
Emit code for TAB$.
| _environment | Current calling environment |
Definition at line 72 of file get_ticks_per_second.c.
| Variable * get_timer | ( | Environment * | _environment | ) |
| void global | ( | Environment * | _environment | ) |
| void gosub_label | ( | Environment * | _environment, |
| char * | _label ) |
Emit ASM code for GOSUB [label].
This function can be used to issue a code equivalent to a unconditional jump to an alphanumeric label, previously or subsequently defined, with the syntax of the labels, saving the calling address.
| _environment | Current calling environment |
| _label | Label where to jump to |
| void gosub_number | ( | Environment * | _environment, |
| int | _number ) |
Emit ASM code for GOSUB [number].
This function can be used to issue a code equivalent to a unconditional jump to a numeric label, previously or subsequently defined, with the syntax of the labels, saving the calling address.
| _environment | Current calling environment |
| _label | Label where to jump to |
| void goto_label | ( | Environment * | _environment, |
| char * | _label ) |
Emit ASM code for GOTO [label].
This function can be used to issue a code equivalent to the unconditional jump to an alphanumeric label, previously or subsequently defined, with the syntax of the labels.
| _environment | Current calling environment |
| _label | Label where to jump to |
| void goto_number | ( | Environment * | _environment, |
| int | _number ) |
Emit ASM code for GOTO [number].
This function can be used to issue a code equivalent to the unconditional jump to an alphanumeric label, previously or subsequently defined, with the syntax of the labels.
| _environment | Current calling environment |
| _label | Label where to jump to |
| void gprint | ( | Environment * | _environment, |
| char * | _atlas, | ||
| char * | _text, | ||
| char * | _x, | ||
| char * | _y ) |
| void gr_locate | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y ) |
| void graphic | ( | Environment * | _environment | ) |
Emit ASM implementation for GRAPHIC instruction.
This function is useful for quickly initializing the high resolution graphics mode. It is equivalent to running the following commands:
| _environment | Current calling environment |
| void halt | ( | Environment * | _environment | ) |
| void hires | ( | Environment * | _environment, |
| char * | _foreground, | ||
| char * | _background ) |
| Variable * hit_to | ( | Environment * | _environment, |
| int | _sprite ) |
Emit ASM code for = HIT([int]x).
This function can be used to issue code aimed at verifying if a sprite has had a collision with a tile. The result (0 = no collision, 0xff = collision occurred) is returned in the output variable. This function is used when a direct integer is used.
| _environment | Current calling environment |
| _sprite | Integer with the bitmask of the sprites |
| Variable * hit_to_vars | ( | Environment * | _environment, |
| char * | _sprite ) |
Emit ASM code for = HIT([expression]).
This function can be used to issue code aimed at verifying if a sprite has had a hit with another sprite. The result (0 = no collision, 0xff = collision occurred) is returned in the output variable. This function is used when an expression is used.
| _environment | Current calling environment |
| _sprite | Expression with the bitmask of the sprites |
| void home | ( | Environment * | _environment | ) |
| void if_then | ( | Environment * | _environment, |
| char * | _expression ) |
Emit ASM code for IF ... THEN ....
This function outputs the code to implement the conditional jump. This implementation assumes that an expression passed as a parameter is 0 (for false) and not zero (for true). In this case, if the expression is zero, it jumps directly to the statement following the corresponding ENDIF (or ELSE, if present). Otherwise, the following code will be executed (up to ENDIF). Since the compiler acts with a single pass, it is necessary to keep the information on the last used label. For this purpose, the label where it will jump will be inserted in the stack, so that it is defined at the moment when the ENDIF instruction will be examined.
| _environment | Current calling environment |
| _expression | Expression with the true / false condition |
| Variable * 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 41 of file image_converter.c.
| void image_converter_asserts | ( | Environment * | _environment, |
| int | _width, | ||
| int | _height, | ||
| int | _offset_x, | ||
| int | _offset_y, | ||
| int * | _frame_width, | ||
| int * | _frame_height, | ||
| int | _modulo_x, | ||
| int | _modulo_y ) |
Definition at line 12722 of file _infrastructure.c.
| void image_converter_asserts_free | ( | Environment * | _environment, |
| int | _width, | ||
| int | _height, | ||
| int | _offset_x, | ||
| int | _offset_y, | ||
| int * | _frame_width, | ||
| int * | _frame_height ) |
Definition at line 12762 of file _infrastructure.c.
| void image_converter_asserts_free_height | ( | Environment * | _environment, |
| int | _width, | ||
| int | _height, | ||
| int | _offset_x, | ||
| int | _offset_y, | ||
| int * | _frame_width, | ||
| int * | _frame_height, | ||
| int | _modulo_x ) |
Definition at line 12819 of file _infrastructure.c.
| void image_converter_asserts_free_width | ( | Environment * | _environment, |
| int | _width, | ||
| int | _height, | ||
| int | _offset_x, | ||
| int | _offset_y, | ||
| int * | _frame_width, | ||
| int * | _frame_height, | ||
| int | _modulo_y ) |
Definition at line 12783 of file _infrastructure.c.
| char * image_cut | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _x, | ||
| int | _y, | ||
| int | _width, | ||
| int | _height ) |
| ImageDescriptor * image_descriptor_create | ( | Environment * | _environment, |
| char * | _filename, | ||
| int | _flags ) |
Definition at line 42 of file image_descriptor_create.c.
| ImageDescriptor * image_descriptor_flip_x | ( | Environment * | _environment, |
| ImageDescriptor * | _source ) |
Definition at line 41 of file image_descriptor_flip_x.c.
| ImageDescriptor * image_descriptor_flip_y | ( | Environment * | _environment, |
| ImageDescriptor * | _source ) |
Definition at line 41 of file image_descriptor_flip_y.c.
| ImageDescriptor * image_descriptor_roll_x_left | ( | Environment * | _environment, |
| ImageDescriptor * | _source ) |
Definition at line 41 of file image_descriptor_roll_x_left.c.
| ImageDescriptor * image_descriptor_roll_x_right | ( | Environment * | _environment, |
| ImageDescriptor * | _source ) |
Definition at line 41 of file image_descriptor_roll_x_right.c.
| ImageDescriptor * image_descriptor_roll_y_down | ( | Environment * | _environment, |
| ImageDescriptor * | _source ) |
Definition at line 41 of file image_descriptor_roll_y_down.c.
| char * image_enlarge_bottom | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _width, | ||
| int | _height, | ||
| int | _delta ) |
Definition at line 13465 of file _infrastructure.c.
| char * image_enlarge_right | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _width, | ||
| int | _height, | ||
| int | _delta ) |
Definition at line 13436 of file _infrastructure.c.
| Variable * image_extract | ( | Environment * | _environment, |
| char * | _images, | ||
| int | _frame, | ||
| int * | _sequence ) |
Emit code for IMAGE(... FRAME ... STRIP ...).
| _environment | Current calling environment |
| _image | IMAGES/SEQUENCE variable datatype |
| _frame | Frame to extract |
| _sequence | Sequence to extract, NULL if IMAGES |
Definition at line 78 of file image_extract.c.
| char * image_extract_subimage | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _width, | ||
| int | _height, | ||
| int | _frame_width, | ||
| int | _frame_height, | ||
| int | _x, | ||
| int | _y, | ||
| int | _depth ) |
Definition at line 13478 of file _infrastructure.c.
| char * image_flip_x | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _width, | ||
| int | _height, | ||
| int | _depth ) |
Definition at line 13205 of file _infrastructure.c.
| char * image_flip_y | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _width, | ||
| int | _height, | ||
| int | _depth ) |
Definition at line 13253 of file _infrastructure.c.
| Variable * image_get_height | ( | Environment * | _environment, |
| char * | _image ) |
Emit code for IMAGE HEIGHT(...).
| _environment | Current calling environment |
| _image | Image to measure. |
| _environment | Current calling environment |
| Image | to measure. |
Definition at line 48 of file image_get_height.c.
| Variable * image_get_width | ( | Environment * | _environment, |
| char * | _image ) |
Emit code for IMAGE WIDTH(...).
| _environment | Current calling environment |
| _image | Image to measure. |
Emit code for IMAGE WIDTH(...).
| _environment | Current calling environment |
| Image | to measure. |
Definition at line 48 of file image_get_width.c.
| Variable * image_load | ( | Environment * | _environment, |
| char * | _filename, | ||
| char * | _alias, | ||
| int | _mode, | ||
| int | _flags, | ||
| int | _transparent_color, | ||
| int | _background_color, | ||
| int | _bank_expansion ) |
Emit code for LOAD IMAGE(...).
| _environment | Current calling environment |
| _filename | Filename to read into buffer |
| _mode | Mode to use to convert data |
Definition at line 200 of file image_load.c.
| Variable * image_load_from_buffer | ( | Environment * | _environment, |
| char * | _buffer, | ||
| int | _buffer_size ) |
Emit code for (IMAGE)#[...].
| _environment | Current calling environment |
| _filename | Filename to read into buffer |
| _mode | Mode to use to convert data |
Definition at line 50 of file image_load_from_buffer.c.
| Variable * image_ref | ( | Environment * | _environment, |
| char * | _image ) |
Definition at line 43 of file image_ref.c.
| char * image_roll_x_left | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _width, | ||
| int | _height ) |
Definition at line 13346 of file _infrastructure.c.
| char * image_roll_x_right | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _width, | ||
| int | _height ) |
Definition at line 13301 of file _infrastructure.c.
| char * image_roll_y_down | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _width, | ||
| int | _height ) |
Definition at line 13391 of file _infrastructure.c.
| int image_size | ( | Environment * | _environment, |
| int | _width, | ||
| int | _height ) |
Definition at line 41 of file image_size.c.
| Variable * image_storage | ( | Environment * | _environment, |
| char * | _source_name, | ||
| char * | _target_name, | ||
| int | _mode, | ||
| int | _flags, | ||
| int | _transparent_color, | ||
| int | _background_color, | ||
| int | _bank_expansion ) |
Emit code for IMAGE ... AS ....
| _environment | Current calling environment |
| _name | Name of the storage |
Definition at line 76 of file image_storage.c.
| Variable * images_load | ( | Environment * | _environment, |
| char * | _filename, | ||
| char * | _alias, | ||
| int | _mode, | ||
| int | _frame_width, | ||
| int | _frame_height, | ||
| int | _flags, | ||
| int | _transparent_color, | ||
| int | _background_color, | ||
| int | _bank_expansion, | ||
| int | _origin_x, | ||
| int | _origin_y, | ||
| int | _offset_x, | ||
| int | _offset_y ) |
Emit code for LOAD IMAGE(...).
| _environment | Current calling environment |
| _filename | Filename to read into buffer |
| _mode | Mode to use to convert data |
Definition at line 256 of file images_load.c.
| Variable * images_load_from_buffer | ( | Environment * | _environment, |
| char * | _buffer, | ||
| int | _buffer_size ) |
Emit code for (IMAGES)#[...].
| _environment | Current calling environment |
| _filename | Filename to read into buffer |
| _mode | Mode to use to convert data |
Definition at line 48 of file images_load_from_buffer.c.
| Variable * images_storage | ( | Environment * | _environment, |
| char * | _source_name, | ||
| char * | _target_name, | ||
| int | _mode, | ||
| int | _frame_width, | ||
| int | _frame_height, | ||
| int | _flags, | ||
| int | _transparent_color, | ||
| int | _background_color, | ||
| int | _bank_expansion, | ||
| int | _origin_x, | ||
| int | _origin_y, | ||
| int | _offset_x, | ||
| int | _offset_y ) |
Emit code for IMAGE ... AS ....
| _environment | Current calling environment |
| _name | Name of the storage |
Definition at line 76 of file images_storage.c.
| char * import_file_name | ( | char * | _import_path | ) |
Definition at line 17204 of file _infrastructure.c.
| Variable * in_var | ( | Environment * | _environment, |
| char * | _port ) |
| void ink | ( | Environment * | _environment, |
| char * | _color ) |
| void inkb | ( | Environment * | _environment, |
| char * | _value, | ||
| char * | _color1, | ||
| char * | _color2 ) |
| Variable * inkey | ( | Environment * | _environment | ) |
| void input | ( | Environment * | _environment, |
| char * | _variable, | ||
| VariableType | _default_type ) |
| Variable * input_string | ( | Environment * | _environment, |
| char * | _size ) |
Definition at line 43 of file input_string.c.
| void insert | ( | Environment * | _environment, |
| char * | _string, | ||
| char * | _x, | ||
| char * | _y, | ||
| char * | _w, | ||
| char * | _h, | ||
| char * | _color ) |
| void instrument | ( | Environment * | _environment, |
| int | _instrument, | ||
| int | _channels ) |
Emit ASM code for INSTRUMENT ....
This function emits a code capable of change the instrument for one or more voices.
| _environment | Current calling environment |
| _instrument | instrument to use |
| _channels | channels to play on |
Definition at line 51 of file instrument.c.
| void instrument_semi_var | ( | Environment * | _environment, |
| int | _instrument, | ||
| char * | _channels ) |
Emit ASM code for INSTRUMENT ....
This function emits a code capable of change the instrument for one or more voices.
| _environment | Current calling environment |
| _instrument | instrument to use |
| _channels | channels to play on |
Definition at line 69 of file instrument.c.
| void interleaved_instructions | ( | Environment * | _environment | ) |
| int is_do_loop | ( | Environment * | _environment | ) |
Emit ASM code for ... LOOP.
This function outputs the code to implement the end of loop, by defining the last point of the loop.
| _environment | Current calling environment |
Definition at line 49 of file is_do_loop.c.
| Variable * jfire | ( | Environment * | _environment, |
| int | _port ) |
| Variable * jfire_vars | ( | Environment * | _environment, |
| char * | _port ) |
| void jmove | ( | Environment * | _environment, |
| char * | _port, | ||
| char * | _x, | ||
| char * | _y, | ||
| char * | _minx, | ||
| char * | _maxx, | ||
| char * | _miny, | ||
| char * | _maxy, | ||
| char * | _xstep, | ||
| char * | _ystep ) |
| Variable * joy | ( | Environment * | _environment, |
| int | _port ) |
| Variable * joy_direction | ( | Environment * | _environment, |
| int | _port, | ||
| int | _direction ) |
Definition at line 41 of file joy_direction.c.
| Variable * joy_direction_semivars | ( | Environment * | _environment, |
| char * | _port, | ||
| int | _direction ) |
Definition at line 59 of file joy_direction.c.
| Variable * joy_vars | ( | Environment * | _environment, |
| char * | _port ) |
| Variable * joydir | ( | Environment * | _environment, |
| int | _port ) |
| Variable * joydir_semivars | ( | Environment * | _environment, |
| char * | _port ) |
| Variable * joyx | ( | Environment * | _environment, |
| int | _port ) |
Definition at line 52 of file joy_analog.c.
| Variable * joyx_vars | ( | Environment * | _environment, |
| char * | _port ) |
Definition at line 41 of file joy_analog.c.
| Variable * joyy | ( | Environment * | _environment, |
| int | _port ) |
Definition at line 73 of file joy_analog.c.
| Variable * joyy_vars | ( | Environment * | _environment, |
| char * | _port ) |
Definition at line 62 of file joy_analog.c.
| int key_constant | ( | Environment * | _environment, |
| int | _key ) |
Definition at line 51 of file key_constant.c.
| Variable * key_pressed | ( | Environment * | _environment, |
| int | _scancode ) |
Definition at line 43 of file key_pressed.c.
| Variable * key_pressed_var | ( | Environment * | _environment, |
| char * | _scancode ) |
Definition at line 55 of file key_pressed.c.
| Variable * key_state | ( | Environment * | _environment, |
| int | _scancode ) |
Definition at line 43 of file key_state.c.
| Variable * key_state_var | ( | Environment * | _environment, |
| char * | _scancode ) |
Definition at line 56 of file key_state.c.
| Variable * keyshift | ( | Environment * | _environment | ) |
Definition at line 43 of file keyshift.c.
| void kill_procedure | ( | Environment * | _environment, |
| char * | _handle ) |
| void label_define_named | ( | Environment * | _environment, |
| char * | _label ) |
Definition at line 11739 of file _infrastructure.c.
| void label_define_numeric | ( | Environment * | _environment, |
| int | _label ) |
Definition at line 11718 of file _infrastructure.c.
| int label_exists_named | ( | Environment * | _environment, |
| char * | _label ) |
Definition at line 11705 of file _infrastructure.c.
| int label_exists_numeric | ( | Environment * | _environment, |
| int | _label ) |
Definition at line 11692 of file _infrastructure.c.
| void label_referred_define_named | ( | Environment * | _environment, |
| char * | _label ) |
Definition at line 11807 of file _infrastructure.c.
| void label_referred_define_numeric | ( | Environment * | _environment, |
| int | _label ) |
Definition at line 11786 of file _infrastructure.c.
| int label_referred_exists_named | ( | Environment * | _environment, |
| char * | _label ) |
Definition at line 11773 of file _infrastructure.c.
| int label_referred_exists_numeric | ( | Environment * | _environment, |
| int | _label ) |
Definition at line 11760 of file _infrastructure.c.
| void label_stored_define_named | ( | Environment * | _environment, |
| char * | _label ) |
Definition at line 11841 of file _infrastructure.c.
| int label_stored_exists_named | ( | Environment * | _environment, |
| char * | _label ) |
Definition at line 11828 of file _infrastructure.c.
| void lbottom | ( | Environment * | _environment | ) |
| void leftb | ( | Environment * | _environment, |
| char * | _line, | ||
| char * | _column, | ||
| char * | _width, | ||
| char * | _height ) |
| void leftw | ( | Environment * | _environment, |
| char * | _line, | ||
| char * | _column, | ||
| char * | _width, | ||
| char * | _height ) |
| void linker_cleanup | ( | Environment * | _environment | ) |
| void linker_setup | ( | Environment * | _environment | ) |
| Variable * load | ( | Environment * | _environment, |
| char * | _filename, | ||
| char * | _alias, | ||
| int | _at, | ||
| int | _bank_expansion, | ||
| int | _flags ) |
| void locate | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y ) |
| void loop | ( | Environment * | _environment, |
| char * | _label ) |
| RGBi * malloc_palette | ( | int | _size | ) |
Allocate a palette space.
| _size | Size of palette, in entries |
Definition at line 13962 of file _infrastructure.c.
| float max_of_three | ( | float | _m, |
| float | _n, | ||
| float | _p ) |
Definition at line 13660 of file _infrastructure.c.
| float max_of_two | ( | float | _x, |
| float | _y ) |
Definition at line 13656 of file _infrastructure.c.
| Variable * maximum | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
| void memclr | ( | Environment * | _environment, |
| char * | _address, | ||
| char * | _size, | ||
| char * | _value ) |
| void memcont | ( | Environment * | _environment, |
| char * | _param ) |
| void memdef | ( | Environment * | _environment, |
| char * | _size, | ||
| char * | _address, | ||
| char * | _eaddress, | ||
| char * | _bank ) |
| void memlen | ( | Environment * | _environment, |
| char * | _size ) |
| void memload | ( | Environment * | _environment | ) |
| void memor | ( | Environment * | _environment, |
| char * | _address, | ||
| char * | _eaddress, | ||
| char * | _bank ) |
| void memorize | ( | Environment * | _environment | ) |
Definition at line 67 of file memorize.c.
| void memory_area_assign | ( | MemoryArea * | _first, |
| Variable * | _variable ) |
Definition at line 189 of file _infrastructure.c.
| void memory_area_unassign | ( | MemoryArea * | _first, |
| Variable * | _variable ) |
Definition at line 225 of file _infrastructure.c.
| void mempos | ( | Environment * | _environment, |
| char * | _address, | ||
| char * | _bank ) |
| void memrestore | ( | Environment * | _environment, |
| char * | _param ) |
Definition at line 78 of file memrestore.c.
| void memsave | ( | Environment * | _environment | ) |
| float min_of_three | ( | float | _m, |
| float | _n, | ||
| float | _p ) |
Definition at line 13668 of file _infrastructure.c.
| float min_of_two | ( | float | _x, |
| float | _y ) |
Definition at line 13664 of file _infrastructure.c.
| Variable * minimum | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
| void mmob | ( | Environment * | _environment, |
| char * | _sprite, | ||
| char * | _sx, | ||
| char * | _sy, | ||
| char * | _zx, | ||
| char * | _zy, | ||
| char * | _gr, | ||
| char * | _sp ) |
| void mmove_memory_memory | ( | Environment * | _environment, |
| char * | _from, | ||
| char * | _to, | ||
| char * | _size ) |
Emit ASM code for MMOVE [expr] TO [expr] SIZE [expr].
This function outputs a code that move a tile on a tilemap.
| _environment | Current calling environment |
| _from | Source address to move from |
| _to | Destination address to move to |
| _size | Size of the memory to move |
| void mmove_memory_video | ( | Environment * | _environment, |
| char * | _from, | ||
| char * | _to, | ||
| char * | _size ) |
Emit ASM code for MMOVE {VIDEO} [expr] TO {VIDEO} [expr] SIZE [expr].
This function outputs a code that move a tile on a tilemap.
| _environment | Current calling environment |
| _from | Source address to move from |
| _to | Destination address to move to |
| _size | Size of the memory to move |
| void mmove_video_memory | ( | Environment * | _environment, |
| char * | _from, | ||
| char * | _to, | ||
| char * | _size ) |
Emit ASM code for MMOVE {VIDEO} [expr] TO {VIDEO} [expr] SIZE [expr].
This function outputs a code that move a tile on a tilemap.
| _environment | Current calling environment |
| _from | Source address to move from |
| _to | Destination address to move to |
| _size | Size of the memory to move |
| void move | ( | Environment * | _environment, |
| char * | _prefix, | ||
| char * | _movement, | ||
| char * | _x, | ||
| char * | _y, | ||
| char * | _animation ) |
| void move_tile | ( | Environment * | _environment, |
| char * | _tile, | ||
| char * | _x, | ||
| char * | _y ) |
Emit ASM code for MOVE TILE [image] AT [int],[int].
This function outputs a code that move a tile on a tilemap.
| _environment | Current calling environment |
| _image | Image to draw |
| _x | Abscissa of the point to draw |
| _y | Ordinate of the point |
Definition at line 53 of file move_tile.c.
| void movement | ( | Environment * | _environment, |
| char * | _identifier, | ||
| char * | _atlas, | ||
| char * | _prefix ) |
Emit code for MOVEMENT ....
| _environment | Current calling environment |
| _name | Name of the procedure |
Definition at line 123 of file movement.c.
| Variable * moving | ( | Environment * | _environment, |
| char * | _prefix, | ||
| char * | _movement ) |
| Variable * msprite_duplicate | ( | Environment * | _environment, |
| char * | _original ) |
Emit code for SPRITE(...).
| _environment | Current calling environment |
| _image | image to use as SPRITE |
Definition at line 49 of file msprite_duplicate.c.
| Variable * msprite_init | ( | Environment * | _environment, |
| char * | _image, | ||
| char * | _sprite, | ||
| int | _flags ) |
Emit code for SPRITE(...).
| _environment | Current calling environment |
| _image | image to use as SPRITE |
Definition at line 47 of file msprite_init.c.
| void msprite_update | ( | Environment * | _environment | ) |
Emit code for SPRITE(...).
| _environment | Current calling environment |
| _image | image to use as SPRITE |
Definition at line 47 of file msprite_update.c.
| Variable * music_load | ( | Environment * | _environment, |
| char * | _filename, | ||
| char * | _alias, | ||
| int | _bank_expansion ) |
Emit code for LOAD MUSIC(...).
| _environment | Current calling environment |
| _filename | Filename to read into buffer |
Definition at line 71 of file music_load.c.
| Variable * music_load_to_variable | ( | Environment * | _environment, |
| char * | _filename, | ||
| char * | _alias, | ||
| int | _bank_expansion ) |
| void music_pause | ( | Environment * | _environment | ) |
| void music_resume | ( | Environment * | _environment | ) |
| void music_seek_var | ( | Environment * | _environment, |
| char * | _position ) |
| void music_stop | ( | Environment * | _environment | ) |
| Variable * music_storage | ( | Environment * | _environment, |
| char * | _source_name, | ||
| char * | _target_name, | ||
| int | _bank_expansion ) |
Emit code for LOAD MUSIC(...).
| _environment | Current calling environment |
| _filename | Filename to read into buffer |
Definition at line 71 of file music_storage.c.
| void music_var | ( | Environment * | _environment, |
| char * | _music, | ||
| int | _loop, | ||
| int | _music_type ) |
Emit ASM code for MUSIC ....
This function emits a code capable of play a music.
| _environment | Current calling environment |
| _music | music to play |
This function emits a code capable of play a music.
| _environment | Current calling environment |
| _music | music to play |
Emit ASM code for MUSIC ...
This function emits a code capable of play a music.
| _environment | Current calling environment |
| _music | music to play |
| Variable * new_image | ( | Environment * | _environment, |
| int | _width, | ||
| int | _height, | ||
| int | _mode ) |
Emit code for NEW IMAGE(...).
| _environment | Current calling environment |
| _width | Width of the image, in pixel |
| _height | Heigth of the image, in pixel |
| _mode | Mode to use |
Definition at line 49 of file new_image.c.
| Variable * new_images | ( | Environment * | _environment, |
| int | _frames, | ||
| int | _width, | ||
| int | _height, | ||
| int | _mode ) |
Emit code for NEW IMAGE(...).
| _environment | Current calling environment |
| _width | Width of the image, in pixel |
| _height | Heigth of the image, in pixel |
| _mode | Mode to use |
Definition at line 49 of file new_images.c.
| Variable * new_music | ( | Environment * | _environment, |
| int | _size ) |
Emit code for NEW IMAGE(...).
| _environment | Current calling environment |
| _width | Width of the image, in pixel |
| _height | Heigth of the image, in pixel |
| _mode | Mode to use |
Definition at line 67 of file new_music.c.
| Variable * new_sequence | ( | Environment * | _environment, |
| int | _sequences, | ||
| int | _frames, | ||
| int | _width, | ||
| int | _height, | ||
| int | _mode ) |
Emit code for NEW SEQUENCE(...).
| _environment | Current calling environment |
| _width | Width of the image, in pixel |
| _height | Heigth of the image, in pixel |
| _mode | Mode to use |
Definition at line 49 of file new_sequence.c.
| void next_animation | ( | Environment * | _environment, |
| char * | _prefix ) |
Emit code for KILL ....
| _environment | Current calling environment |
| _handle | Identifier of the thread |
Definition at line 66 of file next_animation.c.
| void next_raster | ( | Environment * | _environment | ) |
Emit ASM code for NEXT RASTER.
This function outputs assembly code needed to wait for the next raster. Meanwhile, the execution of the main code will resume where it left off.
| _environment | Current calling environment |
Definition at line 50 of file next_raster.c.
| void next_raster_at_with | ( | Environment * | _environment, |
| int | _position, | ||
| char * | _label ) |
Emit ASM code for NEXT RASTER AT [int] WITH [label].
This function outputs a code that puts the raster routine on hold for the vertical raster to arrive at a new _position with the execution of a different code from the previous one. This function is particularly useful when the position is communicated is given as an integer.
| _environment | Current calling environment |
| _label | Label to jump to when vertical raster reach the value given |
| _position | The vertical position to wait for |
Emit ASM code for NEXT RASTER AT [int] WITH [label].
This function outputs a code that puts the raster routine on hold for the vertical raster to arrive at a new _position with the execution of a different code from the previous one. This function is particularly useful when the position is communicated is given as an integer.
| _environment | Current calling environment |
| _label | Label to jump to when vertical raster reach the value given |
| _position | The vertical position to wait for |
Definition at line 53 of file next_raster_at.c.
| void next_raster_at_with_var | ( | Environment * | _environment, |
| char * | _position, | ||
| char * | _label ) |
Emit ASM code for NEXT RASTER AT [expresssion] WITH label.
This function outputs a code that puts the raster routine on hold for the vertical raster to arrive at a new _position with the execution of a different code from the previous one. This function is particularly useful when the position is communicated is given as an expression.
| _environment | Current calling environment |
| _label | Label to jump to when vertical raster reach the value given |
| _position | The vertical position to wait for |
Definition at line 69 of file next_raster_at.c.
| void offsetting_add_variable_reference | ( | Environment * | _environment, |
| Offsetting * | _first, | ||
| Variable * | _var, | ||
| int | _sequence ) |
Definition at line 455 of file _infrastructure.c.
| Offsetting * offsetting_size_count | ( | Environment * | _environment, |
| int | _size, | ||
| int | _count ) |
Definition at line 397 of file _infrastructure.c.
| void on_gosub | ( | Environment * | _environment, |
| char * | _expression ) |
Emit ASM code for ON ... GOSUB ....
This function outputs the code to implement the unconditional jump with returning, calculated by expression.
| _environment | Current calling environment |
| _expression | Expression with the true / false condition |
Definition at line 79 of file on_gosub.c.
| void on_gosub_end | ( | Environment * | _environment | ) |
Emit ASM code for ... (of ON ... GOSUB ...).
This function outputs the code to implement the end of unconditional jump (with returning) by expression.
| _environment | Current calling environment |
Definition at line 177 of file on_gosub.c.
| void on_gosub_index | ( | Environment * | _environment, |
| char * | _label ) |
Emit ASM code for ... (of ON ... GOSUB ...).
This function outputs the code to implement any specific indexed jump with returning on forced jumps by expression.
| _environment | Current calling environment |
| _label | Label to jump to |
Definition at line 107 of file on_gosub.c.
| void on_gosub_number | ( | Environment * | _environment, |
| int | _number ) |
Emit ASM code for ... (of ON ... GOSUB ...).
This function outputs the code to implement any specific indexed jump with returning on forced jumps by expression.
| _environment | Current calling environment |
| _label | Line number to jump to |
Definition at line 158 of file on_gosub.c.
| void on_goto | ( | Environment * | _environment, |
| char * | _expression ) |
| void on_goto_end | ( | Environment * | _environment | ) |
| void on_goto_index | ( | Environment * | _environment, |
| char * | _label ) |
| void on_goto_number | ( | Environment * | _environment, |
| int | _number ) |
| void on_proc | ( | Environment * | _environment, |
| char * | _expression ) |
| void on_proc_end | ( | Environment * | _environment | ) |
| void on_proc_index | ( | Environment * | _environment, |
| char * | _label ) |
| void on_scroll_call | ( | Environment * | _environment, |
| int | _x, | ||
| int | _y, | ||
| char * | _label ) |
Emit ASM code for ON SCROLL ... CALL ....
This function outputs the code to implement the unconditional jump with returning, calculated by expression.
| _environment | Current calling environment |
| _expression | Expression with the true / false condition |
Definition at line 75 of file on_scroll_call.c.
| void on_scroll_gosub | ( | Environment * | _environment, |
| int | _x, | ||
| int | _y, | ||
| char * | _label ) |
Emit ASM code for ON ... GOSUB ....
This function outputs the code to implement the unconditional jump with returning, calculated by expression.
| _environment | Current calling environment |
| _expression | Expression with the true / false condition |
Definition at line 71 of file on_scroll_gosub.c.
| void option_dialect | ( | Environment * | _environment, |
| Dialect | _dialect ) |
Definition at line 41 of file option_dialect.c.
| Variable * origin_resolution_relative_transform_x | ( | Environment * | _environment, |
| char * | _x, | ||
| int | _is_relative ) |
Definition at line 14332 of file _infrastructure.c.
| Variable * origin_resolution_relative_transform_y | ( | Environment * | _environment, |
| char * | _y, | ||
| int | _is_relative ) |
Definition at line 14401 of file _infrastructure.c.
| void out_var | ( | Environment * | _environment, |
| char * | _port, | ||
| char * | _value ) |
| void paint_vars | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y, | ||
| char * | _c, | ||
| char * | _b ) |
| int palette_extract | ( | Environment * | _environment, |
| char * | _data, | ||
| int | _width, | ||
| int | _height, | ||
| int | _depth, | ||
| int | _flags, | ||
| RGBi * | _palette ) |
Definition at line 41 of file palette_extract.c.
Make a "palette match".
| _source | Source palette to match |
| _source_size | Size of the source palette |
| _system | System palette to use as reference |
| _system_size | Size of the reference palette |
Definition at line 13981 of file _infrastructure.c.
| RGBi * palette_match_hardware_index | ( | RGBi * | _source, |
| int | _source_size, | ||
| RGBi * | _system, | ||
| int | _system_size ) |
Definition at line 14015 of file _infrastructure.c.
| RGBi * palette_merge | ( | RGBi * | _palette1, |
| int | _palette1_size, | ||
| RGBi * | _palette2, | ||
| int | _palette2_size, | ||
| int * | _size ) |
Make a "palette merge".
| _palette1 | First palette to merge |
| _palette1_size | Size of the first palette to merge |
| _palette2 | Second palette to merge |
| _palette2_size | Size of the second palette to merge |
| _size | Size of the merged palette |
Definition at line 14216 of file _infrastructure.c.
Promote an index color in a palette.
| _index | Source palette index |
| _source | Source palette to check |
| _source_size | Size of the source palette |
| _unique_size | Size of the unique palette |
Definition at line 14105 of file _infrastructure.c.
| RGBi * palette_promote_color_as_foreground | ( | int | _index, |
| RGBi * | _source, | ||
| int | _source_size, | ||
| int | _max_size ) |
Promote an index color in a palette.
| _index | Source palette index |
| _source | Source palette to check |
| _source_size | Size of the source palette |
| _unique_size | Size of the unique palette |
Definition at line 14141 of file _infrastructure.c.
Remove duplicates from a palette.
| _source | Source palette to check |
| _source_size | Size of the source palette |
| _unique_size | Size of the unique palette |
Definition at line 14052 of file _infrastructure.c.
Shift colors in palette.
| _source | Source palette to shift |
| _source_size | Size of the source palette |
| _offset | Offset to shift (> 0 to right, < 0 to left) |
Definition at line 14183 of file _infrastructure.c.
| void paper | ( | Environment * | _environment, |
| char * | _color ) |
| Variable * param_procedure | ( | Environment * | _environment, |
| char * | _name ) |
Emit code for PARAM(...).
| _environment | Current calling environment |
| _name | Name of the procedure |
| char * parse_buffer | ( | Environment * | _environment, |
| char * | _buffer, | ||
| int * | _size, | ||
| int | _hex_only ) |
Definition at line 13168 of file _infrastructure.c.
| Variable * parse_buffer_definition | ( | Environment * | _environment, |
| char * | _buffer, | ||
| VariableType | _type, | ||
| int | _hex_only ) |
Definition at line 13194 of file _infrastructure.c.
| Variable * parser_adapted_numeric | ( | Environment * | _environment, |
| int | _number ) |
Definition at line 14874 of file _infrastructure.c.
| void parser_array_cleanup | ( | Environment * | _environment | ) |
Definition at line 14785 of file _infrastructure.c.
| void parser_array_index_numeric | ( | Environment * | _environment, |
| int | _index ) |
Definition at line 14799 of file _infrastructure.c.
| void parser_array_index_symbolic | ( | Environment * | _environment, |
| char * | _index ) |
Definition at line 14791 of file _infrastructure.c.
| void parser_array_init | ( | Environment * | _environment | ) |
Definition at line 14767 of file _infrastructure.c.
| void parser_array_init_by | ( | Environment * | _environment, |
| ArrayReference * | _array_reference ) |
Definition at line 14776 of file _infrastructure.c.
| ArrayReference * parser_array_retrieve | ( | Environment * | _environment | ) |
Definition at line 14755 of file _infrastructure.c.
| Variable * parser_casted_numeric | ( | Environment * | _environment, |
| VariableType | _type, | ||
| int | _number ) |
Definition at line 14889 of file _infrastructure.c.
| int pattern_match | ( | char * | _pattern, |
| char * | _value ) |
Definition at line 11100 of file _infrastructure.c.
| void pause_seconds | ( | Environment * | _environment, |
| char * | _string, | ||
| char * | _duration ) |
| Variable * peek_var | ( | Environment * | _environment, |
| char * | _location ) |
Emit ASM code for PEEK(...).
This function outputs valid code to retrieve a byte from memory, and returns it as a temporary variable. This version is valid for use where the location to be read is an expression
| _environment | Current calling environment |
| _location | Expression with the location to read from. |
| Variable * peekd_var | ( | Environment * | _environment, |
| char * | _location ) |
| Variable * peekw_var | ( | Environment * | _environment, |
| char * | _location ) |
| void pen | ( | Environment * | _environment, |
| char * | _color ) |
| void play | ( | Environment * | _environment, |
| int | _note, | ||
| int | _delay, | ||
| int | _channels ) |
| void play_off | ( | Environment * | _environment, |
| int | _channels ) |
Emit ASM code for PLAY OFF.
This function emits a code capable of stop play on specific channels
| _environment | Current calling environment |
| _channels | channels to play off |
Definition at line 54 of file play_off.c.
| void play_off_var | ( | Environment * | _environment, |
| char * | _channels ) |
Emit ASM code for PLAY OFF ....
This function emits a code capable of stop play on specific channels.
| _environment | Current calling environment |
| _channels | channels to play on |
Definition at line 68 of file play_off.c.
| void play_string | ( | Environment * | _environment, |
| char * | _string ) |
Definition at line 77 of file play_string.c.
| void play_vars | ( | Environment * | _environment, |
| char * | _note, | ||
| char * | _delay, | ||
| char * | _channels ) |
| void plot | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y, | ||
| char * | _c, | ||
| int | _preserve_color ) |
| void pmode | ( | Environment * | _environment, |
| int | _mode, | ||
| int | _start_page ) |
Definition at line 100 of file _optimizer.c.
Definition at line 83 of file _optimizer.c.
Definition at line 152 of file _optimizer.c.
Definition at line 94 of file _optimizer.c.
Definition at line 49 of file _optimizer.c.
Definition at line 138 of file _optimizer.c.
| int po_buf_is_hex | ( | POBuffer | _s | ) |
Definition at line 323 of file _optimizer.c.
Definition at line 271 of file _optimizer.c.
| POBuffer po_buf_new | ( | int | size | ) |
Definition at line 62 of file _optimizer.c.
Definition at line 129 of file _optimizer.c.
Definition at line 251 of file _optimizer.c.
| int po_buf_trim | ( | POBuffer | buf | ) |
Definition at line 157 of file _optimizer.c.
Definition at line 111 of file _optimizer.c.
| POVariable * po_var_find | ( | char * | _name | ) |
Definition at line 349 of file _optimizer.c.
| void po_var_init | ( | ) |
Definition at line 336 of file _optimizer.c.
| POVariable * po_var_lookup | ( | char * | _name | ) |
Definition at line 360 of file _optimizer.c.
| POVariable * po_var_register | ( | char * | _name | ) |
Definition at line 340 of file _optimizer.c.
| Variable * point | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y ) |
Emit code for POINT(...).
Emit code to get the color at a given point.
| _environment | Current calling environment |
| _x | Abscissa of the pixel. |
| _y | Coordinate of the pixel. |
| void point_at | ( | Environment * | _environment, |
| int | _x, | ||
| int | _y ) |
Emit ASM code for POINT AT ([int],[int]).
This function outputs a code that draws a pixel on the screen in bitmap mode on coordinates given explicitly and directly as integers.
| _environment | Current calling environment |
| _x | Abscissa of the point to draw |
| _y | Ordinate of the point |
| EXIT_FAILURE | "CRITICAL: POINT AT (xxx,xxx) needs BITMAP ENABLE" |
Emit ASM code for POINT AT ([int],[int]).
This function outputs a code that draws a pixel on the screen in bitmap mode on coordinates given explicitly and directly as integers. To do this, it calculates both the position in memory where it will draw and the offset within the byte, storing this information in the following special variables:
| _environment | Current calling environment |
| _x | Abscissa of the point to draw |
| _y | Ordinate of the point |
| EXIT_FAILURE | "CRITICAL: POINT AT (xxx,xxx) needs BITMAP ENABLE" |
Definition at line 54 of file point_at.c.
| void point_at_vars | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y ) |
Emit ASM code for POINT AT ([int]x,[int]x).
This function outputs a code that draws a pixel on the screen in bitmap mode on coordinates given explicitly and directly as integers. To do this, it calculates both the position in memory where it will draw and the offset within the byte, storing this information in the following special variables:
| _environment | Current calling environment |
| _x | Expression with the abscissa of the point to draw |
| _y | Expression with the ordinate of the point |
| EXIT_FAILURE | "CRITICAL: POINT AT (xxx,xxx) needs BITMAP ENABLE" |
Definition at line 80 of file point_at.c.
| void poke_var | ( | Environment * | _environment, |
| char * | _address, | ||
| char * | _value ) |
| void poked_var | ( | Environment * | _environment, |
| char * | _address, | ||
| char * | _value ) |
| void pokew_var | ( | Environment * | _environment, |
| char * | _address, | ||
| char * | _value ) |
| void pop | ( | Environment * | _environment | ) |
| Variable * powering | ( | Environment * | _environment, |
| char * | _base, | ||
| char * | _exponential ) |
Emit code to raise a variable to a given variable.
This function allows you to emit a code that raise a variable to a given variable.
| _environment | Current calling environment |
| _base | Base variable's name |
| _exponential | Exponential variable's name |
| TileDescriptors * precalculate_tile_descriptors_for_font | ( | char * | _fontData, |
| int | _fontSize ) |
Definition at line 13073 of file _infrastructure.c.
| void prepare_variable_storage | ( | Environment * | _environment, |
| char * | _name, | ||
| Variable * | _variable ) |
Definition at line 15218 of file _infrastructure.c.
| void print | ( | Environment * | _environment, |
| char * | _value, | ||
| int | _new_line, | ||
| int | _raw ) |
| void print_buffer | ( | Environment * | _environment, |
| char * | _value, | ||
| int | _new_line, | ||
| int | _printable ) |
Emit code for PRINT... instruction.
| _environment | Current calling environment |
| _value | Value to print |
| _new_line | 1 if a new line must be added at the end |
Definition at line 123 of file print_buffer.c.
| void print_newline | ( | Environment * | _environment | ) |
| void print_question_mark | ( | Environment * | _environment | ) |
| void print_tab | ( | Environment * | _environment, |
| int | _new_line ) |
| void proc | ( | Environment * | _environment, |
| char * | _label ) |
| int procedure_exists | ( | Environment * | _environment, |
| char * | _name ) |
Definition at line 15841 of file _infrastructure.c.
| void put_image | ( | Environment * | _environment, |
| char * | _image, | ||
| char * | _x1, | ||
| char * | _y1, | ||
| char * | _x2, | ||
| char * | _y2, | ||
| char * | _frame, | ||
| char * | _sequence, | ||
| int | _flags ) |
Emit ASM code for PUT IMAGE [image] AT [int],[int].
This function outputs a code that draws an image on a bitmap.
| _environment | Current calling environment |
| _image | Image to draw |
| _x | Abscissa of the point to draw |
| _y | Ordinate of the point |
Definition at line 53 of file put_image.c.
| void put_image_vars | ( | Environment * | _environment, |
| char * | _image, | ||
| char * | _x1, | ||
| char * | _y1, | ||
| char * | _x2, | ||
| char * | _y2, | ||
| char * | _frame, | ||
| char * | _sequence, | ||
| char * | _flags ) |
Emit ASM code for PUT IMAGE [image] AT [int],[int].
This function outputs a code that draws an image on a bitmap.
| _environment | Current calling environment |
| _image | Image to draw |
| _x | Abscissa of the point to draw |
| _y | Ordinate of the point |
Definition at line 406 of file put_image.c.
| void put_image_vars_flags | ( | Environment * | _environment, |
| char * | _image, | ||
| char * | _x1, | ||
| char * | _y1, | ||
| char * | _x2, | ||
| char * | _y2, | ||
| char * | _frame, | ||
| char * | _sequence, | ||
| int | _flags ) |
Definition at line 430 of file put_image.c.
| void put_key | ( | Environment * | _environment, |
| char * | _string ) |
| void put_tile | ( | Environment * | _environment, |
| char * | _tile, | ||
| char * | _x, | ||
| char * | _y, | ||
| char * | _w, | ||
| char * | _h ) |
Emit ASM code for PUT TILE [image] AT [int],[int].
This function outputs a code that draws a tile on a tilemap.
| _environment | Current calling environment |
| _image | Image to draw |
| _x | Abscissa of the point to draw |
| _y | Ordinate of the point |
Definition at line 56 of file put_tile.c.
| void put_tilemap_inline | ( | Environment * | _environment, |
| char * | _tilemap, | ||
| int | _flags, | ||
| char * | _dx, | ||
| char * | _dy, | ||
| char * | _layer, | ||
| int | _padding_tile ) |
Definition at line 43 of file put_tilemap_inline.c.
| void put_tilemap_vars | ( | Environment * | _environment, |
| char * | _tilemap, | ||
| int | _flags, | ||
| char * | _dx, | ||
| char * | _dy, | ||
| char * | _layer, | ||
| char * | _pad_frame ) |
Emit ASM code for PUT TILEMAP [tilemap].
This function outputs a code that draws an image on a bitmap.
| _environment | Current calling environment |
| _tilemap | Tilemap to draw |
Definition at line 71 of file put_tilemap.c.
| Variable * random_value | ( | Environment * | _environment, |
| VariableType | _type ) |
Emit ASM code for = RANDOM.
This function outputs a code suitable for calculating a random value, the range of which depends on the type of data passed as a parameter:
The random value is passed back into a temporary variable.
| _environment | Current calling environment |
| _type | Type of random number to generate |
Emit ASM code for = RANDOM.
This function outputs a code suitable for calculating a random value, the range of which depends on the type of data passed as a parameter:
The random value is passed back into a temporary variable.
| _environment | Current calling environment |
| _type | Type of random number to generate |
This function outputs a code suitable for calculating a random value, the range of which depends on the type of data passed as a parameter:
The random value is passed back into a temporary variable.
| _environment | Current calling environment |
| _type | Type of random number to generate |
| void randomize | ( | Environment * | _environment, |
| char * | _other_seed ) |
Emit ASM code for RANDOMIZE.
This function initialize the seed for random function.
| _environment | Current calling environment |
Definition at line 48 of file randomize.c.
| Variable * range | ( | Environment * | _environment, |
| char * | _expression, | ||
| char * | _min, | ||
| char * | _max ) |
| void raster_at | ( | Environment * | _environment, |
| char * | _label, | ||
| int | _position ) |
Emit ASM code for RASTER AT [int] WITH [label].
This function outputs assembly code needed to initialize a raster routine. In other words, asynchronously and in parallel with the execution of the main program, the routine starting from the label provided will be executed when the vertical brush on the screen reaches the value of _position. This function is particularly useful when the position is communicated is given as an integer.
| _environment | Current calling environment |
| _label | Label to jump to when vertical raster reach the value given |
| _position | The vertical position to wait for |
Emit ASM code for RASTER AT [int] WITH [label].
This function outputs assembly code needed to initialize a raster routine. In other words, asynchronously and in parallel with the execution of the main program, the routine starting from the label provided will be executed when the vertical brush on the screen reaches the value of _position. This function is particularly useful when the position is communicated is given as an integer.
| _environment | Current calling environment |
| _label | Label to jump to when vertical raster reach the value given |
| _position | The vertical position to wait for |
Definition at line 55 of file raster_at.c.
| void raster_at_var | ( | Environment * | _environment, |
| char * | _label, | ||
| char * | _position ) |
Emit ASM code for RASTER AT [expression] WITH label.
This function outputs assembly code needed to initialize a raster routine. In other words, asynchronously and in parallel with the execution of the main program, the routine starting from the label provided will be executed when the vertical brush on the screen reaches the value of _position. This function is particularly useful when the position is communicated is given as an expression
| _environment | Current calling environment |
| _label | Label to jump to when vertical raster reach the value given |
| _position | The vertical position to wait for |
Definition at line 73 of file raster_at.c.
| void read_data | ( | Environment * | _environment, |
| char * | _variable, | ||
| int | _safe ) |
Emit code for READ instruction.
| _environment | Current calling environment |
| _variable | Variable to store to |
Definition at line 348 of file read_data.c.
| void read_data_unsafe | ( | Environment * | _environment, |
| char * | _variable ) |
Definition at line 43 of file read_data_unsafe.c.
| Variable * read_end | ( | Environment * | _environment | ) |
Emit code for READ END function.
| _environment | Current calling environment |
Definition at line 46 of file read_end.c.
| Variable * read_end_unsafe | ( | Environment * | _environment | ) |
| void remember | ( | Environment * | _environment | ) |
Definition at line 68 of file remember.c.
| void repeat | ( | Environment * | _environment, |
| char * | _label ) |
| void reset | ( | Environment * | _environment | ) |
| int reset_screen_mode_selected | ( | Environment * | _environment | ) |
Definition at line 11487 of file _infrastructure.c.
| char * resolve_color | ( | Environment * | _environment, |
| char * | _color ) |
Definition at line 15426 of file _infrastructure.c.
| char * resource_load_asserts | ( | Environment * | _environment, |
| char * | _filename ) |
Definition at line 12847 of file _infrastructure.c.
| Variable * respawn_procedure | ( | Environment * | _environment, |
| char * | _name ) |
| void restore_label | ( | Environment * | _environment, |
| char * | _label ) |
| void restore_label_unsafe | ( | Environment * | _environment, |
| char * | _label ) |
Definition at line 41 of file restore_label_unsafe.c.
| void resume_vars | ( | Environment * | _environment, |
| char * | _thread ) |
| void return_label | ( | Environment * | _environment | ) |
| void return_procedure | ( | Environment * | _environment, |
| char * | _value ) |
Emit code for RETURN ....
| _environment | Current calling environment |
| _value | Value to the return |
Definition at line 83 of file return_procedure.c.
Calculate the distance between two colors.
This function calculates the color distance between two colors(_a and _b). By "distance" we mean the geometric distance between two points in a three-dimensional space, where each dimension corresponds to one of the components (red, green and blue). The returned value is normalized to the nearest 8-bit value.
| _e1 | First color |
| _e2 | Second color |
Definition at line 13523 of file _infrastructure.c.
Definition at line 13498 of file _infrastructure.c.
Definition at line 13502 of file _infrastructure.c.
| int rgbi_extract_palette | ( | Environment * | _environment, |
| unsigned char * | _source, | ||
| int | _width, | ||
| int | _height, | ||
| int | _depth, | ||
| RGBi | _palette[], | ||
| int | _palette_size, | ||
| int | _sorted ) |
Extract the color palette from the given image.
| _source | |
| _palette | |
| _palette_size |
Definition at line 13566 of file _infrastructure.c.
Definition at line 13506 of file _infrastructure.c.
| void rightb | ( | Environment * | _environment, |
| char * | _line, | ||
| char * | _column, | ||
| char * | _width, | ||
| char * | _height ) |
| void rightw | ( | Environment * | _environment, |
| char * | _line, | ||
| char * | _column, | ||
| char * | _width, | ||
| char * | _height ) |
| Variable * rnd | ( | Environment * | _environment, |
| char * | _value ) |
| Variable * rnd0 | ( | Environment * | _environment | ) |
| Variable * rnd1 | ( | Environment * | _environment | ) |
| void rot | ( | Environment * | _environment, |
| char * | _angle, | ||
| char * | _step ) |
| Variable * rotate_vector | ( | Environment * | _environment, |
| char * | _v, | ||
| char * | _a ) |
Emit ASM code to implement CREATE PATH command.
| _environment | Current calling environment |
| _x | Left abscissa of the line |
| _y | Left ordinate of the line |
Definition at line 67 of file rotate_vector.c.
| void run | ( | Environment * | _environment | ) |
| void run_parallel | ( | Environment * | _environment | ) |
Emit code for RUN PARALLEL.
| _environment | Current calling environment |
Definition at line 61 of file run_parallel.c.
| Variable * running | ( | Environment * | _environment, |
| char * | _thread_id, | ||
| char * | _procedure ) |
| Variable * sbpen_get | ( | Environment * | _environment, |
| char * | _index ) |
| void sbpen_set | ( | Environment * | _environment, |
| int | _index, | ||
| char * | _color ) |
| Variable * scancode | ( | Environment * | _environment | ) |
Definition at line 43 of file scancode.c.
| Variable * scanshift | ( | Environment * | _environment | ) |
Definition at line 43 of file scanshift.c.
| Variable * screen_can | ( | Environment * | _environment, |
| int | _mode ) |
Emit ASM code for CAN SCREEN [mode].
This function outputs assembly code to check if the given mode is available.
| _environment | Current calling environment |
| _mode | Mode to check |
Definition at line 72 of file screen_can.c.
| void screen_columns | ( | Environment * | _environment, |
| int | _columns ) |
Emit ASM code for SCREEN COLUMNS [integer].
This function changes the number of columns that can be displayed. Depending on the hardware, the effect can be different as different are the acceptable values. This version is the one called when an integer number of lines is given in the program.
| _environment | Current calling environment |
| _columns | Number of columns |
Definition at line 52 of file screen_columns.c.
| void screen_columns_var | ( | Environment * | _environment, |
| char * | _columns ) |
Emit ASM code for SCREEN COLUMNS [int]x.
This function changes the number of columns that can be displayed. Depending on the hardware, the effect can be different as different are the acceptable values. This version is the one called when an expression is given in the program.
| _environment | Current calling environment |
| _rows | Number of columns |
Definition at line 71 of file screen_columns.c.
| Variable * screen_get_height | ( | Environment * | _environment | ) |
Definition at line 41 of file screen_get_height.c.
| Variable * screen_get_width | ( | Environment * | _environment | ) |
Definition at line 41 of file screen_get_width.c.
| void screen_horizontal_scroll | ( | Environment * | _environment, |
| int | _displacement ) |
Emit ASM code for SCREEN HORIZONTAL SCROLL [int]x.
This function outputs an assembly code capable of performing a hardware scroll of the screen. The scroll is always in the direction from right to left, so with a _displacement of 0 the screen is exactly as it would be without scrolling while with the value 7 you would have a scroll of 7 pixels to left. This version is used when a direct integer is used.
| _environment | Current calling environment |
| _displacement | Horizontal offset in pixels (0-7) |
Definition at line 53 of file screen_horizontal_scroll.c.
| void screen_horizontal_scroll_var | ( | Environment * | _environment, |
| char * | _displacement ) |
Emit ASM code for SCREEN HORIZONTAL SCROLL [expression[.
This function outputs an assembly code capable of performing a hardware scroll of the screen. The scroll is always in the direction from right to left, so with a _displacement of 0 the screen is exactly as it would be without scrolling while with the value 7 you would have a scroll of 7 pixels to left. This version is used when an expression is used.
| _environment | Current calling environment |
| _displacement | Horizontal offset in pixels (0-7) |
Definition at line 73 of file screen_horizontal_scroll.c.
| void screen_mode | ( | Environment * | _environment, |
| int | _mode ) |
Emit ASM code for SCREEN [mode].
This function outputs assembly code to change the current mode.
| _environment | Current calling environment |
| _mode | Mode to change to |
Definition at line 116 of file screen_mode.c.
| void screen_off | ( | Environment * | _environment | ) |
Emit ASM code for SCREEN OFF.
This function outputs assembly code to turn off the screen.
| _environment | Current calling environment |
Definition at line 48 of file screen_off.c.
| void screen_on | ( | Environment * | _environment | ) |
Emit ASM code for SCREEN ON.
This function outputs assembly code to turn on the screen.
| _environment | Current calling environment |
Definition at line 48 of file screen_on.c.
| Variable * screen_page | ( | Environment * | _environment | ) |
Emit code for SCREEN SWAP.
| _environment | Current calling environment |
Definition at line 46 of file screen_page.c.
| void screen_rows | ( | Environment * | _environment, |
| int | _rows ) |
Emit ASM code for SCREEN ROWS [integer].
This function changes the number of lines that can be displayed. Depending on the hardware, the effect can be different as different are the acceptable values. This version is the one called when an integer number of lines is given in the program.
| _environment | Current calling environment |
| _rows | Number of rows |
Emit ASM code for SCREEN ROWS [integer].
This function changes the number of lines that can be displayed. Depending on the hardware, the effect can be different as different are the acceptable values. This version is the one called when an integer number of lines is given in the program.
| _environment | Current calling environment |
| _rows | Number of rows |
Definition at line 52 of file screen_rows.c.
| void screen_rows_var | ( | Environment * | _environment, |
| char * | _rows ) |
Emit ASM code for SCREEN ROWS [int]x.
This function changes the number of lines that can be displayed. Depending on the hardware, the effect can be different as different are the acceptable values. This version is the one called when an expression is given in the program.
| _environment | Current calling environment |
| _rows | Number of rows |
Definition at line 71 of file screen_rows.c.
| void screen_swap | ( | Environment * | _environment | ) |
Emit code for SCREEN SWAP.
| _environment | Current calling environment |
Definition at line 49 of file screen_swap.c.
| Variable * screen_tiles_get | ( | Environment * | _environment | ) |
Definition at line 41 of file screen_tiles_get.c.
| Variable * screen_tiles_get_height | ( | Environment * | _environment | ) |
Definition at line 41 of file screen_tiles_get_height.c.
| Variable * screen_tiles_get_width | ( | Environment * | _environment | ) |
Definition at line 41 of file screen_tiles_get_width.c.
| void screen_type_color_set | ( | Environment * | _environment, |
| int | _type, | ||
| int | _color_set ) |
Definition at line 188 of file screen_mode.c.
| Variable * screen_var | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y, | ||
| int | _as_string ) |
| void screen_vertical_scroll | ( | Environment * | _environment, |
| int | _displacement ) |
Emit ASM code for SCREEN VERTICAL SCROLL [integer].
This function outputs an assembly code capable of performing a hardware scroll of the screen. The scroll is always in the direction from bottom to up, so with a _displacement of 0 the screen is exactly as it would be without scrolling while with the value 7 you would have a scroll of 7 pixels upwards. This version is used when a direct integer is used.
| _environment | Current calling environment |
| _displacement | Vertical offset in pixels (0-7) |
Emit ASM code for SCREEN VERTICAL SCROLL [integer].
This function outputs an assembly code capable of performing a hardware scroll of the screen. The scroll is always in the direction from bottom to up, so with a _displacement of 0 the screen is exactly as it would be without scrolling while with the value 7 you would have a scroll of 7 pixels upwards. This version is used when a direct integer is used.
| _environment | Current calling environment |
| _displacement | Vertical offset in pixels (0-7) |
Definition at line 56 of file screen_vertical_scroll.c.
| void screen_vertical_scroll_var | ( | Environment * | _environment, |
| char * | _displacement ) |
Emit ASM code for SCREEN VERTICAL SCROLL [expression].
This function outputs an assembly code capable of performing a hardware scroll of the screen. The scroll is always in the direction from bottom to up, so with a _displacement of 0 the screen is exactly as it would be without scrolling while with the value 7 you would have a scroll of 7 pixels upwards. This version is used when an expression is used.
| _environment | Current calling environment |
| _displacement | Vertical offset in pixels (0-7) |
Definition at line 81 of file screen_vertical_scroll.c.
| void scroll | ( | Environment * | _environment, |
| int | _dx, | ||
| int | _dy ) |
| void select_case | ( | Environment * | _environment, |
| char * | _expression ) |
Emit ASM code for SELECT CASE ... {PASSING}.
This function outputs the code to implement a structured conditional jump. This implementation assumes that an expression passed as a parameter can be compared to various expressions that will given after. If the expression is equal to the this, it execute the instructions that follows, until a "CASE" or an "ENDSELECT" is reached. Otherwise, it jumps directly to the next CASE statement (or CASE ELSE, if present).
Since the compiler acts with a single pass, it is necessary to keep the information on the last used label. For this purpose, the label where it will jump will be inserted in the stack, so that it is defined at the moment when the ENDSELECT instruction will be examined.
| _environment | Current calling environment |
| _expression | Expression with the true / false condition |
Definition at line 145 of file select_case.c.
| Variable * sequence_load | ( | Environment * | _environment, |
| char * | _filename, | ||
| char * | _alias, | ||
| int | _mode, | ||
| int | _frame_width, | ||
| int | _frame_height, | ||
| int | _flags, | ||
| int | _transparent_color, | ||
| int | _background_color, | ||
| int | _bank_expansion, | ||
| int | _origin_x, | ||
| int | _origin_y, | ||
| int | _offset_x, | ||
| int | _offset_y ) |
Emit code for LOAD IMAGE(...).
| _environment | Current calling environment |
| _filename | Filename to read into buffer |
| _mode | Mode to use to convert data |
Definition at line 235 of file sequence_load.c.
| Variable * sequence_storage | ( | Environment * | _environment, |
| char * | _source_name, | ||
| char * | _target_name, | ||
| int | _mode, | ||
| int | _frame_width, | ||
| int | _frame_height, | ||
| int | _flags, | ||
| int | _transparent_color, | ||
| int | _background_color, | ||
| int | _bank_expansion, | ||
| int | _origin_x, | ||
| int | _origin_y, | ||
| int | _offset_x, | ||
| int | _offset_y ) |
Emit code for IMAGE ... AS ....
| _environment | Current calling environment |
| _name | Name of the storage |
Definition at line 76 of file sequence_storage.c.
| Variable * serial_read | ( | Environment * | _environment, |
| char * | _size ) |
Emit code for SERIAL READ(...).
| _environment | Current calling environment |
Definition at line 41 of file serial_read.c.
| Variable * serial_read_type | ( | Environment * | _environment, |
| VariableType | _datatype, | ||
| int | _big_endian ) |
Emit code for SERIAL READ datatype.
| _environment | Current calling environment |
Definition at line 43 of file serial_read_type.c.
| Variable * serial_write | ( | Environment * | _environment, |
| char * | _data ) |
Emit code for SERIAL WRITE(...).
| _environment | Current calling environment |
Definition at line 41 of file serial_write.c.
| Variable * serial_write_type | ( | Environment * | _environment, |
| char * | _data, | ||
| VariableType | _type, | ||
| int | _big_endian ) |
Emit code for SERIAL WRITE(...).
| _environment | Current calling environment |
Definition at line 43 of file serial_write_type.c.
| Variable * serialize | ( | Environment * | _environment, |
| char * | _data, | ||
| char * | _key ) |
Emit code for SERIALIZE.
| _environment | Current calling environment |
| _string | Data to serialize |
Definition at line 74 of file serialize.c.
| void set_timer | ( | Environment * | _environment, |
| char * | _value ) |
| void setup_text_variables | ( | Environment * | _environment | ) |
| void shared | ( | Environment * | _environment | ) |
| void shell_injection | ( | Environment * | _environment | ) |
| void shoot | ( | Environment * | _environment, |
| int | _channels ) |
| int show_troubleshooting_and_exit | ( | Environment * | _environment, |
| int | _argc, | ||
| char * | _argv[] ) |
Definition at line 15502 of file _infrastructure.c.
| void show_usage_and_exit | ( | int | _argc, |
| char * | _argv[] ) |
Show usage and exit.
When using a CLI (Command Line Interface), you must pass a series of parameters (the source file, the target, any optimization options). If the user makes a syntax error or explicitly requests help, this function intervenes. This function lists all available flags (e.g., -t for the target, -o for output, -i for includes, and so on). It displays a list of all retrocomputers for which ugBASIC can compile. Finally, terminates the program, returning a status code to the operating system.
| _argc | The number of parameters given on the command line. |
| _argv | The array of parameters given on the command line. |
Definition at line 53855 of file ugbc.tab.c.
| Variable * sign | ( | Environment * | _environment, |
| char * | _value ) |
| void slice_image | ( | Environment * | _environment, |
| char * | _image, | ||
| char * | _frame, | ||
| char * | _sequence, | ||
| char * | _destination ) |
Definition at line 43 of file slice_image.c.
| void slow | ( | Environment * | _environment | ) |
| void sound | ( | Environment * | _environment, |
| int | _freq, | ||
| int | _delay, | ||
| int | _channels ) |
Emit ASM code for SOUND ....
This function emits a code capable of play a frequency for a certain amount of time on specific channels
| _environment | Current calling environment |
| _freq | frequency to play |
| _delay | delay of frequency |
| _channels | channels to play on |
| void sound_off | ( | Environment * | _environment, |
| int | _channels ) |
Emit ASM code for SOUND OFF.
This function emits a code capable of stop play on specific channels
| _environment | Current calling environment |
| _channels | channels to play off |
Definition at line 54 of file sound_off.c.
| void sound_off_var | ( | Environment * | _environment, |
| char * | _channels ) |
Emit ASM code for SOUND OFF ....
This function emits a code capable of stop play on specific channels.
| _environment | Current calling environment |
| _channels | channels to play on |
Definition at line 68 of file sound_off.c.
| void sound_vars | ( | Environment * | _environment, |
| char * | _freq, | ||
| char * | _delay, | ||
| char * | _channels ) |
Emit ASM code for SOUND ....
This function emits a code capable of play a frequency for a certain amount of time on specific channels
| _environment | Current calling environment |
| _freq | frequency to play |
| _delay | delay of frequency |
| _channels | channels to play on |
| Variable * spawn_procedure | ( | Environment * | _environment, |
| char * | _name, | ||
| int | _halted ) |
| void spc | ( | Environment * | _environment, |
| char * | _spaces ) |
| Variable * spen | ( | Environment * | _environment | ) |
| void sprite_at | ( | Environment * | _environment, |
| int | _sprite, | ||
| int | _x, | ||
| int | _y ) |
Emit ASM code for SPRITE [int] AT ([int],[int]).
This function emits a code capable of position a sprite to the (x,y) on the screen. This version is suitable when an integer number is used.
| _environment | Current calling environment |
| _sprite | Index of the sprite to position (0...7) |
| _x | The abscissa of the sprite |
| _y | The ordinate of the sprite |
Definition at line 53 of file sprite_at.c.
| void sprite_at_vars | ( | Environment * | _environment, |
| char * | _sprite, | ||
| char * | _x, | ||
| char * | _y ) |
Emit ASM code for SPRITE [expression] AT ([expression],[expression]).
This function emits a code capable of position a sprite to the (x,y) on the screen. This version is suitable when an expression is used.
| _environment | Current calling environment |
| _sprite | Expression with the index of the sprite to position (0...7) |
| _x | Expression with the abscissa of the sprite |
| _y | Expression with the ordinate of the sprite |
Definition at line 71 of file sprite_at.c.
| void sprite_color | ( | Environment * | _environment, |
| int | _sprite, | ||
| int | _color ) |
Emit ASM code for instruction SPRITE [int] COLOR [int].
This function emits a code capable of changing the specific color for a given sprite.
| _environment | Current calling environment |
| _sprite | Index of the sprite for which to change color |
| _color | Index of the color |
Definition at line 51 of file sprite_color.c.
| void sprite_color_vars | ( | Environment * | _environment, |
| char * | _sprite, | ||
| char * | _color ) |
Emit ASM code for instruction SPRITE [int] COLOR [int].
This function emits a code capable of changing the specific color for a given sprite.
| _environment | Current calling environment |
| _sprite | Expression with the index of the sprite for which to change color |
| _color | Expression with the index of the color |
Definition at line 65 of file sprite_color.c.
| void sprite_compress_horizontal | ( | Environment * | _environment, |
| int | _sprite ) |
Emit ASM code for SPRITE [int] COMPRESS HORIZONTAL.
This function emits a code capable of compressing horizontally a given sprite. The index of sprite is given as a direct integer.
| _environment | Current calling environment |
| _sprite | Index of the sprite to compress horizontally (0...7) |
Definition at line 50 of file sprite_compress_horizontal.c.
| void sprite_compress_horizontal_var | ( | Environment * | _environment, |
| char * | _sprite ) |
Emit ASM code for SPRITE [int] COMPRESS HORIZONTAL.
This function emits a code capable of compressing horizontally a given sprite. The index of sprite is given as a direct integer.
| _environment | Current calling environment |
| _sprite | Index of the sprite to compress horizontally (0...7) |
Definition at line 63 of file sprite_compress_horizontal.c.
| void sprite_compress_vertical | ( | Environment * | _environment, |
| int | _sprite ) |
Emit ASM code for SPRITE [int] CPMPRESS VERTICAL.
This function emits a code capable of compressing vertically a given sprite. The index of sprite is given as a direct integer.
| _environment | Current calling environment |
| _sprite | Index of the sprite to compress vertically (0...7) |
Emit ASM code for SPRITE [int] CPMPRESS VERTICAL.
This function emits a code capable of compressing vertically a given sprite. The index of sprite is given as a direct integer.
| _environment | Current calling environment |
| _sprite | Index of the sprite to compress vertically (0...7) |
Definition at line 50 of file sprite_compress_vertical.c.
| void sprite_compress_vertical_var | ( | Environment * | _environment, |
| char * | _sprite ) |
Emit ASM code for SPRITE [expression] COMPRESS VERTICAL.
This function emits a code capable of compressing vertically a given sprite. The index of sprite is given as an expression.
| _environment | Current calling environment |
| _sprite | Expression with the index of the sprite to compress vertically (0...7) |
Definition at line 65 of file sprite_compress_vertical.c.
| Variable * sprite_converter | ( | Environment * | _environment, |
| char * | _data, | ||
| int | _width, | ||
| int | _height, | ||
| int | _depth, | ||
| RGBi * | _colorm, | ||
| int | _flags, | ||
| int | _slot_x, | ||
| int | _slot_y ) |
Definition at line 41 of file sprite_converter.c.
| void sprite_data_from | ( | Environment * | _environment, |
| int | _sprite, | ||
| int | _address ) |
Emit ASM code for SPRITE [int] DATA FROM [int].
This function emits a code capable of setting the starting address of the sprite _sprite to the value _address. This version is suitable when direct value is used.
| _environment | Current calling environment |
| _sprite | Index of the sprite to define (0...7) |
| _address | Address where the sprite data begins from |
Definition at line 52 of file sprite_data_from.c.
| void sprite_data_from_vars | ( | Environment * | _environment, |
| char * | _sprite, | ||
| char * | _image ) |
Emit ASM code for SPRITE [expression] DATA FROM [expression].
This function emits a code capable of setting the starting address of the sprite _sprite to the value _address. This version is suitable when expressions are used.
| _environment | Current calling environment |
| _sprite | Expression with the index of the sprite to define (0...7) |
| _address | Expression with the address where the sprite data begins from |
Definition at line 67 of file sprite_data_from.c.
| void sprite_disable | ( | Environment * | _environment, |
| int | _sprite ) |
Emit ASM code for SPRITE [int] DISABLE.
This function emits a code capable of disable the sprite _sprite. This version is suitable when direct integer are used.
| _environment | Current calling environment |
| _sprite | Index of the sprite to disable (0...7) |
Definition at line 50 of file sprite_disable.c.
| void sprite_disable_var | ( | Environment * | _environment, |
| char * | _sprite ) |
Emit ASM code for SPRITE [expression] DISABLE.
This function emits a code capable of disable the sprite _sprite. This version is suitable when an expression is used.
| _environment | Current calling environment |
| _sprite | Expression with the index of the sprite to disable (0...7) |
Definition at line 63 of file sprite_disable.c.
| void sprite_enable | ( | Environment * | _environment, |
| int | _sprite ) |
Emit ASM code for SPRITE [int] ENABLE.
This function emits a code capable of enable the sprite _sprite. This version is suitable when direct integer are used.
| _environment | Current calling environment |
| _sprite | Index of the sprite to enable (0...7) |
Definition at line 50 of file sprite_enable.c.
| void sprite_enable_var | ( | Environment * | _environment, |
| char * | _sprite ) |
Emit ASM code for SPRITE [expression] ENABLE.
This function emits a code capable of enable the sprite _sprite. This version is suitable when an expression is used.
| _environment | Current calling environment |
| _sprite | Expression with the index of the sprite to enable (0...7) |
Definition at line 63 of file sprite_enable.c.
| void sprite_expand_horizontal | ( | Environment * | _environment, |
| int | _sprite ) |
Emit ASM code for SPRITE [int] EXPAND HORIZONTAL.
This function emits a code capable of expanding horizontally a given sprite. The index of sprite is given as a direct integer.
| _environment | Current calling environment |
| _sprite | Index of the sprite to expand horizontally (0...7) |
Definition at line 50 of file sprite_expand_horizontal.c.
| void sprite_expand_horizontal_var | ( | Environment * | _environment, |
| char * | _sprite ) |
Emit ASM code for SPRITE [expression] EXPAND HORIZONTAL.
This function emits a code capable of expanding horizontally a given sprite. The index of sprite is given as an expression.
| _environment | Current calling environment |
| _sprite | Expression with the index of the sprite to expand horizontally (0...7) |
Definition at line 65 of file sprite_expand_horizontal.c.
| void sprite_expand_vertical | ( | Environment * | _environment, |
| int | _sprite ) |
Emit ASM code for SPRITE [int] EXPAND VERTICAL.
This function emits a code capable of expanding vertically a given sprite. The index of sprite is given as a direct integer.
| _environment | Current calling environment |
| _sprite | Index of the sprite to expand vertically (0...7) |
Definition at line 50 of file sprite_expand_vertical.c.
| void sprite_expand_vertical_var | ( | Environment * | _environment, |
| char * | _sprite ) |
Emit ASM code for SPRITE [expression] EXPAND VERTICAL.
This function emits a code capable of expanding vertically a given sprite. The index of sprite is given as an expression.
| _environment | Current calling environment |
| _sprite | Expression with the index of the sprite to expand vertically (0...7) |
Definition at line 65 of file sprite_expand_vertical.c.
| Variable * sprite_init | ( | Environment * | _environment, |
| char * | _image, | ||
| char * | _sprite, | ||
| int | _flags ) |
Emit code for SPRITE(...).
| _environment | Current calling environment |
| _image | image to use as SPRITE |
Definition at line 47 of file sprite_init.c.
| void sprite_monocolor | ( | Environment * | _environment, |
| int | _sprite ) |
Emit ASM code for SPRITE [int] MONOCOLOR.
This function emits a code capable of enabling monocolor for a given sprite. The index of sprite is given as direct integer.
| _environment | Current calling environment |
| _sprite | Index of the sprite for which enable monocolor (0...7) |
Definition at line 50 of file sprite_monocolor.c.
| void sprite_monocolor_var | ( | Environment * | _environment, |
| char * | _sprite ) |
Emit ASM code for SPRITE [expression] MONOCOLOR.
This function emits a code capable of enabling monocolor for a given sprite. The index of sprite is given as expression.
| _environment | Current calling environment |
| _sprite | Expression with index of the sprite for which enable monocolor (0...7) |
Definition at line 65 of file sprite_monocolor.c.
| void sprite_multicolor | ( | Environment * | _environment, |
| int | _sprite ) |
Emit ASM code for SPRITE [int] MULTICOLOR.
This function emits a code capable of enabling multicolor for a given sprite. The index of sprite is given as a direct integer.
| _environment | Current calling environment |
| _sprite | Index of the sprite for which enable multicolor (0...7) |
Definition at line 50 of file sprite_multicolor.c.
| void sprite_multicolor_var | ( | Environment * | _environment, |
| char * | _sprite ) |
Emit ASM code for SPRITE [expression] MULTICOLOR.
This function emits a code capable of enabling multicolor for a given sprite. The index of sprite is given as an expression.
| _environment | Current calling environment |
| _sprite | Expression with index of the sprite for which enable multicolor (0...7) |
Definition at line 65 of file sprite_multicolor.c.
| Variable * sqroot | ( | Environment * | _environment, |
| char * | _value ) |
| StaticString * static_string_create | ( | Environment * | _environment, |
| char * | _value, | ||
| int | _size ) |
Definition at line 17258 of file _infrastructure.c.
| StaticString * static_string_create_filled | ( | Environment * | _environment, |
| int | _size, | ||
| char | _value ) |
Definition at line 17238 of file _infrastructure.c.
| StaticString * static_string_find_by_value | ( | Environment * | _environment, |
| char * | _value, | ||
| int | _Size ) |
Definition at line 17226 of file _infrastructure.c.
| void stop_animation | ( | Environment * | _environment, |
| char * | _prefix ) |
Emit code for STOP ....
| _environment | Current calling environment |
| _handle | Identifier of the thread |
Definition at line 64 of file stop_animation.c.
| void stop_movement | ( | Environment * | _environment, |
| char * | _prefix ) |
Emit code for STOP ....
| _environment | Current calling environment |
| _handle | Identifier of the thread |
Definition at line 64 of file stop_movement.c.
| char * strcopy | ( | char * | _dest, |
| char * | _source ) |
Definition at line 17121 of file _infrastructure.c.
| Variable * strig | ( | Environment * | _environment, |
| int | _port ) |
| Variable * strig_vars | ( | Environment * | _environment, |
| char * | _port ) |
| StaticString * string_reserve | ( | Environment * | _environment, |
| char * | _value ) |
Definition at line 14727 of file _infrastructure.c.
| Variable * strptr | ( | Environment * | _environment, |
| char * | _name ) |
Emit code for function = STRPTR( ... ).
| _environment | Current calling environment |
| _identifier | Identifier to explore |
| char * strreplace | ( | const char * | _orig, |
| const char * | _rep, | ||
| const char * | _with ) |
Definition at line 17133 of file _infrastructure.c.
| const char * strrstr | ( | const char * | haystack, |
| const char * | needle ) |
Definition at line 15882 of file _infrastructure.c.
| const char * strstrcase | ( | const char * | _x, |
| const char * | _y ) |
Definition at line 15857 of file _infrastructure.c.
| char * strtoupper | ( | char * | _string | ) |
Definition at line 14299 of file _infrastructure.c.
| void suspend_vars | ( | Environment * | _environment, |
| char * | _thread ) |
| void sys | ( | Environment * | _environment, |
| int | _address ) |
| void sys_call | ( | Environment * | _environment, |
| int | _address ) |
Definition at line 41 of file sys_call.c.
| void sys_var | ( | Environment * | _environment, |
| char * | _address ) |
| int system_call | ( | Environment * | _environment, |
| char * | _commandline ) |
Call an external executable.
| _environment | Enviroment to call |
| _commandline | Command line to execute |
Definition at line 13709 of file _infrastructure.c.
| int system_move_safe | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
Definition at line 15800 of file _infrastructure.c.
| int system_remove_safe | ( | Environment * | _environment, |
| char * | _filename ) |
Definition at line 13784 of file _infrastructure.c.
| void target_analysis | ( | Environment * | _environment | ) |
Definition at line 68 of file _cleanup.c.
| void target_cleanup | ( | Environment * | _environment | ) |
| void target_deep_analyzer | ( | Environment * | _environment | ) |
| void target_finalization | ( | Environment * | _environment | ) |
Definition at line 45 of file _cleanup.c.
| void target_finalize | ( | Environment * | _environment | ) |
Definition at line 2236 of file _optimizer.c.
| void target_initialization | ( | Environment * | _environment | ) |
| void target_linkage | ( | Environment * | _environment | ) |
| void target_peephole_optimizer | ( | Environment * | _environment | ) |
Definition at line 2205 of file _optimizer.c.
| void target_prepare_finalization | ( | Environment * | _environment | ) |
Definition at line 41 of file _cleanup.c.
| void text_at | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y, | ||
| char * | _text ) |
| void text_encoded | ( | Environment * | _environment, |
| char * | _text, | ||
| char * | _pen, | ||
| char * | _paper, | ||
| int | _raw ) |
Definition at line 41 of file text_encoded_at.c.
| Variable * text_get_xcurs | ( | Environment * | _environment | ) |
| Variable * text_get_ycurs | ( | Environment * | _environment | ) |
| void text_hscroll_line | ( | Environment * | _environment, |
| int | _direction, | ||
| int | _overlap ) |
Definition at line 45 of file text_hscroll_line.c.
| void text_hscroll_screen | ( | Environment * | _environment, |
| int | _direction, | ||
| int | _overlap ) |
Definition at line 41 of file text_hscroll_screen.c.
| void text_newline | ( | Environment * | _environment | ) |
| void text_question_mark | ( | Environment * | _environment | ) |
| void text_set_tab | ( | Environment * | _environment, |
| char * | _new_tab ) |
| void text_tab | ( | Environment * | _environment | ) |
| void text_text | ( | Environment * | _environment, |
| char * | _text, | ||
| int | _raw ) |
| void text_vscroll | ( | Environment * | _environment | ) |
| void text_vscroll_screen | ( | Environment * | _environment, |
| int | _direction, | ||
| int | _overlap ) |
Definition at line 41 of file text_vscroll_screen.c.
| void textmap_at | ( | Environment * | _environment, |
| int | _address ) |
Emit ASM code for TEXTMAP AT [int]xx.
This function allows you to set the starting address, in memory, for the text and it is the version that is used when the memory is given as a direct number (i.e.: $8400). The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.
On some machine calling this instruction will define the special variable:
| _environment | Current calling environment |
| _address | Address to use |
This function allows you to set the starting address, in memory, for the text and it is the version that is used when the memory is given as a direct number (i.e.: $0400). The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.
On some machine calling this instruction will define the special variable:
| _environment | Current calling environment |
| _address | Address to use |
Emit ASM code for TEXTMAP AT [int]xx.
This function allows you to set the starting address, in memory, for the bitmap and it is the version that is used when the memory is given as a direct number (i.e.: $A000). The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.
On some machine calling this instruction will define the special variable:
| _environment | Current calling environment |
| _address | Address to use |
Definition at line 61 of file textmap_at.c.
| void textmap_at_var | ( | Environment * | _environment, |
| char * | _address ) |
Emit ASM code for TEXTMAP AT [expression].
This function allows you to set the starting address, in memory, for the text and it is the version that is used when the memory is given as an expression. The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.
On some machine calling this instruction will define the special variable:
| _environment | Current calling environment |
| _address | Expression with address to use |
Emit ASM code for TEXTMAP AT [expression].
This function allows you to set the starting address, in memory, for the bitmap and it is the version that is used when the memory is given as a expression that involves variables. The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.
On some machine calling this instruction will define the special variable:
| _environment | Current calling environment |
| _address | Address to use |
Definition at line 88 of file textmap_at.c.
| int tile_allocate | ( | TileDescriptors * | _tiles, |
| char * | _data ) |
Definition at line 13152 of file _infrastructure.c.
| Variable * tile_at | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y ) |
| Variable * tile_belong | ( | Environment * | _environment, |
| char * | _tile, | ||
| char * | _tiles ) |
Emit code for TILE ... BELONG TO ....
| _environment | Current calling environment |
| _tile | Tile to check |
| _tiles | Tiles to check |
Definition at line 70 of file tile_belong.c.
| Variable * tile_class | ( | Environment * | _environment, |
| char * | _tileset, | ||
| int | _id ) |
Emit code for TILE CLASS(...).
| _environment | Current calling environment |
| _tileset | Tileset |
| _id | Tile id |
Definition at line 73 of file tile_class.c.
| Variable * tile_get_first | ( | Environment * | _environment, |
| char * | _tile ) |
Emit code for TILE FIRST(...).
| _environment | Current calling environment |
| _image | Image to measure. |
Emit code for TILE FIRST(...).
| _environment | Current calling environment |
| _image | Image to measure. |
| _environment | Current calling environment |
| _image | Image to measure. |
Definition at line 65 of file tile_get_first.c.
| Variable * tile_get_height | ( | Environment * | _environment, |
| char * | _tile ) |
Emit code for TILE HEIGHT(...).
| _environment | Current calling environment |
| _image | Image to measure. |
Definition at line 48 of file tile_get_height.c.
| Variable * tile_get_width | ( | Environment * | _environment, |
| char * | _tile ) |
Emit code for TILE WIDTH(...).
| _environment | Current calling environment |
| _image | Image to measure. |
Definition at line 48 of file tile_get_width.c.
| int tile_id | ( | Environment * | _environment, |
| char * | _tileset, | ||
| char * | _id ) |
| Variable * tile_load | ( | Environment * | _environment, |
| char * | _filename, | ||
| int | _flags, | ||
| char * | _tileset, | ||
| int | _index ) |
Emit code for LOAD TILE(...).
| _environment | Current calling environment |
| _filename | Filename to read into buffer |
| _mode | Mode to use to convert data |
Definition at line 168 of file tile_load.c.
| Variable * tile_probability | ( | Environment * | _environment, |
| char * | _tileset, | ||
| int | _id ) |
Emit code for TILE CLASS(...).
| _environment | Current calling environment |
| _tileset | Tileset |
| _id | Tile id |
Definition at line 73 of file tile_probability.c.
| Variable * tilemap_at | ( | Environment * | _environment, |
| char * | _tilemap, | ||
| char * | _x, | ||
| char * | _y, | ||
| char * | _layer ) |
Return the height of a TILEMAP.
| _environment | Current calling environment |
| _tileset | tileset |
Definition at line 72 of file tilemap_at.c.
| void tilemap_disable | ( | Environment * | _environment | ) |
Emit ASM implementation for TEXT DISABLE instruction.
This function can be called to emit the code to disable text mode on the target machine.
| _environment | Current calling environment |
Definition at line 64 of file tilemap_disable.c.
| void tilemap_enable | ( | Environment * | _environment, |
| int | _width, | ||
| int | _height, | ||
| int | _colors, | ||
| int | _tile_width, | ||
| int | _tile_height ) |
Emit ASM implementation for TEXT ENABLE instruction.
This function can be called to emit the code to enable text mode on the target machine.
| _environment | Current calling environment |
Definition at line 53 of file tilemap_enable.c.
| Variable * tilemap_get_height | ( | Environment * | _environment, |
| char * | _tilemap ) |
Return the height of a TILEMAP.
| _environment | Current calling environment |
| _tileset | tileset |
Definition at line 66 of file tilemap_get_height.c.
| Variable * tilemap_get_width | ( | Environment * | _environment, |
| char * | _tilemap ) |
Return the width of a TILEMAP.
| _environment | Current calling environment |
| _tileset | tileset |
Definition at line 66 of file tilemap_get_width.c.
| Variable * tilemap_index_vars | ( | Environment * | _environment, |
| char * | _tilemap, | ||
| char * | _column, | ||
| char * | _row, | ||
| char * | _layer ) |
Definition at line 88 of file tilemap_index.c.
| Variable * tilemap_load | ( | Environment * | _environment, |
| char * | _filename, | ||
| char * | _alias, | ||
| int | _mode, | ||
| int | _flags, | ||
| int | _transparent_color, | ||
| int | _background_color, | ||
| int | _bank_expansion ) |
Emit code for LOAD TILEMAP(...).
| _environment | Current calling environment |
| _filename | Filename to read into buffer |
| _mode | Mode to use to convert data |
Definition at line 70 of file tilemap_load.c.
| Variable * tilemap_storage | ( | Environment * | _environment, |
| char * | _source_name, | ||
| char * | _target_name, | ||
| int | _mode, | ||
| int | _flags, | ||
| int | _transparent_color, | ||
| int | _background_color, | ||
| int | _bank_expansion ) |
Emit code for LOAD TILEMAP(...).
| _environment | Current calling environment |
| _filename | Filename to read into buffer |
| _mode | Mode to use to convert data |
Definition at line 74 of file tilemap_storage.c.
| void tiles_at | ( | Environment * | _environment, |
| int | _address ) |
Emit ASM code for TILES AT [int]xx.
This function allows you to set the starting address, in memory, for the tiles (for textual mode) and it is the version that is used when the memory is given as a direct number (i.e.: $8400). The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.
On some machine calling this instruction will define the special variable:
| _environment | Current calling environment |
| _address | Address to use |
This function allows you to set the starting address, in memory, for the tiles (for textual mode) and it is the version that is used when the memory is given as a direct number (i.e.: $0400). The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.
On some machine calling this instruction will define the special variable:
| _environment | Current calling environment |
| _address | Address to use |
| void tiles_at_var | ( | Environment * | _environment, |
| char * | _address ) |
Emit ASM code for TILES AT [expression].
This function allows you to set the starting address, in memory, for the tiles (for textual mode) and it is the version that is used when the memory is given as an expression. The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.
On some machine calling this instruction will define the special variable:
| _environment | Current calling environment |
| _address | Address to use |
| Variable * tiles_load | ( | Environment * | _environment, |
| char * | _filename, | ||
| int | _flags, | ||
| char * | _tileset, | ||
| int | _index ) |
Emit code for LOAD TILE(...).
| _environment | Current calling environment |
| _filename | Filename to read into buffer |
| _mode | Mode to use to convert data |
Definition at line 176 of file tiles_load.c.
| Variable * tileset_load | ( | Environment * | _environment, |
| char * | _filename, | ||
| char * | _alias, | ||
| int | _mode, | ||
| int | _flags, | ||
| int | _transparent_color, | ||
| int | _background_color, | ||
| int | _bank_expansion ) |
Emit code for LOAD TILESERT(...).
| _environment | Current calling environment |
| _filename | Filename to read into buffer |
| _mode | Mode to use to convert data |
Definition at line 89 of file tileset_load.c.
| Variable * tileset_of_vars | ( | Environment * | _environment, |
| char * | _tilemap ) |
Definition at line 58 of file tileset_of.c.
| Variable * tileset_storage | ( | Environment * | _environment, |
| char * | _source_name, | ||
| char * | _target_name, | ||
| int | _mode, | ||
| int | _flags, | ||
| int | _transparent_color, | ||
| int | _background_color, | ||
| int | _bank_expansion ) |
Emit code for LOAD TILESERT(...).
| _environment | Current calling environment |
| _filename | Filename to read into buffer |
| _mode | Mode to use to convert data |
Definition at line 74 of file tileset_storage.c.
| Variable * tileset_tile_get_height | ( | Environment * | _environment, |
| char * | _tileset ) |
Return the height of a TILE on a TILESET.
| _environment | Current calling environment |
| _tileset | tileset |
Definition at line 70 of file tileset_tile_get_height.c.
| Variable * tileset_tile_get_width | ( | Environment * | _environment, |
| char * | _tileset ) |
Return the width of a TILE on a TILESET.
| _environment | Current calling environment |
| _tileset | tileset |
Definition at line 70 of file tileset_tile_get_width.c.
| POBuffer tmp_buf | ( | void * | key1, |
| unsigned int | key2 ) |
Definition at line 218 of file _optimizer.c.
| void tmp_buf_clr | ( | void * | key1 | ) |
Definition at line 243 of file _optimizer.c.
| Variable * travel_path | ( | Environment * | _environment, |
| char * | _p, | ||
| char * | _x, | ||
| char * | _y, | ||
| char * | _times, | ||
| char * | _limited ) |
Emit ASM code to implement TRAVEL PATH command.
| _environment | Current calling environment |
| _p | Path |
| _x1 | Left abscissa of the line |
| _y1 | Left ordinate of the line |
Definition at line 104 of file travel_path.c.
Definition at line 16129 of file _infrastructure.c.
| Variable * uncompress | ( | Environment * | _environment, |
| char * | _value ) |
| char * unescape_string | ( | Environment * | _environment, |
| char * | _value, | ||
| int | _printing, | ||
| int * | _final_size ) |
Definition at line 1875 of file _infrastructure.c.
| void unfreeze_vars | ( | Environment * | _environment, |
| char * | _prefix ) |
Emit code for FREEZE ....
| _environment | Current calling environment |
| _name | Name of the procedure |
Definition at line 70 of file unfreeze.c.
| void upb | ( | Environment * | _environment, |
| char * | _line, | ||
| char * | _column, | ||
| char * | _width, | ||
| char * | _height ) |
| void upw | ( | Environment * | _environment, |
| char * | _line, | ||
| char * | _column, | ||
| char * | _width, | ||
| char * | _height ) |
| void use_tileset | ( | Environment * | _environment, |
| char * | _tileset ) |
Emit code for USE TILESET xxx.
| _environment | Current calling environment |
| _tileset | tileset to use |
Definition at line 63 of file use_tileset.c.
| Variable * variable_add | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
Add two variable and return the sum of them.
This function allows you to sum the value of two variables. Note that both variables must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _source | Source variable's name |
| _destination | Destination variable's name |
| EXIT_FAILURE | "Destination variable does not cast" |
| EXIT_FAILURE | "Source variable does not exist" |
Definition at line 4147 of file _infrastructure.c.
| Variable * variable_add_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _destination ) |
Add a variable with a constant, and return the sum of them.
This function allows you to sum the value of a variables and a constant. Note that variable must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _source | Source variable's name |
| _destination | Destination value to use |
| EXIT_FAILURE | "Destination variable does not cast" |
| EXIT_FAILURE | "Source variable does not exist" |
Definition at line 3868 of file _infrastructure.c.
| void variable_add_inplace | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _dest ) |
Definition at line 4288 of file _infrastructure.c.
| void variable_add_inplace_array | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
Add a variable to an array element, and return the sum of them on the array element.
| _environment | Current calling environment |
| _source | Source variable's name and destination of sum |
| _destination | Value to sum |
Definition at line 4483 of file _infrastructure.c.
| void variable_add_inplace_mt | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
Add two variable and return the sum of them on the first.
This function allows you to sum the value of two variables. Note that both variables must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _source | Source variable's name and destination of sum |
| _destination | Value to sum |
| EXIT_FAILURE | "Destination variable does not cast" |
| EXIT_FAILURE | "Source variable does not exist" |
Definition at line 4513 of file _infrastructure.c.
| void variable_add_inplace_type | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _field, | ||
| int | _dest ) |
Definition at line 4326 of file _infrastructure.c.
| void variable_add_inplace_type_vars | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _field, | ||
| char * | _dest ) |
Definition at line 4443 of file _infrastructure.c.
| void variable_add_inplace_vars | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
Add two variable and return the sum of them on the first.
This function allows you to sum the value of two variables. Note that both variables must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _source | Source variable's name and destination of sum |
| _destination | Value to sum |
| EXIT_FAILURE | "Destination variable does not cast" |
| EXIT_FAILURE | "Source variable does not exist" |
Definition at line 4377 of file _infrastructure.c.
| Variable * variable_and | ( | Environment * | _environment, |
| char * | _left, | ||
| char * | _right ) |
Calculate logical "and" and return it as the result.
This function allows you to emit code to make a logical AND between two expressions, and return the result as boolean.
| _environment | Current calling environment |
| _left | Left expression to check |
| _right | Right expression to check |
Definition at line 6816 of file _infrastructure.c.
| Variable * variable_and_const | ( | Environment * | _environment, |
| char * | _destination, | ||
| int | _mask ) |
Calculate "and" mask for a variable and it as the result.
This function allows you to subdivide the value of a variable for two for various times. Note that variable must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _destination | Destination variable's name |
| _mask | And mask to apply |
| EXIT_FAILURE | "Destination variable does not exist" |
Definition at line 6781 of file _infrastructure.c.
| Variable * variable_array_count_vars | ( | Environment * | _environment, |
| char * | _name, | ||
| char * | _target ) |
Definition at line 12042 of file _infrastructure.c.
| void variable_array_fill | ( | Environment * | _environment, |
| char * | _name, | ||
| int | _value ) |
Definition at line 12423 of file _infrastructure.c.
| void variable_array_fill_incremental | ( | Environment * | _environment, |
| char * | _name, | ||
| int | _min, | ||
| int | _count ) |
Definition at line 12563 of file _infrastructure.c.
| void variable_array_fill_random | ( | Environment * | _environment, |
| char * | _name, | ||
| int | _base, | ||
| int | _min_value, | ||
| int | _max_value, | ||
| int | _count, | ||
| int | _boolean ) |
Definition at line 12449 of file _infrastructure.c.
| Variable * variable_array_max_vars | ( | Environment * | _environment, |
| char * | _name ) |
Definition at line 12230 of file _infrastructure.c.
| Variable * variable_array_min_vars | ( | Environment * | _environment, |
| char * | _name ) |
Definition at line 12321 of file _infrastructure.c.
| void variable_array_shuffle | ( | Environment * | _environment, |
| char * | _name, | ||
| int | _rounds ) |
Definition at line 12637 of file _infrastructure.c.
| Variable * variable_array_sum_vars | ( | Environment * | _environment, |
| char * | _name ) |
Definition at line 12142 of file _infrastructure.c.
| Variable * variable_array_type | ( | Environment * | _environment, |
| char * | _name, | ||
| VariableType | _type ) |
Definition at line 1138 of file _infrastructure.c.
| Variable * variable_bin | ( | Environment * | _environment, |
| char * | _value, | ||
| char * | _digits, | ||
| char * | _zero, | ||
| char * | _one ) |
Emit code for <string>BIN(...).
Emit the code to convert the given value in a binary string.
| _environment | Current calling environment |
| _value | Value to convert into string |
| _digits | Number of digits to represent |
Definition at line 11219 of file _infrastructure.c.
| Variable * variable_bit | ( | Environment * | _environment, |
| char * | _value, | ||
| char * | _position ) |
Emit code for HAS BIT / BIT(...).
| _environment | Current calling environment |
| _value | Value to check at bit level |
| _position | Position to check at bit level |
Definition at line 11461 of file _infrastructure.c.
| Variable * variable_by_constant | ( | Environment * | _environment, |
| VariableType | _type, | ||
| int | _value ) |
Definition at line 1848 of file _infrastructure.c.
| Variable * variable_cast | ( | Environment * | _environment, |
| char * | _source, | ||
| VariableType | _type ) |
Cast a variable from a type to another.
This function can be called to convert a variable from one type to another. The function takes care of both creating a temporary variable and copying the value into it, conveying it differently depending on the type. The variable must exist in order to work, otherwise an exception will be thrown.
| _environment | Current calling environment |
| _source | Source variable's name |
| _type | Required type |
| EXIT_FAILURE | "Cannot find source var" |
Definition at line 1636 of file _infrastructure.c.
| void variable_cleanup | ( | Environment * | _environment | ) |
Emit source and configuration lines for variables.
This function can be called to generate all the definitions (on the source file, on the configuration file and on any support file) necessary to implement the variables.
| _environment | Current calling environment |
| Variable * variable_compare | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
Compare two variable and return the result of comparation.
This function allows you to compare the value of two variables. Note that both variables must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _source | Source variable's name |
| _destination | Destination variable's name |
| EXIT_FAILURE | "Destination variable does not cast" |
| EXIT_FAILURE | "Source variable does not exist" |
Definition at line 5979 of file _infrastructure.c.
| void variable_compare_and_branch_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _destination, | ||
| char * | _name, | ||
| int | _positive ) |
Definition at line 5920 of file _infrastructure.c.
| Variable * variable_compare_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _destination ) |
Compare two variable and return the result of comparation.
This function allows you to compare the value of two variables. Note that both variables must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _source | Source variable's name |
| _destination | Destination variable's name |
| EXIT_FAILURE | "Destination variable does not cast" |
| EXIT_FAILURE | "Source variable does not exist" |
Definition at line 6409 of file _infrastructure.c.
| Variable * variable_compare_not | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
Compare two variable and return the result of comparation.
This function allows you to compare the value of two variables. Note that both variables must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _source | Source variable's name |
| _destination | Destination variable's name |
| EXIT_FAILURE | "Destination variable does not cast" |
| EXIT_FAILURE | "Source variable does not exist" |
Definition at line 6489 of file _infrastructure.c.
| Variable * variable_compare_not_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _destination ) |
Compare two variable and return the result of comparation.
This function allows you to compare the value of two variables. Note that both variables must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _source | Source variable's name |
| _destination | Destination variable's name |
| EXIT_FAILURE | "Destination variable does not cast" |
| EXIT_FAILURE | "Source variable does not exist" |
Definition at line 6449 of file _infrastructure.c.
| Variable * variable_complement_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _value ) |
Calculate the complement of a variable.
This function allows you to calculate a complement of the value of one variable. Note that the variable must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _destination | Destination variable's name |
| _value | Value to use for complement |
| EXIT_FAILURE | "Destination variable does not exist" |
Definition at line 5060 of file _infrastructure.c.
| void variable_decrement | ( | Environment * | _environment, |
| char * | _source ) |
Decrement a variable by one.
| _environment | Current calling environment |
| _source | Source variable's name |
Definition at line 5814 of file _infrastructure.c.
| void variable_decrement_array | ( | Environment * | _environment, |
| char * | _source ) |
Definition at line 17117 of file _infrastructure.c.
| void variable_decrement_array_type | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _field ) |
Definition at line 17109 of file _infrastructure.c.
| void variable_decrement_mt | ( | Environment * | _environment, |
| char * | _source ) |
Decrement a variable by one.
| _environment | Current calling environment |
| _source | Source variable's name |
Definition at line 5890 of file _infrastructure.c.
| void variable_decrement_type | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _field ) |
Definition at line 5846 of file _infrastructure.c.
| Variable * variable_define | ( | Environment * | _environment, |
| char * | _name, | ||
| VariableType | _type, | ||
| int | _value ) |
Define a variable for the program.
This function is necessary to define a variable within the program. This call reserves a space compatible with the given variable type, and assigns it to the given name. The initial value of the variable is also passed.
Allowed types:
It is possible to call the function several times with the same variable name: a single memory space will always be reserved. If the type differs, an exception will be thrown. Note that the variable will be defined in the last bank defined by the BANK command as VARIABLES. In other words, it is possible to define different variables in different banks, thus optimizing the space occupied by the program.
| _environment | Current calling environment |
| _name | Name of the variable to define |
| _type | Type of the variable to define |
| _value | Inital valure |
| EXIT_FAILURE | "Variable redefined with a different type" |
Definition at line 718 of file _infrastructure.c.
| Variable * variable_define_no_init | ( | Environment * | _environment, |
| char * | _name, | ||
| VariableType | _type ) |
Definition at line 912 of file _infrastructure.c.
| int variable_delete | ( | Environment * | _environment, |
| char * | _name ) |
Definition at line 1006 of file _infrastructure.c.
| Variable * variable_direct_assign | ( | Environment * | _environment, |
| char * | _var, | ||
| char * | _expr ) |
Definition at line 14639 of file _infrastructure.c.
| Variable * variable_div | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| char * | _remainder ) |
Make a division between two variable and return the product of them.
| _environment | Current calling environment |
| _source | Source variable's name |
| _destination | Destination variable's name |
Definition at line 5238 of file _infrastructure.c.
| Variable * variable_div2_const | ( | Environment * | _environment, |
| char * | _destination, | ||
| int | _bits, | ||
| char * | _remainder ) |
Subdivide by two a variable for various times and return the result.
This function allows you to subdivide the value of a variable for two for various times. Note that variable must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _destination | Destination variable's name |
| _bits | Times to subdivide |
| EXIT_FAILURE | "Destination variable does not exist" |
Definition at line 6608 of file _infrastructure.c.
| Variable * variable_div_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _dest, | ||
| char * | _remainder ) |
Definition at line 5385 of file _infrastructure.c.
| int variable_exists | ( | Environment * | _environment, |
| char * | _name ) |
Definition at line 994 of file _infrastructure.c.
| int variable_exists_by_realname | ( | Environment * | _environment, |
| char * | _name ) |
Definition at line 1000 of file _infrastructure.c.
| Variable * variable_export | ( | Environment * | _environment, |
| char * | _name, | ||
| VariableType | _type, | ||
| int | _size_or_value ) |
Definition at line 849 of file _infrastructure.c.
| Variable * variable_flip | ( | Environment * | _environment, |
| char * | _variable ) |
Definition at line 9746 of file _infrastructure.c.
| void variable_global | ( | Environment * | _environment, |
| char * | _pattern ) |
Definition at line 467 of file _infrastructure.c.
| Variable * variable_greater_than | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| int | _equal ) |
Compare two variable and return the result of comparation.
This function allows you to compare the value of two variables. Note that both variables must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _source | Source variable's name |
| _destination | Destination variable's name |
| _equal | True if equal |
| EXIT_FAILURE | "Destination variable does not cast" |
| EXIT_FAILURE | "Source variable does not exist" |
Definition at line 7580 of file _infrastructure.c.
| Variable * variable_greater_than_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _dest, | ||
| int | _equal ) |
Definition at line 7917 of file _infrastructure.c.
| Variable * variable_hex | ( | Environment * | _environment, |
| char * | _value, | ||
| int | _separator ) |
Emit code for = HEX( ... ).
| _environment | Current calling environment |
| _value | Number to convert to hexadecimal |
Definition at line 9303 of file _infrastructure.c.
| Variable * variable_hex2bin | ( | Environment * | _environment, |
| char * | _value, | ||
| char * | _variable ) |
Emit code for = HEX2BIN( ... ).
| _environment | Current calling environment |
| _value | Number to convert to hexadecimal |
Definition at line 9393 of file _infrastructure.c.
| Variable * variable_import | ( | Environment * | _environment, |
| char * | _name, | ||
| VariableType | _type, | ||
| int | _size_or_value ) |
Definition at line 778 of file _infrastructure.c.
| void variable_increment | ( | Environment * | _environment, |
| char * | _source ) |
Increment a variable by one.
| _environment | Current calling environment |
| _source | Source variable's name |
Definition at line 5494 of file _infrastructure.c.
| void variable_increment_array | ( | Environment * | _environment, |
| char * | _source ) |
Definition at line 17113 of file _infrastructure.c.
| void variable_increment_array_type | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _field ) |
Definition at line 17105 of file _infrastructure.c.
| void variable_increment_mt | ( | Environment * | _environment, |
| char * | _source ) |
Increment a variable by one.
| _environment | Current calling environment |
| _source | Source variable's name |
Definition at line 5740 of file _infrastructure.c.
| void variable_increment_type | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _field ) |
Definition at line 5524 of file _infrastructure.c.
| Variable * variable_int | ( | Environment * | _environment, |
| char * | _expression ) |
Definition at line 15145 of file _infrastructure.c.
| Variable * variable_less_than | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| int | _equal ) |
Compare two variable and return the result of comparation.
This function allows you to compare the value of two variables. Note that both variables must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _source | Source variable's name |
| _destination | Destination variable's name |
| _equal | True if equal |
| EXIT_FAILURE | "Destination variable does not cast" |
| EXIT_FAILURE | "Source variable does not exist" |
Definition at line 7225 of file _infrastructure.c.
| Variable * variable_less_than_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _dest, | ||
| int | _equal ) |
Definition at line 7533 of file _infrastructure.c.
| Variable * variable_mod | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
Definition at line 11646 of file _infrastructure.c.
| Variable * variable_move | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
Store the value of a variable inside another variable by converting it.
This function allows you to store the value of one variable in another, making it (implicitly) cast (type conversion). Note that both variables must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _source | Destination variable's name |
| _destination | Destination variable's name |
| EXIT_FAILURE | "Destination variable does not exist" |
| EXIT_FAILURE | "Source variable does not cast" |
Definition at line 3089 of file _infrastructure.c.
| void variable_move_array | ( | Environment * | _environment, |
| char * | _array, | ||
| char * | _value ) |
Definition at line 10527 of file _infrastructure.c.
| void variable_move_array1_type | ( | Environment * | _environment, |
| char * | _array, | ||
| char * | _index, | ||
| char * | _field, | ||
| char * | _value ) |
Definition at line 16687 of file _infrastructure.c.
| void variable_move_array1_type_const | ( | Environment * | _environment, |
| char * | _array, | ||
| char * | _index, | ||
| char * | _field, | ||
| int | _value ) |
Definition at line 16914 of file _infrastructure.c.
| void variable_move_array1_type_fields | ( | Environment * | _environment, |
| char * | _array, | ||
| char * | _index, | ||
| char * | _field1, | ||
| char * | _field2 ) |
Definition at line 16796 of file _infrastructure.c.
| void variable_move_array_string | ( | Environment * | _environment, |
| char * | _array, | ||
| char * | _string ) |
Definition at line 10551 of file _infrastructure.c.
| void variable_move_array_type | ( | Environment * | _environment, |
| char * | _array, | ||
| char * | _field, | ||
| char * | _value ) |
Definition at line 16288 of file _infrastructure.c.
| Variable * variable_move_from_array | ( | Environment * | _environment, |
| char * | _array ) |
Definition at line 11077 of file _infrastructure.c.
| Variable * variable_move_from_array1_type | ( | Environment * | _environment, |
| char * | _array, | ||
| char * | _index, | ||
| char * | _field ) |
Definition at line 16655 of file _infrastructure.c.
| void variable_move_from_array1_type_inplace | ( | Environment * | _environment, |
| char * | _array, | ||
| char * | _index, | ||
| char * | _field, | ||
| char * | _value ) |
Definition at line 16546 of file _infrastructure.c.
| void variable_move_from_array_inplace | ( | Environment * | _environment, |
| char * | _array, | ||
| char * | _value ) |
Definition at line 11056 of file _infrastructure.c.
| Variable * variable_move_from_array_type | ( | Environment * | _environment, |
| char * | _array, | ||
| char * | _field ) |
Definition at line 16406 of file _infrastructure.c.
| void variable_move_from_array_type_inplace | ( | Environment * | _environment, |
| char * | _array, | ||
| char * | _field, | ||
| char * | _value ) |
Definition at line 16438 of file _infrastructure.c.
| Variable * variable_move_from_mt | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
Increment a variable by one.
| _environment | Current calling environment |
| _source | Source variable's name |
Definition at line 5696 of file _infrastructure.c.
| Variable * variable_move_from_type | ( | Environment * | _environment, |
| char * | _type, | ||
| char * | _field ) |
Definition at line 16177 of file _infrastructure.c.
| void variable_move_from_type_inplace | ( | Environment * | _environment, |
| char * | _type, | ||
| char * | _field, | ||
| char * | _value ) |
Definition at line 16196 of file _infrastructure.c.
| Variable * variable_move_naked | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
Store the value of a variable inside another variable without conversion.
This function allows you to store the value of one variable in another, without cast (type conversion). Note that both variables must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _source | Destination variable's name |
| _destination | Destination variable's name |
| EXIT_FAILURE | "Destination variable does not exist" |
| EXIT_FAILURE | "Source variable does not exist" |
Definition at line 3922 of file _infrastructure.c.
| Variable * variable_move_to_mt | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
Definition at line 5716 of file _infrastructure.c.
| void variable_move_type | ( | Environment * | _environment, |
| char * | _type, | ||
| char * | _field, | ||
| char * | _value ) |
Definition at line 16243 of file _infrastructure.c.
| Variable * variable_mul | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
Make a multiplication between two variable and return the product of them.
This function allows you to multiplicate the value of two variables. Note that both variables must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _source | Source variable's name |
| _destination | Destination variable's name |
| EXIT_FAILURE | "Destination variable does not cast" |
| EXIT_FAILURE | "Source variable does not exist" |
Definition at line 5097 of file _infrastructure.c.
| Variable * variable_mul2_const | ( | Environment * | _environment, |
| char * | _destination, | ||
| int | _steps ) |
Double a variable for various times and return the result.
This function allows you to double the value of a variable for various times. Note that variable must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _destination | Destination variable's name |
| EXIT_FAILURE | "Destination variable does not exist" |
Definition at line 6508 of file _infrastructure.c.
| Variable * variable_not | ( | Environment * | _environment, |
| char * | _value ) |
Calculate logical "not" and return it as the result.
This function allows you to emit code to make a logical OR between two expressions, and return the result as boolean.
| _environment | Current calling environment |
| _value | Left expression to check |
Definition at line 7183 of file _infrastructure.c.
| void variable_on_memory_init | ( | Environment * | _environment, |
| int | _imported_too ) |
| Variable * variable_or | ( | Environment * | _environment, |
| char * | _left, | ||
| char * | _right ) |
Calculate logical "or" and return it as the result.
This function allows you to emit code to make a logical OR between two expressions, and return the result as boolean.
| _environment | Current calling environment |
| _left | Left expression to check |
| _right | Right expression to check |
Definition at line 7070 of file _infrastructure.c.
| void variable_reset | ( | Environment * | _environment | ) |
Reset the usage flags for the temporary variable pool.
This function allows you to reset the use flag of each temporary variable in the pool. The purpose of this function is to allow the reuse of variables.
| _environment | Current calling environment |
Definition at line 1128 of file _infrastructure.c.
| Variable * variable_resident | ( | Environment * | _environment, |
| VariableType | _type, | ||
| char * | _meaning ) |
Definition at line 1518 of file _infrastructure.c.
| Variable * variable_resize_buffer | ( | Environment * | _environment, |
| char * | _destination, | ||
| int | _size ) |
Resize the (static) size of a buffer.
| _environment | Current calling environment |
| _destination | Destination variable's name |
| _size | Size of the buffer, in bytes |
Definition at line 2162 of file _infrastructure.c.
| Variable * variable_retrieve | ( | Environment * | _environment, |
| char * | _name ) |
Definition at line 988 of file _infrastructure.c.
| Variable * variable_retrieve_by_realname | ( | Environment * | _environment, |
| char * | _name ) |
Definition at line 967 of file _infrastructure.c.
| Variable * variable_retrieve_or_define | ( | Environment * | _environment, |
| char * | _name, | ||
| VariableType | _type, | ||
| int | _value ) |
Definition at line 1040 of file _infrastructure.c.
| void variable_set_type | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _type ) |
Definition at line 16159 of file _infrastructure.c.
| Variable * variable_sl_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _bits ) |
Definition at line 6553 of file _infrastructure.c.
| Variable * variable_sr_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _bits ) |
Definition at line 6647 of file _infrastructure.c.
| Variable * variable_store | ( | Environment * | _environment, |
| char * | _destination, | ||
| unsigned int | _value ) |
Store a direct value to a variable.
This function outputs code to initialize a variable to a specific direct value. The variable must exist in order to work, otherwise an exception will be thrown.
| _environment | Current calling environment |
| _destination | Destination variable's name |
| _value | Value to assign |
| EXIT_FAILURE | "Destination variable does not exists" |
Definition at line 1720 of file _infrastructure.c.
| Variable * variable_store_array | ( | Environment * | _environment, |
| char * | _destination, | ||
| unsigned char * | _buffer, | ||
| int | _size, | ||
| int | _at ) |
Definition at line 2224 of file _infrastructure.c.
| void variable_store_array_const | ( | Environment * | _environment, |
| char * | _array, | ||
| int | _value ) |
Definition at line 10245 of file _infrastructure.c.
| Variable * variable_store_buffer | ( | Environment * | _environment, |
| char * | _destination, | ||
| unsigned char * | _buffer, | ||
| int | _size, | ||
| int | _at ) |
Definition at line 2175 of file _infrastructure.c.
| Variable * variable_store_float | ( | Environment * | _environment, |
| char * | _destination, | ||
| double | _value ) |
Store a string to a variable.
| _environment | Current calling environment |
| _destination | Destination variable's name |
| _value | Value to assign |
Definition at line 2038 of file _infrastructure.c.
| void variable_store_mt | ( | Environment * | _environment, |
| char * | _source, | ||
| unsigned int | _value ) |
Store a variable's value.
| _environment | Current calling environment |
| _source | Source variable's name |
Definition at line 5675 of file _infrastructure.c.
| Variable * variable_store_string | ( | Environment * | _environment, |
| char * | _destination, | ||
| char * | _value ) |
Store a string to a variable.
| _environment | Current calling environment |
| _destination | Destination variable's name |
| _value | Value to assign |
Definition at line 1995 of file _infrastructure.c.
| Variable * variable_store_type | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _signed, | ||
| unsigned int | _value ) |
Definition at line 1808 of file _infrastructure.c.
| Variable * variable_string_asc | ( | Environment * | _environment, |
| char * | _char ) |
Emit code for = ASC( ... ).
| _environment | Current calling environment |
| _char | String to convert to ascii |
Definition at line 9927 of file _infrastructure.c.
| Variable * variable_string_chr | ( | Environment * | _environment, |
| char * | _ascii ) |
Emit code for = CHR( ... ).
| _environment | Current calling environment |
| _ascii | ASCII value to convert to string |
Definition at line 9822 of file _infrastructure.c.
| Variable * variable_string_dup | ( | Environment * | _environment, |
| char * | _string, | ||
| char * | _repetitions ) |
Definition at line 9578 of file _infrastructure.c.
| Variable * variable_string_flip | ( | Environment * | _environment, |
| char * | _string ) |
Emit code for = FLIP( ... ).
| _environment | Current calling environment |
| _string | String to flip |
Definition at line 9710 of file _infrastructure.c.
| Variable * variable_string_insert | ( | Environment * | _environment, |
| char * | _string, | ||
| char * | _altstring, | ||
| char * | _pos ) |
Definition at line 15281 of file _infrastructure.c.
| Variable * variable_string_inst | ( | Environment * | _environment, |
| char * | _string, | ||
| char * | _altstring, | ||
| char * | _pos ) |
Definition at line 15357 of file _infrastructure.c.
| Variable * variable_string_instr | ( | Environment * | _environment, |
| char * | _search, | ||
| char * | _searched, | ||
| char * | _start ) |
Emit code for = INSTR( ..., ... [, ...] ).
| _environment | Current calling environment |
| _search | String to be searched |
| _searched | String to search |
| _start | Starting position to start to search |
Definition at line 8795 of file _infrastructure.c.
| Variable * variable_string_left | ( | Environment * | _environment, |
| char * | _string, | ||
| char * | _position ) |
Emit code for = LEFT( ..., ... ).
| _environment | Current calling environment |
| _string | String to extract text from |
| _position | Position to start from |
Definition at line 7994 of file _infrastructure.c.
| void variable_string_left_assign | ( | Environment * | _environment, |
| char * | _string, | ||
| char * | _position, | ||
| char * | _expression ) |
Emit code for LEFT( ..., ... ) = ....
| _environment | Current calling environment |
| _string | String to extract text from |
| _position | Position to start from |
Definition at line 8085 of file _infrastructure.c.
| Variable * variable_string_len | ( | Environment * | _environment, |
| char * | _string ) |
Emit code for = LEN( ... ).
| _environment | Current calling environment |
| _string | String to examinate |
Definition at line 10007 of file _infrastructure.c.
| Variable * variable_string_lower | ( | Environment * | _environment, |
| char * | _string ) |
Emit code for = UPPER( ... ).
| _environment | Current calling environment |
| _string | String to convert in lower case |
Definition at line 8944 of file _infrastructure.c.
| Variable * variable_string_mid | ( | Environment * | _environment, |
| char * | _string, | ||
| char * | _position, | ||
| char * | _len ) |
Emit code for = MID( ..., ... [, ...] ).
| _environment | Current calling environment |
| _string | String to extract text from |
| _position | Position to start from |
| _len | Length to extract |
Definition at line 8397 of file _infrastructure.c.
| void variable_string_mid_assign | ( | Environment * | _environment, |
| char * | _string, | ||
| char * | _position, | ||
| char * | _len, | ||
| char * | _expression ) |
Emit code for MID( ..., ... [, ...] ) = ....
| _environment | Current calling environment |
| _string | String to extract text from |
| _position | Position to start from |
| _len | Length to extract |
Definition at line 8657 of file _infrastructure.c.
| Variable * variable_string_pick | ( | Environment * | _environment, |
| char * | _string, | ||
| int | _position ) |
Definition at line 15401 of file _infrastructure.c.
| Variable * variable_string_right | ( | Environment * | _environment, |
| char * | _string, | ||
| char * | _position ) |
Emit code for = LEFT( ..., ... ).
| _environment | Current calling environment |
| _string | String to extract text from |
| _position | Position to start from |
Definition at line 8201 of file _infrastructure.c.
| void variable_string_right_assign | ( | Environment * | _environment, |
| char * | _string, | ||
| char * | _position, | ||
| char * | _expression ) |
Emit code for RIGHT( ..., ... ) = ....
| _environment | Current calling environment |
| _string | String to extract text from |
| _position | Position to start from |
Definition at line 8307 of file _infrastructure.c.
| Variable * variable_string_space | ( | Environment * | _environment, |
| char * | _repetitions ) |
Emit code for = SPACE( ... ).
| _environment | Current calling environment |
| _repetitions | Number of spaces to produce in output string |
Definition at line 9669 of file _infrastructure.c.
| Variable * variable_string_str | ( | Environment * | _environment, |
| char * | _value ) |
Emit code for = STR( ... ).
| _environment | Current calling environment |
| _value | Number to convert to string |
Definition at line 9104 of file _infrastructure.c.
| Variable * variable_string_string | ( | Environment * | _environment, |
| char * | _string, | ||
| char * | _repetitions ) |
Emit code for = STRING( ..., ... ).
| _environment | Current calling environment |
| _string | String to use as base (the first letter) |
| _repetitions | Number of repetition of output string |
Definition at line 9495 of file _infrastructure.c.
| Variable * variable_string_substring | ( | Environment * | _environment, |
| char * | _string, | ||
| char * | _start, | ||
| char * | _end ) |
Emit code for = SUBSTRING( ..., ... [, ...] ).
| _environment | Current calling environment |
| _string | String to extract text from |
| _start | Position to start from |
| _end | Length to end to |
Definition at line 8566 of file _infrastructure.c.
| Variable * variable_string_upper | ( | Environment * | _environment, |
| char * | _string ) |
Emit code for = UPPER( ... ).
| _environment | Current calling environment |
| _string | String to convert in uppercase |
Definition at line 9039 of file _infrastructure.c.
| Variable * variable_string_val | ( | Environment * | _environment, |
| char * | _value ) |
Emit code for = VAL( ... ).
| _environment | Current calling environment |
| _value | String to convert to number |
Definition at line 9201 of file _infrastructure.c.
| Variable * variable_sub | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _dest ) |
Make a differenze between two variable and return the difference of them.
This function allows you to difference the value of two variables. Note that both variables must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _source | Source variable's name |
| _destination | Destination variable's name |
| EXIT_FAILURE | "Destination variable does not cast" |
| EXIT_FAILURE | "Source variable does not exist" |
Definition at line 4660 of file _infrastructure.c.
| Variable * variable_sub_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _destination ) |
Make a differenze between a variable a constant, and return the difference of them.
This function allows you to difference the value of a variable and a constant. Note that both variable must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _source | Source variable's name |
| _destination | Value to subtract |
| EXIT_FAILURE | "Destination variable does not cast" |
| EXIT_FAILURE | "Source variable does not exist" |
Definition at line 4786 of file _infrastructure.c.
| void variable_sub_inplace | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _dest ) |
Make a differenze between two variable and assign the difference of them to the first.
This function allows you to difference the value of two variables. Note that both variables must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _source | Source variable's name and destination of the subtraction |
| _destination | Destination variable's name |
| EXIT_FAILURE | "Destination variable does not cast" |
| EXIT_FAILURE | "Source variable does not exist" |
Definition at line 4834 of file _infrastructure.c.
| void variable_swap | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _dest ) |
Swap values of two variables.
This function allows you to swap the value of two variables. Note that none variable must pre-exist before the operation.
| _environment | Current calling environment |
| _source | Source variable's name |
| _destination | Destination variable's name |
Definition at line 4984 of file _infrastructure.c.
| Variable * variable_temporary | ( | Environment * | _environment, |
| VariableType | _type, | ||
| char * | _meaning ) |
Define a temporary variable.
This function is necessary to define a temporary variable. This call will search for a (unused) temporary variable of the same type. If there is none, a new temporary variable will be reserved. The name will be chosen so as not to collide with either existing temporary variables or already defined actual variables. Note that the variable will be defined in the last bank defined by the BANK command as TEMPORARY. In other words, it is possible to define different variables in different banks, thus optimizing the space occupied by the program.
Allowed types:
| _environment | Current calling environment |
| _type | Type of the variable to define |
Definition at line 1388 of file _infrastructure.c.
| void variable_temporary_remove | ( | Environment * | _environment, |
| char * | _name ) |
Definition at line 12956 of file _infrastructure.c.
| VariableType variable_type_from_numeric_value | ( | Environment * | _environment, |
| int | _number ) |
Definition at line 14807 of file _infrastructure.c.
| Variable * variable_xor | ( | Environment * | _environment, |
| char * | _left, | ||
| char * | _right ) |
Calculate logical "xor" and return it as the result.
This function allows you to emit code to make a logical XOR between two expressions, and return the result as boolean.
| _environment | Current calling environment |
| _left | Left expression to check |
| _right | Right expression to check |
Definition at line 6943 of file _infrastructure.c.
| void variable_xor_inplace | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _dest ) |
Definition at line 4537 of file _infrastructure.c.
| void variable_xor_inplace_mt | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
Add two variable and return the sum of them on the first.
This function allows you to sum the value of two variables. Note that both variables must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _source | Source variable's name and destination of sum |
| _destination | Value to sum |
| EXIT_FAILURE | "Destination variable does not cast" |
| EXIT_FAILURE | "Source variable does not exist" |
Definition at line 4620 of file _infrastructure.c.
| void variable_xor_inplace_vars | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
Add two variable and return the sum of them on the first.
This function allows you to sum the value of two variables. Note that both variables must pre-exist before the operation, under penalty of an exception.
| _environment | Current calling environment |
| _source | Source variable's name and destination of sum |
| _destination | Value to sum |
| EXIT_FAILURE | "Destination variable does not cast" |
| EXIT_FAILURE | "Source variable does not exist" |
Definition at line 4576 of file _infrastructure.c.
| Variable * varptr | ( | Environment * | _environment, |
| char * | _name ) |
Emit code for function = VARPTR( ... ).
| _environment | Current calling environment |
| _identifier | Identifier to explore |
| void vars_emit_constant_integer | ( | Environment * | _environment, |
| char * | _name, | ||
| int | _value ) |
| void vars_emit_constants | ( | Environment * | _environment | ) |
| void vars_emit_strips | ( | Environment * | _environment, |
| char * | _name, | ||
| Strip * | _strips ) |
| void vcenter | ( | Environment * | _environment, |
| char * | _string, | ||
| int | _newline ) |
| Variable * vector_get_x | ( | Environment * | _environment, |
| char * | _vector ) |
Definition at line 60 of file vector_get_x.c.
| Variable * vector_get_y | ( | Environment * | _environment, |
| char * | _vector ) |
Definition at line 60 of file vector_get_y.c.
| void vhcenter | ( | Environment * | _environment, |
| char * | _string, | ||
| int | _newline, | ||
| char * | _width ) |
Emit code for CENTRE ....
| _environment | Current calling environment |
| _string | String to center |
Definition at line 111 of file vhcenter.c.
| void volume | ( | Environment * | _environment, |
| int | _volume, | ||
| int | _channels ) |
| void volume_off | ( | Environment * | _environment, |
| int | _channels ) |
Emit ASM code for VOLUME OFF.
This function emits a code capable to turn off the volume.
| _environment | Current calling environment |
| _channels | channels to mute |
Definition at line 68 of file volume_off.c.
| void volume_off_var | ( | Environment * | _environment, |
| char * | _channels ) |
Emit ASM code for VOLUME OFF.
This function emits a code capable to mute the audio generated.
| _environment | Current calling environment |
| _channels | channels to play on |
Definition at line 91 of file volume_off.c.
| void volume_vars | ( | Environment * | _environment, |
| char * | _volume, | ||
| char * | _channels ) |
| void wait_cycles | ( | Environment * | _environment, |
| int | _timing, | ||
| int | _parallel ) |
Emit ASM code for WAIT # [integer] CYCLES.
This function outputs a code that engages the CPU in a busy wait.
| _environment | Current calling environment |
| _timing | Number of cycles to wait |
Emit ASM code for WAIT # [integer] CYCLES.
This function outputs a code that engages the CPU in a busy wait.
| _environment | Current calling environment |
| _timing | Number of cycles to wait |
Definition at line 49 of file wait_cycles.c.
| void wait_cycles_var | ( | Environment * | _environment, |
| char * | _timing, | ||
| int | _parallel ) |
Emit ASM code for WAIT [expression] CYCLES.
This function outputs a code that engages the CPU in a busy wait.
| _environment | Current calling environment |
| _timing | Number of cycles to wait |
Emit ASM code for WAIT [expression] CYCLES.
This function outputs a code that engages the CPU in a busy wait.
| _environment | Current calling environment |
| _timing | Number of cycles to wait |
Definition at line 109 of file wait_cycles.c.
| void wait_fire | ( | Environment * | _environment, |
| int | _port, | ||
| int | _release ) |
Definition at line 43 of file wait_fire.c.
| void wait_fire_semivar | ( | Environment * | _environment, |
| char * | _port, | ||
| int | _release ) |
Definition at line 49 of file wait_fire.c.
| void wait_key | ( | Environment * | _environment, |
| int | _release ) |
Definition at line 43 of file wait_key.c.
| void wait_key_or_fire | ( | Environment * | _environment, |
| int | _port, | ||
| int | _release ) |
Definition at line 43 of file wait_key_or_fire.c.
| void wait_key_or_fire_semivar | ( | Environment * | _environment, |
| char * | _port, | ||
| int | _release ) |
Definition at line 49 of file wait_key_or_fire.c.
| void wait_milliseconds | ( | Environment * | _environment, |
| int | _timing ) |
Emit ASM code for WAIT # [integer] MS.
This function outputs a code that engages the CPU in a busy wait.
| _environment | Current calling environment |
| _timing | Number of cycles to wait |
Definition at line 49 of file wait_milliseconds.c.
| void wait_milliseconds_var | ( | Environment * | _environment, |
| char * | _timing ) |
Emit ASM code for WAIT [expression] MILLISECONDS.
This function outputs a code that engages the CPU in a busy wait.
| _environment | Current calling environment |
| _timing | Number of cycles to wait |
Definition at line 99 of file wait_milliseconds.c.
| void wait_parallel | ( | Environment * | _environment, |
| char * | _thread ) |
Emit code for WAIT PARALLEL ....
| _environment | Current calling environment |
Definition at line 68 of file wait_parallel.c.
| void wait_ticks | ( | Environment * | _environment, |
| int | _timing ) |
Emit ASM code for WAIT # [integer] TICKS.
This function outputs a code that engages the CPU in a busy wait.
| _environment | Current calling environment |
| _timing | Number of cycles to wait |
Definition at line 49 of file wait_ticks.c.
| void wait_ticks_var | ( | Environment * | _environment, |
| char * | _timing ) |
Emit ASM code for WAIT [expression] TICKS.
This function outputs a code that engages the CPU in a busy wait.
| _environment | Current calling environment |
| _timing | Number of cycles to wait |
Definition at line 65 of file wait_ticks.c.
| void wait_until | ( | Environment * | _environment | ) |
Emit code for WAIT UNTIL ....
| _environment | Current calling environment |
Definition at line 71 of file wait_until.c.
| void wait_until_condition | ( | Environment * | _environment, |
| char * | _condition ) |
Definition at line 77 of file wait_until.c.
| void wait_vbl | ( | Environment * | _environment, |
| char * | _raster_line ) |
Emit ASM code for WAIT VBL/b>.
This function outputs a code that waits for a vertical blank.
| _environment | Current calling environment |
Definition at line 53 of file wait_vbl.c.
| void wait_while | ( | Environment * | _environment | ) |
Emit code for WAIT WHILE ....
| _environment | Current calling environment |
Definition at line 71 of file wait_while.c.
| void wait_while_condition | ( | Environment * | _environment, |
| char * | _condition ) |
Definition at line 81 of file wait_while.c.
| void wave | ( | Environment * | _environment, |
| char * | _voice, | ||
| char * | _bits, | ||
| char * | _pulse ) |
| void writing | ( | Environment * | _environment, |
| char * | _mode, | ||
| char * | _parts ) |
| Variable * x_graphic_get | ( | Environment * | _environment, |
| char * | _x ) |
Return the graphic abscissa for the given text abscissa.
| _environment | Current calling environment |
| _value | Text abscissa |
Definition at line 82 of file x_graphics_get.c.
| Variable * x_text_get | ( | Environment * | _environment, |
| char * | _x ) |
Return the graphic abscissa for the given text abscissa.
| _environment | Current calling environment |
| _value | Text abscissa |
Definition at line 81 of file x_text_get.c.
| Variable * xpen | ( | Environment * | _environment | ) |
| Variable * y_graphic_get | ( | Environment * | _environment, |
| char * | _y ) |
Return the graphic ordinate for the given text ordinate.
| _environment | Current calling environment |
| _value | Text ordinate |
Definition at line 82 of file y_graphics_get.c.
| Variable * y_text_get | ( | Environment * | _environment, |
| char * | _y ) |
Return the text ordinate for the given graphic ordinate.
| _environment | Current calling environment |
| _value | Screen ordinate |
Definition at line 83 of file y_text_get.c.
| void yield | ( | Environment * | _environment | ) |
| Variable * ypen | ( | Environment * | _environment | ) |
| int yyerror | ( | Environment * | _ignored, |
| const char * | _message ) |
yyerror() is a syntactic error handling function. The parser (yyparse()) automatically calls yyerror() whenever it encounters a token that doesn't meet the defined grammatical rules. Information about where the error occurred is added.
Definition at line 54240 of file ugbc.tab.c.
|
extern |
This variable keeps track of the current column number when reading the input file.
Definition at line 133 of file ugbc.tab.c.
|
extern |
This variable keeps track of the current byte position when reading the input file.
Definition at line 138 of file ugbc.tab.c.