projects
/
mdlife
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
DMA and sprites (not working yet)
[mdlife]
/
src
/
vdp.inc
1
.macro vdp_setreg reg val
2
move.w #(\val), %d0
3
or.w #(0x8000 + (\reg << 8)), %d0
4
move.w %d0, VDP_CTL_PORT
5
.endm
6
7
.macro vdp_setreg_reg reg val
8
or.w #(0x8000 + (\reg << 8)), \val
9
move.w \val, VDP_CTL_PORT
10
.endm
11
12
| vi:ft=gas68k: