summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/i8275.h
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-06-07 13:26:57 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-06-07 13:33:02 -0400
commit0eb39f00677c5f1b356bfdf04fe97f16fff04395 (patch)
tree5bec8f63c54aaba9a16d882cf05824349faeb5c4 /src/devices/video/i8275.h
parentb04c12a314c9825e09d6c3c5bcb50530b8d2efe1 (diff)
i8275: DMA refinements
- Exclude FIFO characters from counting towards filling character buffer - Extend DMA up to one character past an "end of DMA" control code
Diffstat (limited to 'src/devices/video/i8275.h')
-rw-r--r--src/devices/video/i8275.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/video/i8275.h b/src/devices/video/i8275.h
index f3d248643b4..de273f425f4 100644
--- a/src/devices/video/i8275.h
+++ b/src/devices/video/i8275.h
@@ -105,6 +105,7 @@ protected:
void vrtc_start();
void vrtc_end();
+ void dma_start();
void recompute_parameters();
@@ -201,7 +202,7 @@ protected:
int m_buffer_idx;
int m_fifo_idx;
int m_dma_idx;
- bool m_fifo_next;
+ uint8_t m_dma_last_char;
int m_buffer_dma;
int m_lpen;