diff options
author | Mike Pavone <pavone@retrodev.com> | 2013-01-01 07:06:57 -0800 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2013-01-01 07:06:57 -0800 |
commit | 88d0d276444ed44b8dbfb29eebf14e87ebf0e403 (patch) | |
tree | f48c3962cd762f780c218224e7fd441d1687571b /runtime.S | |
parent | 4bf659a1272fdf8d1e4d8213aa584adf591dad76 (diff) |
Make writes to control and data port block when DMA is in progress
Diffstat (limited to 'runtime.S')
-rw-r--r-- | runtime.S | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -209,6 +209,9 @@ try_fifo_write: push %rbx /* fetch VDP context pointer from 68K context */ mov 128(%rsi), %rdx + /* check DMA flag */ + bt $6, 19(%rdx) + jc fifo_fallback /* get fifo_cur and compare it to fifo_end */ mov (%rdx), %rbx cmp %rbx, 8(%rdx) |