diff options
Diffstat (limited to 'src/devices/machine/ram.cpp')
-rw-r--r-- | src/devices/machine/ram.cpp | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/devices/machine/ram.cpp b/src/devices/machine/ram.cpp index 30195810ac2..40b361bdc6a 100644 --- a/src/devices/machine/ram.cpp +++ b/src/devices/machine/ram.cpp @@ -1,15 +1,24 @@ // license:BSD-3-Clause -// copyright-holders: Dirk Best +// copyright-holders:Nathan Woods, Dirk Best /************************************************************************* - RAM device +RAM device - Provides a configurable amount of RAM to drivers +Provides a configurable amount of RAM to drivers + +TODO: +- 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 + (that is the driver device) + + can only have one *configurable* RAM device per machine driver **************************************************************************/ #include "emu.h" #include "ram.h" + +#include "corestr.h" #include "emuopts.h" #include <cstdio> @@ -115,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) { } |