mirror of
https://github.com/holub/mame
synced 2025-06-10 23:02:38 +03:00
subsino.cpp: added nvram for stisub, as verified on real hardware (nw)
This commit is contained in:
parent
ad3bab10dc
commit
f77220d24d
@ -219,6 +219,7 @@ To Do:
|
||||
#include "emu.h"
|
||||
#include "cpu/z180/z180.h"
|
||||
#include "machine/i8255.h"
|
||||
#include "machine/nvram.h"
|
||||
#include "machine/subsino.h"
|
||||
#include "machine/ticket.h"
|
||||
#include "sound/okim6295.h"
|
||||
@ -1065,7 +1066,7 @@ void subsino_state::stbsub_map(address_map &map)
|
||||
{
|
||||
map(0x00000, 0x0bfff).rom();
|
||||
|
||||
map(0x0c000, 0x0cfff).ram();
|
||||
map(0x0c000, 0x0cfff).ram().share("nvram");
|
||||
|
||||
map(0x0d000, 0x0d002).r("ppi1", FUNC(i8255_device::read));
|
||||
map(0x0d004, 0x0d006).r("ppi2", FUNC(i8255_device::read));
|
||||
@ -2896,6 +2897,7 @@ MACHINE_CONFIG_START(subsino_state::stbsub)
|
||||
MCFG_I8255_IN_PORTB_CB(IOPORT("INB"))
|
||||
MCFG_I8255_IN_PORTC_CB(IOPORT("INA"))
|
||||
|
||||
MCFG_NVRAM_ADD_0FILL("nvram")
|
||||
MCFG_TICKET_DISPENSER_ADD("hopper", attotime::from_msec(200), TICKET_MOTOR_ACTIVE_HIGH, TICKET_STATUS_ACTIVE_LOW)
|
||||
|
||||
/* video hardware */
|
||||
|
Loading…
Reference in New Issue
Block a user