projects
/
mdlife
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
per-line scrolling test
[mdlife]
/
src
/
z80.h
1
#ifndef Z80_H_
2
#define Z80_H_
3
4
#include "hwregs.h"
5
6
void z80_init(void);
7
8
#define z80_grab_bus() (Z80_BUSREQ = 0x100)
9
#define z80_release_bus() (Z80_BUSREQ = 0)
10
/* non-zero if 68k grabbed the bus */
11
#define z80_have_bus() ((Z80_BUSREQ & 0x100) == 0)
12
13
#define z80_reset(rst) (Z80_RESET = ((rst) ? 0 : 0x100))
14
15
#endif /* Z80_H_ */