ugBASIC
1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
_init.c
Go to the documentation of this file.
1
/*****************************************************************************
2
* ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
3
*****************************************************************************
4
* Copyright 2021-2026 Marco Spedaletti (asimov@mclink.it)
5
*
6
* Licensed under the Apache License, Version 2.0 (the "License");
7
* you may not use this file except in compliance with the License.
8
* You may obtain a copy of the License at
9
*
10
* http://www.apache.org/licenses/LICENSE-2.0
11
*
12
* Unless required by applicable law or agreed to in writing, software
13
* distributed under the License is distributed on an "AS IS" BASIS,
14
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
* See the License for the specific language governing permissions and
16
* limitations under the License.
17
*----------------------------------------------------------------------------
18
* Concesso in licenza secondo i termini della Licenza Apache, versione 2.0
19
* (la "Licenza"); è proibito usare questo file se non in conformità alla
20
* Licenza. Una copia della Licenza è disponibile all'indirizzo:
21
*
22
* http://www.apache.org/licenses/LICENSE-2.0
23
*
24
* Se non richiesto dalla legislazione vigente o concordato per iscritto,
25
* il software distribuito nei termini della Licenza è distribuito
26
* "COSÌ COM'È", SENZA GARANZIE O CONDIZIONI DI ALCUN TIPO, esplicite o
27
* implicite. Consultare la Licenza per il testo specifico che regola le
28
* autorizzazioni e le limitazioni previste dalla medesima.
29
****************************************************************************/
30
31
/****************************************************************************
32
* INCLUDE SECTION
33
****************************************************************************/
34
35
#include "
../../../ugbc.h
"
36
37
#if defined(__pccga__)
38
39
/****************************************************************************
40
* CODE SECTION
41
****************************************************************************/
42
43
extern
char
DATATYPE_AS_STRING
[][16];
44
45
void
environment_setup_embedded
(
Environment
* _environment ) {
46
47
_environment->
embedded
.
cpu_fill_blocks
= 1;
48
_environment->
embedded
.
cpu_fill
= 1;
49
_environment->
embedded
.
cpu_math_div2_const_8bit
= 1;
50
_environment->
embedded
.
cpu_random
= 1;
51
_environment->
embedded
.
cpu_string_sub
= 1;
52
_environment->
embedded
.
cpu_less_than_8bit
= 1;
53
_environment->
embedded
.
cpu_less_than_16bit
= 1;
54
_environment->
embedded
.
cpu_less_than_32bit
= 1;
55
_environment->
embedded
.
cpu_math_div2_const_16bit
= 1;
56
_environment->
embedded
.
cpu_msc1_uncompress
= 1;
57
_environment->
embedded
.
cpu_bit_inplace
= 1;
58
_environment->
embedded
.
cpu_bit_check_extended
= 1;
59
_environment->
embedded
.
cpu_flip
= 1;
60
_environment->
embedded
.
cpu_hex_to_string
= 1;
61
_environment->
embedded
.
cpu_math_mul2_const_8bit
= 1;
62
63
}
64
65
#endif
environment_setup_embedded
void environment_setup_embedded(Environment *_environment)
Definition
_init.c:46
_Embedded::cpu_less_than_8bit
int cpu_less_than_8bit
Definition
ugbc.h:1577
_Embedded::cpu_random
int cpu_random
Definition
ugbc.h:1659
_Embedded::cpu_string_sub
int cpu_string_sub
Definition
ugbc.h:1717
_Embedded::cpu_math_div2_const_8bit
int cpu_math_div2_const_8bit
Definition
ugbc.h:1633
_Embedded::cpu_fill_blocks
int cpu_fill_blocks
Definition
ugbc.h:1584
_Embedded::cpu_less_than_32bit
int cpu_less_than_32bit
Definition
ugbc.h:1576
_Embedded::cpu_hex_to_string
int cpu_hex_to_string
Definition
ugbc.h:1696
_Embedded::cpu_bit_check_extended
int cpu_bit_check_extended
Definition
ugbc.h:1697
_Embedded::cpu_flip
int cpu_flip
Definition
ugbc.h:1682
_Embedded::cpu_math_mul2_const_8bit
int cpu_math_mul2_const_8bit
Definition
ugbc.h:1646
_Embedded::cpu_msc1_uncompress
int cpu_msc1_uncompress
Definition
ugbc.h:1716
_Embedded::cpu_math_div2_const_16bit
int cpu_math_div2_const_16bit
Definition
ugbc.h:1631
_Embedded::cpu_fill
int cpu_fill
Definition
ugbc.h:1583
_Embedded::cpu_less_than_16bit
int cpu_less_than_16bit
Definition
ugbc.h:1575
_Embedded::cpu_bit_inplace
int cpu_bit_inplace
Definition
ugbc.h:1692
_Environment::embedded
Embedded embedded
Definition
ugbc.h:2390
ugbc.h
Environment
struct _Environment Environment
Structure of compilation environment.
DATATYPE_AS_STRING
char DATATYPE_AS_STRING[][16]
Definition
_infrastructure.c:133
Z:
ugbasic
ugbc
src
targets
common
8086
_init.c
Generated by
1.16.1