Fixed most regressions due to EEPROM changes. Remaining issues

are noted at the top of eepromser.c.
This commit is contained in:
Aaron Giles 2013-08-02 06:56:13 +00:00
parent 29216ef980
commit 08a0085f39
6 changed files with 17 additions and 5 deletions

View File

@ -86,10 +86,11 @@ eeprom_base_device::eeprom_base_device(const machine_config &mconfig, device_typ
m_default_value_set(false),
m_completion_time(attotime::zero)
{
m_operation_time[WRITE_TIME] = attotime::from_msec(2);
m_operation_time[WRITE_ALL_TIME] = attotime::from_msec(8);
m_operation_time[ERASE_TIME] = attotime::from_msec(1);
m_operation_time[ERASE_ALL_TIME] = attotime::from_msec(8);
// a 2ms write time is too long for rfjetsa
m_operation_time[WRITE_TIME] = attotime::from_usec(1750);
m_operation_time[WRITE_ALL_TIME] = attotime::from_usec(8000);
m_operation_time[ERASE_TIME] = attotime::from_usec(1000);
m_operation_time[ERASE_ALL_TIME] = attotime::from_usec(8000);
}

View File

@ -119,6 +119,13 @@
93Cxx has ERASE command; this maps to WRITE on ER5911
93Cxx has WRITEALL command; no equivalent on ER5911
****************************************************************************
Issues with:
kickgoal.c - code seems wrong, clock logic writes 0-0-0 instead of 0-1-0 as expected
overdriv.c - drops CS, raises CS, keeps DI=1, triggering extraneous start bit
***************************************************************************/
#include "emu.h"

View File

@ -656,7 +656,7 @@ static MACHINE_CONFIG_START( plygonet, polygonet_state )
MCFG_QUANTUM_PERFECT_CPU("maincpu") /* TODO: TEMPORARY! UNTIL A MORE LOCALIZED SYNC CAN BE MADE */
MCFG_EEPROM_SERIAL_93C66_ADD("eeprom")
MCFG_EEPROM_SERIAL_93C66_8BIT_ADD("eeprom")
MCFG_GFXDECODE(plygonet)

View File

@ -457,6 +457,7 @@ static MACHINE_CONFIG_START( deroon, tecmosys_state )
MCFG_GFXDECODE(tecmosys)
MCFG_EEPROM_SERIAL_93C46_ADD("eeprom")
MCFG_EEPROM_SERIAL_ENABLE_STREAMING()
MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_AFTER_VBLANK)

View File

@ -754,6 +754,7 @@ static MACHINE_CONFIG_START( tmmjprd, tmmjprd_state )
MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", tmmjprd_state, tmmjprd_scanline, "lscreen", 0, 1)
MCFG_EEPROM_SERIAL_93C46_ADD("eeprom")
MCFG_EEPROM_SERIAL_ENABLE_STREAMING()
MCFG_GFXDECODE(tmmjprd)

View File

@ -983,6 +983,8 @@ static MACHINE_CONFIG_START( common, vamphalf_state )
MCFG_CPU_VBLANK_INT_DRIVER("screen", vamphalf_state, irq1_line_hold)
MCFG_EEPROM_SERIAL_93C46_ADD("eeprom")
MCFG_EEPROM_ERASE_TIME(attotime::from_usec(250)) // coolmini requires fast erase
MCFG_EEPROM_WRITE_TIME(attotime::from_usec(250)) // dtfamily requires fast write
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)