| Previous | 199869 Revisions | Next |
| r34955 Tuesday 10th February, 2015 at 18:16:56 UTC by hap |
|---|
| ucom4/amis2000 added clockdivider |
| [src/emu/cpu/amis2000] | amis2000.h |
| [src/emu/cpu/ucom4] | ucom4.h |
| [src/mess/drivers] | wildfire.c |
| r243466 | r243467 | |
|---|---|---|
| 51 | 51 | virtual void device_reset(); |
| 52 | 52 | |
| 53 | 53 | // device_execute_interface overrides |
| 54 | virtual UINT64 execute_clocks_to_cycles(UINT64 clocks) const { return (clocks + 4 - 1) / 4; } // 4 cycles per machine cycle | |
| 55 | virtual UINT64 execute_cycles_to_clocks(UINT64 cycles) const { return (cycles * 4); } // " | |
| 54 | 56 | virtual UINT32 execute_min_cycles() const { return 1; } |
| 55 | 57 | virtual UINT32 execute_max_cycles() const { return 2; } |
| 56 | 58 | virtual UINT32 execute_input_lines() const { return 1; } |
| r243466 | r243467 | |
|---|---|---|
| 105 | 105 | virtual void device_reset(); |
| 106 | 106 | |
| 107 | 107 | // device_execute_interface overrides |
| 108 | virtual UINT64 execute_clocks_to_cycles(UINT64 clocks) const { return (clocks + 4 - 1) / 4; } // 4 cycles per machine cycle | |
| 109 | virtual UINT64 execute_cycles_to_clocks(UINT64 cycles) const { return (cycles * 4); } // " | |
| 108 | 110 | virtual UINT32 execute_min_cycles() const { return 1; } |
| 109 | 111 | virtual UINT32 execute_max_cycles() const { return 2; } |
| 110 | 112 | virtual UINT32 execute_input_lines() const { return 1; } |
| r243466 | r243467 | |
|---|---|---|
| 5 | 5 | Parker Brothers Wildfire, by Bob and Holly Doyle (prototype), and Garry Kitchen |
| 6 | 6 | * AMI S2150, labeled C10641 |
| 7 | 7 | |
| 8 | x | |
| 8 | 9 | |
| 10 | ||
| 11 | TODO: | |
| 12 | - no sound | |
| 13 | - flipper buttons aren't working correctly | |
| 14 | - some 7segs digits are wrong (mcu on-die decoder is customizable?) | |
| 15 | - MCU clock is unknown | |
| 16 | ||
| 9 | 17 | ***************************************************************************/ |
| 10 | 18 | |
| 11 | 19 | #include "emu.h" |
| r243466 | r243467 | |
| 16 | 24 | |
| 17 | 25 | // master clock is a single stage RC oscillator: R=?K, C=?pf, |
| 18 | 26 | // S2150 default frequency is 850kHz |
| 19 | #define MASTER_CLOCK (850000 | |
| 27 | #define MASTER_CLOCK (850000) | |
| 20 | 28 | |
| 21 | 29 | |
| 22 | 30 | class wildfire_state : public driver_device |
| https://github.com/mamedev/mame/commit/1a52f39e3df8bed3e5ef95b9f24d3fb7fffd44d0 |
| Previous | 199869 Revisions | Next |