summaryrefslogblamecommitdiffstatshomepage
path: root/src/mame/includes/bzone.h
blob: 31d16de92ba392e2dcd772e9dc0a66a2699716e1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10





                                                                          

                     

                                               
 


                                        

                                                                                     
 

                                
  
 
 

                                                    

                                        
                                     


                                                       
                                           
 
                                                      
/*************************************************************************

    Atari Battle Zone hardware

*************************************************************************/

#include "devlegcy.h"

#define BZONE_MASTER_CLOCK (XTAL_12_096MHz)
#define BZONE_CLOCK_3KHZ  (MASTER_CLOCK / 4096)

class bzone_state : public driver_device
{
public:
	bzone_state(const machine_config &mconfig, device_type type, const char *tag)
		: driver_device(mconfig, type, tag) { }

	UINT8 m_analog_data;
	UINT8 m_rb_input_select;
};


/*----------- defined in audio/bzone.c -----------*/

WRITE8_DEVICE_HANDLER( bzone_sounds_w );

MACHINE_CONFIG_EXTERN( bzone_audio );

/*----------- defined in audio/redbaron.c -----------*/

WRITE8_DEVICE_HANDLER( redbaron_sounds_w );

DECLARE_LEGACY_SOUND_DEVICE(REDBARON, redbaron_sound);