projects
/
retrocrawl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
blitter test
[retrocrawl]
/
src
/
amiga
/
gfx.h
diff --git
a/src/amiga/gfx.h
b/src/amiga/gfx.h
index
f3352fd
..
f2287c1
100644
(file)
--- a/
src/amiga/gfx.h
+++ b/
src/amiga/gfx.h
@@
-17,6
+17,12
@@
#define wait_vblank() wait_vpos(300)
+#define wait_blit() \
+ asm volatile ( \
+ "tst 0xdff002\n\t" \
+ "0: btst #6, 0xdff002\n\t" \
+ "bne 0b\n\t")
+
unsigned char framebuf[BPLSZ * NBPL];
unsigned char *bplptr[NBPL];