summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/starshp1.h
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-03-03 20:25:46 -0500
committer Vas Crabb <cuavas@users.noreply.github.com>2017-07-25 11:21:43 +1000
commitdab683e78f0bed3f786a9206d905027c1ffba9a6 (patch)
tree8db4a08166df6755f530c137ad1497e77a53cd01 /src/mame/includes/starshp1.h
parent9488a7703ae0e9bef19043bc3b1d5de2c65d2246 (diff)
New 74LS259/9334/CD4099 devices
These humble 16-pin logic devices were commonly used in 8-bit arcade games to control coin counters/lockouts, IRQ flipflops, graphics banking, slave CPU reset lines, discrete audio triggers, screen flipping, serial EEPROMs and much else. Over 100 drivers and a few bus devices have been updated to use the new implementation, and a great deal of research has gone into documenting the physical location of these devices on actual PCBs in the source. Write handlers have been provided for both orthodox and somewhat less conventional memory mappings. Incidental to this update, coin counters and/or lockouts have been added to Atari System 1 games, Basketball, Gauntlet, Gyruss, Hana Yayoi, Hole Land, Jr. Pac-Man, Mahjong Sisters, Pooyan, Roc'n Rope, Squash, Thunder Hoop, Time Limit, Time Pilot '84 and many others. This also cleans up coin counter behavior in Sauro and Rally Bike. (nw) The purpose of committing this change, which has been several months in the making, early in the 0.189GIT cycle will be to allow time for fixing potential regressions; I've fixed a number of drivers that lost sound from this for various reasons (hnayayoi.cpp having missing or garbage ADPCM was particularly painful, since the three games in that driver all work slightly differently), but I can't test all affected drivers exhaustively. @Tafoid, don't bother running automated screen capture comparison tests on this, as many drivers are now expected to have the screen flipped for the first few seconds after reset.
Diffstat (limited to 'src/mame/includes/starshp1.h')
-rw-r--r--src/mame/includes/starshp1.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/mame/includes/starshp1.h b/src/mame/includes/starshp1.h
index a376c2ab8ec..807e0d36776 100644
--- a/src/mame/includes/starshp1.h
+++ b/src/mame/includes/starshp1.h
@@ -82,14 +82,21 @@ public:
tilemap_t *m_bg_tilemap;
DECLARE_WRITE8_MEMBER(starshp1_collision_reset_w);
DECLARE_WRITE8_MEMBER(starshp1_analog_in_w);
- DECLARE_WRITE8_MEMBER(starshp1_misc_w);
+ DECLARE_WRITE_LINE_MEMBER(ship_explode_w);
+ DECLARE_WRITE_LINE_MEMBER(circle_mod_w);
+ DECLARE_WRITE_LINE_MEMBER(circle_kill_w);
+ DECLARE_WRITE_LINE_MEMBER(starfield_kill_w);
+ DECLARE_WRITE_LINE_MEMBER(inverse_w);
+ DECLARE_WRITE_LINE_MEMBER(mux_w);
+ DECLARE_WRITE_LINE_MEMBER(led_w);
DECLARE_READ8_MEMBER(starshp1_rng_r);
DECLARE_WRITE8_MEMBER(starshp1_ssadd_w);
DECLARE_WRITE8_MEMBER(starshp1_sspic_w);
DECLARE_WRITE8_MEMBER(starshp1_playfield_w);
DECLARE_CUSTOM_INPUT_MEMBER(starshp1_analog_r);
DECLARE_CUSTOM_INPUT_MEMBER(collision_latch_r);
- DECLARE_WRITE8_MEMBER(starshp1_audio_w);
+ DECLARE_WRITE_LINE_MEMBER(attract_w);
+ DECLARE_WRITE_LINE_MEMBER(phasor_w);
DECLARE_WRITE8_MEMBER(starshp1_analog_out_w);
TILE_GET_INFO_MEMBER(get_tile_info);
virtual void video_start() override;