summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author angelosa <salese_corp_ltd@email.it>2018-02-21 23:47:33 +0100
committer angelosa <salese_corp_ltd@email.it>2018-02-22 14:14:27 +0100
commit5548bfafa276b83872ddb417d0597caeda49d8cd (patch)
treedf04baa12077e748d64dff61f7a35a11709b0529
parentc3143e7d01d32221fef011f2b5e60cef9e38808c (diff)
model2.cpp: initialize bufferram to a sane default (nw)
-rw-r--r--src/mame/drivers/model2.cpp5
1 files changed, 5 insertions, 0 deletions
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)