| Previous | 199869 Revisions | Next |
| r24645 Friday 2nd August, 2013 at 06:56:13 UTC by Aaron Giles |
|---|
| Fixed most regressions due to EEPROM changes. Remaining issues are noted at the top of eepromser.c. |
| [src/emu/machine] | eeprom.c eepromser.c |
| [src/mame/drivers] | plygonet.c tecmosys.c tmmjprd.c vamphalf.c |
| r24644 | r24645 | |
|---|---|---|
| 119 | 119 | 93Cxx has ERASE command; this maps to WRITE on ER5911 |
| 120 | 120 | 93Cxx has WRITEALL command; no equivalent on ER5911 |
| 121 | 121 | |
| 122 | **************************************************************************** | |
| 123 | ||
| 124 | Issues with: | |
| 125 | ||
| 126 | kickgoal.c - code seems wrong, clock logic writes 0-0-0 instead of 0-1-0 as expected | |
| 127 | overdriv.c - drops CS, raises CS, keeps DI=1, triggering extraneous start bit | |
| 128 | ||
| 122 | 129 | ***************************************************************************/ |
| 123 | 130 | |
| 124 | 131 | #include "emu.h" |
| r24644 | r24645 | |
|---|---|---|
| 86 | 86 | m_default_value_set(false), |
| 87 | 87 | m_completion_time(attotime::zero) |
| 88 | 88 | { |
| 89 | m_operation_time[WRITE_TIME] = attotime::from_msec(2); | |
| 90 | m_operation_time[WRITE_ALL_TIME] = attotime::from_msec(8); | |
| 91 | m_operation_time[ERASE_TIME] = attotime::from_msec(1); | |
| 92 | m_operation_time[ERASE_ALL_TIME] = attotime::from_msec(8); | |
| 89 | // a 2ms write time is too long for rfjetsa | |
| 90 | m_operation_time[WRITE_TIME] = attotime::from_usec(1750); | |
| 91 | m_operation_time[WRITE_ALL_TIME] = attotime::from_usec(8000); | |
| 92 | m_operation_time[ERASE_TIME] = attotime::from_usec(1000); | |
| 93 | m_operation_time[ERASE_ALL_TIME] = attotime::from_usec(8000); | |
| 93 | 94 | } |
| 94 | 95 | |
| 95 | 96 |
| r24644 | r24645 | |
|---|---|---|
| 656 | 656 | |
| 657 | 657 | MCFG_QUANTUM_PERFECT_CPU("maincpu") /* TODO: TEMPORARY! UNTIL A MORE LOCALIZED SYNC CAN BE MADE */ |
| 658 | 658 | |
| 659 | MCFG_EEPROM_SERIAL_93C66_ADD("eeprom") | |
| 659 | MCFG_EEPROM_SERIAL_93C66_8BIT_ADD("eeprom") | |
| 660 | 660 | |
| 661 | 661 | MCFG_GFXDECODE(plygonet) |
| 662 | 662 |
| r24644 | r24645 | |
|---|---|---|
| 983 | 983 | MCFG_CPU_VBLANK_INT_DRIVER("screen", vamphalf_state, irq1_line_hold) |
| 984 | 984 | |
| 985 | 985 | MCFG_EEPROM_SERIAL_93C46_ADD("eeprom") |
| 986 | MCFG_EEPROM_ERASE_TIME(attotime::from_usec(250)) // coolmini requires fast erase | |
| 987 | MCFG_EEPROM_WRITE_TIME(attotime::from_usec(250)) // dtfamily requires fast write | |
| 986 | 988 | |
| 987 | 989 | /* video hardware */ |
| 988 | 990 | MCFG_SCREEN_ADD("screen", RASTER) |
| r24644 | r24645 | |
|---|---|---|
| 754 | 754 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", tmmjprd_state, tmmjprd_scanline, "lscreen", 0, 1) |
| 755 | 755 | |
| 756 | 756 | MCFG_EEPROM_SERIAL_93C46_ADD("eeprom") |
| 757 | MCFG_EEPROM_SERIAL_ENABLE_STREAMING() | |
| 757 | 758 | |
| 758 | 759 | MCFG_GFXDECODE(tmmjprd) |
| 759 | 760 |
| r24644 | r24645 | |
|---|---|---|
| 457 | 457 | MCFG_GFXDECODE(tecmosys) |
| 458 | 458 | |
| 459 | 459 | MCFG_EEPROM_SERIAL_93C46_ADD("eeprom") |
| 460 | MCFG_EEPROM_SERIAL_ENABLE_STREAMING() | |
| 460 | 461 | |
| 461 | 462 | MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_AFTER_VBLANK) |
| 462 | 463 |
| Previous | 199869 Revisions | Next |