From 5548bfafa276b83872ddb417d0597caeda49d8cd Mon Sep 17 00:00:00 2001 From: angelosa Date: Wed, 21 Feb 2018 23:47:33 +0100 Subject: model2.cpp: initialize bufferram to a sane default (nw) --- src/mame/drivers/model2.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mame/drivers/model2.cpp b/src/mame/drivers/model2.cpp index 1c07aa053aa..323b948c61c 100644 --- a/src/mame/drivers/model2.cpp +++ b/src/mame/drivers/model2.cpp @@ -433,6 +433,11 @@ MACHINE_RESET_MEMBER(model2_state,model2_common) m_timers[i]->reset(); m_uart->write_cts(0); + + // initialize bufferram to a sane default + // TODO: HW can probably parse this at will somehow ... + for (i=0;i<0x20000/4;i++) + m_bufferram[i] = 0x07800f0f; } MACHINE_RESET_MEMBER(model2_state,model2o) -- cgit v1.2.3