ram: set default fill value to 0xff instead of 0xcd

This commit is contained in:
hap 2021-05-05 14:24:54 +02:00
parent ffb70cfb71
commit 23574365a6
2 changed files with 1 additions and 3 deletions

View File

@ -7,7 +7,6 @@ RAM device
Provides a configurable amount of RAM to drivers
TODO:
- default fill value of 0xCD makes no sense
- add RAM size options to UI, eg. under Machine Configuration
- remove limitations due to hardcoded RAM_TAG:
+ *configurable* RAM device can only be added to root device
@ -125,7 +124,7 @@ ram_device::ram_device(const machine_config &mconfig, const char *tag, device_t
: device_t(mconfig, RAM, tag, owner, clock)
, m_size(0)
, m_default_size(0)
, m_default_value(0xCD)
, m_default_value(0xff)
, m_extra_options_string(nullptr)
{
}

View File

@ -384,7 +384,6 @@ void lc80_state::lc80(machine_config &config)
RAM(config, m_ram).set_extra_options("1K,2K,3K,4K");
m_ram->set_default_size("1K");
m_ram->set_default_value(0xff);
}
void lc80_state::lc80a(machine_config &config)