diff options
author | Phil Bennett <philipjbennett@users.noreply.github.com> | 2013-11-17 20:01:42 +0000 |
---|---|---|
committer | Phil Bennett <philipjbennett@users.noreply.github.com> | 2013-11-17 20:01:42 +0000 |
commit | ed620217a2df1b2c11e6863ebb75f535f7cd1c21 (patch) | |
tree | 92b32c9da3d0d551e571b46d0328c51546a67188 /src/mame/includes/plygonet.h | |
parent | 4a64c9b058d9620c1ac1ee1c3474f7483711026f (diff) |
Rewrote Konami 056800 (MIRAC): [Phil Bennett]
- Implemented as an 8-bit device
- Fixed address mapping
- Removed bogus timer interrupt
- Fixed interrupt handling
054539.c: Fixed input clock rate and implemented programmable timer based on hardware measurements [Phil Bennett, Stefan Lindberg]
lethal.c, mystwarr,c, tmnt.c: Hooked up 054539 timer interrupt. Fixes music tempo in some games [Phil Bennett]
qdrmfgp.c: Hooked up 054539 timer interrupt for qdrmfgp, fixed IRQ acknowledge handling [Phil Bennett]
plygonet.c: Hooked up 054539 timer interrupt, removed non-existent second 054539 and fixed EEPROM regression [Phil Bennett]
hornet.c, gticlub.c: Implemented sound interrupt timer [Phil Bennett]
konamigx.c improvements: [Phil Bennett]
- Hooked up 056800 device
- Hooked up 054539 timer interrupt
- Removed sound hacks
- All DSP RAM tests now pass, winspike sound now works
konamigq.c improvements: [Phil Bennett]
- Hooked up 056800 device
- Hooked up 054539 timer interrupt
- Added TMS57002 DASP
ultrsprt.c improvements: [Phil Bennett]
- Hooked up 054539 timer interrupt
- Implemented VRAM double buffering
- Improved trackball inputs
- Fixed sound
zr107.c improvements: [Phil Bennett]
- Hooked up 054539 timer interrupt
- Fixed sound in all games
rungun.c improvements: [Phil Bennett]
- Hooked up 054539 timer interrupt. Fixes music tempo
- Implemented sound CPU NMI control
- Fixed 054539 #2 regression
New games added or promoted from NOT_WORKING status:
====================================================
Wave shark/Jet Wave [Phil Bennett]
Diffstat (limited to 'src/mame/includes/plygonet.h')
-rw-r--r-- | src/mame/includes/plygonet.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/mame/includes/plygonet.h b/src/mame/includes/plygonet.h index a8a6a24d4c8..638d8c9c21e 100644 --- a/src/mame/includes/plygonet.h +++ b/src/mame/includes/plygonet.h @@ -26,7 +26,7 @@ public: required_device<cpu_device> m_maincpu; required_device<cpu_device> m_audiocpu; required_device<cpu_device> m_dsp; - required_device<eeprom_serial_93cxx_device> m_eeprom; + required_device<eeprom_serial_er5911_device> m_eeprom; required_device<k053936_device> m_k053936; /* 68k-side shared ram */ @@ -37,7 +37,6 @@ public: ioport_port *m_inputs[4]; UINT8 m_sys0; UINT8 m_sys1; - UINT8 m_sound_bank; direct_update_delegate m_dsp56k_update_handler; @@ -47,6 +46,10 @@ public: tilemap_t *m_roz_tilemap; UINT16 m_ttl_vram[0x800]; UINT16 m_roz_vram[0x800]; + + /* sound */ + UINT8 m_sound_ctrl; + UINT8 m_sound_intck; /* memory buffers */ UINT16 m_dsp56k_bank00_ram[2 * 8 * dsp56k_bank00_size]; /* 2 bank sets, 8 potential banks each */ @@ -77,7 +80,7 @@ public: DECLARE_WRITE16_MEMBER(dsp56k_shared_ram_write); DECLARE_READ16_MEMBER(dsp56k_ram_bank04_read); DECLARE_WRITE16_MEMBER(dsp56k_ram_bank04_write); - DECLARE_WRITE8_MEMBER(sound_bankswitch_w); + DECLARE_WRITE8_MEMBER(sound_ctrl_w); DECLARE_READ32_MEMBER(polygonet_ttl_ram_r); DECLARE_WRITE32_MEMBER(polygonet_ttl_ram_w); DECLARE_READ32_MEMBER(polygonet_roz_ram_r); @@ -93,4 +96,5 @@ public: virtual void video_start(); UINT32 screen_update_polygonet(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); INTERRUPT_GEN_MEMBER(polygonet_interrupt); + DECLARE_WRITE_LINE_MEMBER(k054539_nmi_gen); }; |