mirror of
https://github.com/holub/mame
synced 2025-05-30 17:41:47 +03:00
mhavoc: Use parallel EEPROM device (nw)
This commit is contained in:
parent
2dc2451077
commit
d5c39d0d84
@ -192,7 +192,7 @@
|
||||
#include "machine/atari_vg.h"
|
||||
#include "video/avgdvg.h"
|
||||
#include "video/vector.h"
|
||||
#include "machine/nvram.h"
|
||||
#include "machine/eeprompar.h"
|
||||
#include "machine/watchdog.h"
|
||||
#include "screen.h"
|
||||
#include "speaker.h"
|
||||
@ -330,7 +330,7 @@ void mhavoc_state::gamma_map(address_map &map)
|
||||
map(0x5000, 0x5000).w(this, FUNC(mhavoc_state::mhavoc_alpha_w)).mirror(0x07ff); /* Alpha Comm. Write Port */
|
||||
//AM_RANGE(0x5800, 0x5800) AM_WRITE(mhavocrv_speech_data_w) AM_MIRROR(0x06ff) /* TMS5220 data write */
|
||||
//AM_RANGE(0x5900, 0x5900) AM_WRITE(mhavocrv_speech_strobe_w) AM_MIRROR(0x06ff) /* TMS5220 /WS strobe write */
|
||||
map(0x6000, 0x61ff).ram().share("nvram").mirror(0x1e00); /* EEROM */
|
||||
map(0x6000, 0x61ff).rw("eeprom", FUNC(eeprom_parallel_28xx_device::read), FUNC(eeprom_parallel_28xx_device::write)).mirror(0x1e00); /* EEROM */
|
||||
map(0x8000, 0xbfff).rom().mirror(0x4000); /* Program ROM (16K) */
|
||||
}
|
||||
|
||||
@ -360,8 +360,8 @@ void mhavoc_state::alphaone_map(address_map &map)
|
||||
map(0x10b0, 0x10b0).w(this, FUNC(mhavoc_state::mhavoc_alpha_irq_ack_w)); /* IRQ ack */
|
||||
map(0x10b4, 0x10b4).w(this, FUNC(mhavoc_state::mhavoc_rom_banksel_w));
|
||||
map(0x10b8, 0x10b8).w(this, FUNC(mhavoc_state::mhavoc_ram_banksel_w));
|
||||
map(0x10e0, 0x10ff).writeonly().share("colorram"); /* ColorRAM */
|
||||
map(0x1800, 0x18ff).ram().share("nvram"); /* EEROM */
|
||||
map(0x10e0, 0x10ff).rnop().writeonly().share("colorram"); /* ColorRAM */
|
||||
map(0x1800, 0x18ff).rw("eeprom", FUNC(eeprom_parallel_28xx_device::read), FUNC(eeprom_parallel_28xx_device::write)); /* EEROM */
|
||||
map(0x2000, 0x3fff).bankr("bank2"); /* Paged Program ROM (32K) */
|
||||
map(0x4000, 0x4fff).ram().share("vectorram").region("alpha", 0x4000); /* Vector Generator RAM */
|
||||
map(0x5000, 0x7fff).rom(); /* Vector ROM */
|
||||
@ -526,7 +526,7 @@ MACHINE_CONFIG_START(mhavoc_state::mhavoc)
|
||||
MCFG_DEVICE_ADD("gamma", M6502, MHAVOC_CLOCK_1_25M) /* 1.25 MHz */
|
||||
MCFG_DEVICE_PROGRAM_MAP(gamma_map)
|
||||
|
||||
MCFG_NVRAM_ADD_1FILL("nvram")
|
||||
MCFG_EEPROM_2804_ADD("eeprom")
|
||||
|
||||
MCFG_TIMER_DRIVER_ADD_PERIODIC("5k_timer", mhavoc_state, mhavoc_cpu_irq_clock, attotime::from_hz(MHAVOC_CLOCK_5K))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user