1 // license:BSD-3-Clause 2 // copyright-holders:David Haywood 3 #ifndef MAME_INCLUDES_XAVIX_2002_H 4 #define MAME_INCLUDES_XAVIX_2002_H 5 6 #include "xavix_2000.h" 7 8 class xavix_i2c_jmat_state : public xavix_i2c_state 9 { 10 public: xavix_i2c_jmat_state(const machine_config & mconfig,device_type type,const char * tag)11 xavix_i2c_jmat_state(const machine_config &mconfig, device_type type, const char *tag) 12 : xavix_i2c_state(mconfig, type, tag) 13 { } 14 15 void xavix2002_i2c_jmat(machine_config &config); 16 17 private: 18 uint8_t read_extended_io0(); 19 uint8_t read_extended_io1(); 20 uint8_t read_extended_io2(); 21 void write_extended_io0(uint8_t data); 22 void write_extended_io1(uint8_t data); 23 void write_extended_io2(uint8_t data); 24 }; 25 26 class xavix2002_superpttv_state : public xavix_state 27 { 28 public: xavix2002_superpttv_state(const machine_config & mconfig,device_type type,const char * tag)29 xavix2002_superpttv_state(const machine_config &mconfig, device_type type, const char *tag) 30 : xavix_state(mconfig, type, tag) 31 { } 32 33 void xavix2002_superpctv(machine_config &config); 34 35 private: read_extended_io0()36 uint8_t read_extended_io0() { return 0x00; }; read_extended_io1()37 uint8_t read_extended_io1() { return 0x00; }; read_extended_io2()38 uint8_t read_extended_io2() { return 0x00; }; 39 //void write_extended_io0(uint8_t data); 40 //void write_extended_io1(uint8_t data); 41 //void write_extended_io2(uint8_t data); 42 }; 43 44 class xavix_i2c_bowl_state : public xavix_i2c_state 45 { 46 public: xavix_i2c_bowl_state(const machine_config & mconfig,device_type type,const char * tag)47 xavix_i2c_bowl_state(const machine_config &mconfig, device_type type, const char *tag) 48 : xavix_i2c_state(mconfig, type, tag) 49 { } 50 51 DECLARE_READ_LINE_MEMBER(camera_r); 52 }; 53 54 55 #endif // MAME_INCLUDES_XAVIX_2002_H 56