ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
c64reu.h
Go to the documentation of this file.
1#ifndef __UGBC_C64REU__
2#define __UGBC_C64REU__
3
4/*****************************************************************************
5 * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
6 *****************************************************************************
7 * Copyright 2021-2026 Marco Spedaletti (asimov@mclink.it)
8 *
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
12 *
13 * http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 *----------------------------------------------------------------------------
21 * Concesso in licenza secondo i termini della Licenza Apache, versione 2.0
22 * (la "Licenza"); è proibito usare questo file se non in conformità alla
23 * Licenza. Una copia della Licenza è disponibile all'indirizzo:
24 *
25 * http://www.apache.org/licenses/LICENSE-2.0
26 *
27 * Se non richiesto dalla legislazione vigente o concordato per iscritto,
28 * il software distribuito nei termini della Licenza è distribuito
29 * "COSì COM'è", SENZA GARANZIE O CONDIZIONI DI ALCUN TIPO, esplicite o
30 * implicite. Consultare la Licenza per il testo specifico che regola le
31 * autorizzazioni e le limitazioni previste dalla medesima.
32 ****************************************************************************/
33
34#include "../ugbc.h"
35
36#define SCREEN_CAPABILITIES ( ( 1<<TILEMAP_NATIVE ) | ( 1<<BITMAP_NATIVE ) )
37
38#define JOY_COUNT 2
39
40#define DEFAULT_PAINT_BUCKET_SIZE 512
41
42#define BANK_COUNT 0 // dynamic
43#define BANK_SIZE 0 // dynamic
44#define BANK_BASE_ADDRESS 0
45
46#define MAX_AUDIO_CHANNELS 3
47
48#define DSTRING_DEFAULT_COUNT 255
49#define DSTRING_DEFAULT_SPACE 1024
50
51void c64reu_xpen( Environment * _environment, char * _destination );
52void c64reu_ypen( Environment * _environment, char * _destination );
53
54void c64reu_dload( Environment * _environment, char * _filename, char * _offset, char * _address, char * _size );
55void c64reu_dsave( Environment * _environment, char * _filename, char * _offset, char * _address, char * _size );
56void c64reu_sys_call( Environment * _environment, int _destination );
57
58void c64reu_timer_set_status_on( Environment * _environment, char * _timer );
59void c64reu_timer_set_status_off( Environment * _environment, char * _timer );
60void c64reu_timer_set_counter( Environment * _environment, char * _timer, char * _counter );
61void c64reu_timer_set_init( Environment * _environment, char * _timer, char * _init );
62void c64reu_timer_set_address( Environment * _environment, char * _timer, char * _address );
63
64#endif
void c64reu_timer_set_address(Environment *_environment, char *_timer, char *_address)
Definition c64reu.c:273
void c64reu_xpen(Environment *_environment, char *_destination)
Definition c64reu.c:43
void c64reu_sys_call(Environment *_environment, int _destination)
Definition c64reu.c:191
void c64reu_timer_set_init(Environment *_environment, char *_timer, char *_init)
Definition c64reu.c:256
void c64reu_dload(Environment *_environment, char *_filename, char *_offset, char *_address, char *_size)
Definition c64reu.c:68
void c64reu_dsave(Environment *_environment, char *_filename, char *_offset, char *_address, char *_size)
Definition c64reu.c:122
void c64reu_ypen(Environment *_environment, char *_destination)
Definition c64reu.c:57
void c64reu_timer_set_counter(Environment *_environment, char *_timer, char *_counter)
Definition c64reu.c:233
void c64reu_timer_set_status_on(Environment *_environment, char *_timer)
Definition c64reu.c:205
void c64reu_timer_set_status_off(Environment *_environment, char *_timer)
Definition c64reu.c:219
struct _Environment Environment
Structure of compilation environment.