trunk/src/mame/drivers/lwings.c
| r31055 | r31056 | |
| 12 | 12 | increment twice per coin. |
| 13 | 13 | - clean up Avengers protection; it currently checks against hard-coded program |
| 14 | 14 | counter rather than behaving as a memory-mapped black box. |
| 15 | - accurate music tempo (audiocpu irq freq) |
| 16 | - accurate video timing, raw params |
| 15 | 17 | |
| 16 | 18 | |
| 17 | 19 | Change Log: |
| r31055 | r31056 | |
| 765 | 767 | |
| 766 | 768 | MCFG_CPU_ADD("soundcpu", Z80, XTAL_12MHz/4) /* verified on PCB */ |
| 767 | 769 | MCFG_CPU_PROGRAM_MAP(lwings_sound_map) |
| 768 | | MCFG_CPU_PERIODIC_INT_DRIVER(lwings_state, irq0_line_hold, 4*60) /* ??? */ |
| 770 | MCFG_CPU_PERIODIC_INT_DRIVER(lwings_state, irq0_line_hold, 222) // approximation from pcb music recording - where is the frequency actually derived from?? |
| 769 | 771 | |
| 770 | | |
| 771 | 772 | /* video hardware */ |
| 772 | 773 | MCFG_BUFFERED_SPRITERAM8_ADD("spriteram") |
| 773 | 774 | |
| r31055 | r31056 | |
| 803 | 804 | |
| 804 | 805 | static MACHINE_CONFIG_DERIVED( trojan, lwings ) |
| 805 | 806 | |
| 807 | /* basic machine hardware */ |
| 806 | 808 | MCFG_CPU_MODIFY("maincpu") |
| 807 | 809 | MCFG_CPU_CLOCK(XTAL_12MHz/4) /* verified on PCB */ |
| 808 | | |
| 809 | 810 | MCFG_CPU_PROGRAM_MAP(trojan_map) |
| 810 | 811 | |
| 811 | 812 | MCFG_CPU_MODIFY("soundcpu") |
| r31055 | r31056 | |
| 831 | 832 | |
| 832 | 833 | static MACHINE_CONFIG_DERIVED( avengers, trojan ) |
| 833 | 834 | |
| 834 | | MCFG_CPU_MODIFY("maincpu") //AT: (avengers37b16gre) |
| 835 | /* basic machine hardware */ |
| 836 | MCFG_CPU_MODIFY("maincpu") |
| 835 | 837 | MCFG_CPU_PROGRAM_MAP(avengers_map) |
| 836 | 838 | MCFG_CPU_VBLANK_INT_DRIVER("screen", lwings_state, avengers_interrupt) // RST 38h triggered by software |
| 837 | 839 | |