libmsx
C library for MSX
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Functions
Variables
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Files
File List
Globals
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
a
b
g
i
j
l
m
o
p
r
s
t
v
z
Variables
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
Enumerations
Enumerator
i
s
v
Macros
a
b
c
f
i
l
m
n
o
p
r
s
t
v
w
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
config.h
Go to the documentation of this file.
1
// -*- coding: utf-8-unix -*-
2
/*
3
* Copyright (c) 2021-2024 Daishi Mori (mori0091)
4
*
5
* This software is released under the MIT License.\n
6
* See https://github.com/mori0091/libmsx/blob/main/LICENSE
7
*
8
* GitHub libmsx project\n
9
* https://github.com/mori0091/libmsx
10
*/
16
#pragma once
17
18
#ifndef CONFIG_H_
19
#define CONFIG_H_
20
21
#include <stdint.h>
22
23
#if !defined(__SDCC)
24
// omits SDCC specific keywords
25
# define __at(x)
26
# define __sfr char
27
# define __critical
28
# define __naked
29
# define __banked
30
# define __sdcccall(x)
31
# define MSX_IO_PORT(x) extern uint8_t
32
# define MSX_BIOS(x) extern
33
#else
34
# define MSX_IO_PORT(x) static volatile __sfr __at (x)
35
# define MSX_BIOS(x) static __at (x)
36
#endif
37
38
#endif
// CONFIG_H_
include
config.h
Generated by
1.9.8