projects
/
fw
/
sdcc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merged in multiple assemblers port.
[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
7
typedef enum {
8
SUB_Z80,
9
SUB_GBZ80
10
} Z80_SUB_PORT;
11
12
typedef struct {
13
Z80_SUB_PORT sub;
14
} Z80_OPTS;
15
16
extern Z80_OPTS z80_opts;
17
18
#define IS_GB (z80_opts.sub == SUB_GBZ80)
19
#define IS_Z80 (z80_opts.sub == SUB_Z80)
20