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.inc
1
.equ Z80_MEMMODE, 0xa11000
2
.equ Z80_BUSREQ, 0xa11100
3
.equ Z80_RESET, 0xa11200
4
.equ Z80_MEM, 0xa00000
5
6
.macro z80_grab
7
move.w #0x100, Z80_BUSREQ
8
.endm
9
10
.macro z80_grab_wait
11
move.w #0x100, Z80_BUSREQ
12
wait_z80_\@:
13
btst #0, Z80_BUSREQ
14
bne.s wait_z80_\@
15
.endm
16
17
.macro z80_release
18
move.w #0, Z80_BUSREQ
19
.endm
20
21
22
| vi:ft=gas68k: