projects
/
fw
/
sdcc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
For gbdk-2.94
[fw/sdcc]
/
src
/
z80
/
z80.h
1
/** @file z80/z80.h
2
Common definitions between the z80 and gbz80 parts.
3
*/
4
#include "common.h"
5
#include "ralloc.h"
6
#include "support.h"
7
8
typedef enum {
9
SUB_Z80,
10
SUB_GBZ80
11
} Z80_SUB_PORT;
12
13
typedef struct {
14
Z80_SUB_PORT sub;
15
} Z80_OPTS;
16
17
extern Z80_OPTS z80_opts;
18
19
#define IS_GB (z80_opts.sub == SUB_GBZ80)
20
#define IS_Z80 (z80_opts.sub == SUB_Z80)
21