mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
Revert "emu: make memory_share_creator endianness param optional, it is nonsense for byte-width RAM"
This reverts commit cfbffd3215
.
This commit is contained in:
parent
7eee0ca8fb
commit
3e0febd1a5
@ -51,7 +51,7 @@ saitekosa_maestro_device::saitekosa_maestro_device(const machine_config &mconfig
|
||||
device_t(mconfig, type, tag, owner, clock),
|
||||
device_saitekosa_expansion_interface(mconfig, *this),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_banked_ram(*this, "banked_ram", 0x2000),
|
||||
m_banked_ram(*this, "banked_ram", 0x2000, ENDIANNESS_LITTLE),
|
||||
m_rambank(*this, "rambank"),
|
||||
m_rombank(*this, "rombank"),
|
||||
m_extrom(*this, "extrom")
|
||||
|
@ -1257,7 +1257,7 @@ public:
|
||||
/// this pointer remains valid until resolution time.
|
||||
/// \param [in] bytes Desired memory share length in bytes.
|
||||
/// \param [in] endianness Desired endianness of the memory share.
|
||||
memory_share_creator(device_t &base, char const *tag, size_t bytes, endianness_t endianness = ENDIANNESS_LITTLE);
|
||||
memory_share_creator(device_t &base, char const *tag, size_t bytes, endianness_t endianness);
|
||||
|
||||
/// \brief Get target memory share base pointer
|
||||
///
|
||||
|
@ -67,7 +67,7 @@ public:
|
||||
m_display(*this, "display"),
|
||||
m_board(*this, "board"),
|
||||
m_via(*this, "via"),
|
||||
m_extram(*this, "extram", 0x800),
|
||||
m_extram(*this, "extram", 0x800, ENDIANNESS_LITTLE),
|
||||
m_dac(*this, "dac"),
|
||||
m_cart(*this, "cartslot"),
|
||||
m_inputs(*this, "IN.%u", 0)
|
||||
|
@ -82,7 +82,7 @@ public:
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_rom(*this, "maincpu"),
|
||||
m_ram(*this, "ram"),
|
||||
m_nvram(*this, "nvram", 0x20000),
|
||||
m_nvram(*this, "nvram", 0x20000, ENDIANNESS_LITTLE),
|
||||
m_lcd(*this, "lcd"),
|
||||
m_smartboard(*this, "smartboard"),
|
||||
m_speaker(*this, "speaker"),
|
||||
|
@ -65,7 +65,7 @@ public:
|
||||
sphinx40_state(const machine_config &mconfig, device_type type, const char *tag) :
|
||||
driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_nvram(*this, "nvram", 0x800),
|
||||
m_nvram(*this, "nvram", 0x800, ENDIANNESS_BIG),
|
||||
m_pia(*this, "pia"),
|
||||
m_lcd(*this, "lcd"),
|
||||
m_display(*this, "display"),
|
||||
|
@ -8,7 +8,7 @@ Technically, the main unit is the peripheral(buttons, display, speaker, power),
|
||||
and the cartridge holds the MCU(processor, ROM, RAM).
|
||||
|
||||
Hardware notes:
|
||||
- cyan/red VFD Futaba DM-16Z + cyan VFD 9-digit panel Futaba 9-ST-11A 1F
|
||||
- cyan/red VFD display Futaba DM-16Z + cyan VFD 9-digit panel Futaba 9-ST-11A 1F
|
||||
- 1-bit sound, two 7-button control panels attached to each side
|
||||
- edge connector to cartridge, MCU on cartridge (HD38800 or TMS1670)
|
||||
|
||||
|
@ -31,7 +31,7 @@ public:
|
||||
berlin_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag)
|
||||
, m_maincpu(*this, "maincpu")
|
||||
, m_nvram(*this, "nvram", 0x2000)
|
||||
, m_nvram(*this, "nvram", 0x2000, ENDIANNESS_BIG)
|
||||
, m_board(*this, "board")
|
||||
, m_display(*this, "display")
|
||||
, m_keys(*this, "KEY")
|
||||
|
@ -106,7 +106,7 @@ public:
|
||||
driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_rom(*this, "maincpu"),
|
||||
m_nvram(*this, "nvram", 0x2000),
|
||||
m_nvram(*this, "nvram", 0x2000, ENDIANNESS_BIG),
|
||||
m_board(*this, "board"),
|
||||
m_bav_busy(*this, "bav_busy"),
|
||||
m_fake(*this, "FAKE")
|
||||
|
@ -62,7 +62,7 @@ public:
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_rom(*this, "maincpu"),
|
||||
m_mainram(*this, "mainram"),
|
||||
m_nvram(*this, "nvram", 0x2000),
|
||||
m_nvram(*this, "nvram", 0x2000, ENDIANNESS_BIG),
|
||||
m_disable_bootrom(*this, "disable_bootrom"),
|
||||
m_fake(*this, "FAKE")
|
||||
{ }
|
||||
|
@ -72,7 +72,7 @@ class stratos_state : public saitek_stratos_state
|
||||
public:
|
||||
stratos_state(const machine_config &mconfig, device_type type, const char *tag) :
|
||||
saitek_stratos_state(mconfig, type, tag),
|
||||
m_banked_nvram(*this, "nvram.u7", 0x2000),
|
||||
m_banked_nvram(*this, "nvram.u7", 0x2000, ENDIANNESS_LITTLE),
|
||||
m_nvrambank(*this, "nvrambank"),
|
||||
m_rombank(*this, "rombank"),
|
||||
m_extrom(*this, "extrom"),
|
||||
|
Loading…
Reference in New Issue
Block a user