summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame')
-rw-r--r--src/mame/drivers/tim100.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mame/drivers/tim100.cpp b/src/mame/drivers/tim100.cpp
index 447708f15a9..b07c64add42 100644
--- a/src/mame/drivers/tim100.cpp
+++ b/src/mame/drivers/tim100.cpp
@@ -97,6 +97,7 @@ void tim100_state::machine_start()
{
m_palette->set_pen_colors(0, tim100_palette);
save_item(NAME(m_dma_adr));
+ m_dma_adr = 0;
}
const gfx_layout charlayout =
@@ -143,7 +144,10 @@ I8275_DRAW_CHARACTER_MEMBER( tim100_state::crtc_display_pixels )
WRITE_LINE_MEMBER( tim100_state::drq_w )
{
if (state)
+ {
m_crtc->dack_w(m_p_videoram[m_dma_adr++]);
+ m_dma_adr &= 0x7ff;
+ }
}
WRITE_LINE_MEMBER( tim100_state::irq_w )