(update notes)

This commit is contained in:
Michaël Banaan Ananas 2012-06-02 18:04:14 +00:00
parent 30a0f8c810
commit 567a4735b5

View File

@ -1,6 +1,6 @@
/*************************************************************************** /***************************************************************************
Atari Clay Shoot hardware Allied Leisure Clay Shoot hardware
driver by Zsolt Vasvari driver by Zsolt Vasvari
@ -8,7 +8,9 @@
* Clay Shoot * Clay Shoot
Known issues: Known issues:
* none at this time * no sound
* cocktail mode, dipswitch or alternate romset?
(cocktail set has a color overlay, upright set has a backdrop)
****************************************************************************/ ****************************************************************************/
@ -21,8 +23,9 @@ class clayshoo_state : public driver_device
{ {
public: public:
clayshoo_state(const machine_config &mconfig, device_type type, const char *tag) clayshoo_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag) , : driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"){ } m_videoram(*this, "videoram")
{ }
/* memory pointers */ /* memory pointers */
required_shared_ptr<UINT8> m_videoram; required_shared_ptr<UINT8> m_videoram;
@ -111,7 +114,6 @@ static attotime compute_duration( device_t *device, int analog_pos )
WRITE8_MEMBER(clayshoo_state::analog_reset_w) WRITE8_MEMBER(clayshoo_state::analog_reset_w)
{ {
/* reset the analog value, and start the two times that will fire /* reset the analog value, and start the two times that will fire
off in a short period proportional to the position of the off in a short period proportional to the position of the
analog control and set the appropriate bit. */ analog control and set the appropriate bit. */
@ -237,6 +239,9 @@ static ADDRESS_MAP_START( main_io_map, AS_IO, 8, clayshoo_state )
AM_RANGE(0x00, 0x00) AM_WRITE(watchdog_reset_w) AM_RANGE(0x00, 0x00) AM_WRITE(watchdog_reset_w)
AM_RANGE(0x20, 0x23) AM_DEVREADWRITE("ppi8255_0", i8255_device, read, write) AM_RANGE(0x20, 0x23) AM_DEVREADWRITE("ppi8255_0", i8255_device, read, write)
AM_RANGE(0x30, 0x33) AM_DEVREADWRITE("ppi8255_1", i8255_device, read, write) AM_RANGE(0x30, 0x33) AM_DEVREADWRITE("ppi8255_1", i8255_device, read, write)
// AM_RANGE(0x40, 0x43) AM_NOP // 8253 for sound?
// AM_RANGE(0x50, 0x50) AM_NOP // ?
// AM_RANGE(0x60, 0x60) AM_NOP // ?
ADDRESS_MAP_END ADDRESS_MAP_END