diff options
Diffstat (limited to 'src/devices/machine/ram.cpp')
-rw-r--r-- | src/devices/machine/ram.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/devices/machine/ram.cpp b/src/devices/machine/ram.cpp index 7dd8f9250a4..92728b55303 100644 --- a/src/devices/machine/ram.cpp +++ b/src/devices/machine/ram.cpp @@ -1,5 +1,5 @@ -// license: BSD-3-Clause -// copyright-holders: Dirk Best +// license:GPL-2.0+ +// copyright-holders:Dirk Best /************************************************************************* RAM device @@ -23,6 +23,8 @@ // device type definition const device_type RAM = &device_creator<ram_device>; + + //------------------------------------------------- // ram_device - constructor //------------------------------------------------- @@ -36,6 +38,8 @@ ram_device::ram_device(const machine_config &mconfig, const char *tag, device_t m_default_value = 0xCD; } + + //------------------------------------------------- // device_start - device-specific startup //------------------------------------------------- @@ -64,6 +68,7 @@ void ram_device::device_start() save_item(NAME(m_pointer)); } + //------------------------------------------------- // device_validity_check - device-specific validity // checks @@ -166,6 +171,8 @@ void ram_device::device_validity_check(validity_checker &valid) const } } + + //------------------------------------------------- // parse_string - convert a ram string to an // integer value @@ -203,6 +210,8 @@ UINT32 ram_device::parse_string(const char *s) return ram; } + + //------------------------------------------------- // default_size //------------------------------------------------- |