diff options
Diffstat (limited to 'src/mame/machine/egret.h')
-rw-r--r-- | src/mame/machine/egret.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mame/machine/egret.h b/src/mame/machine/egret.h index b1597dca367..b4ea5882b0d 100644 --- a/src/mame/machine/egret.h +++ b/src/mame/machine/egret.h @@ -5,7 +5,11 @@ #pragma once +#define USE_BUS_ADB (0) +#if USE_BUS_ADB +#include "bus/adb/adb.h" +#endif //************************************************************************** // MACROS / CONSTANTS @@ -59,6 +63,12 @@ public: uint8_t pram_r(offs_t offset); void pram_w(offs_t offset, uint8_t data); +#if USE_BUS_ADB + void adb_w(int id, int state); + void adb_poweron_w(int id, int state); + void adb_change(); +#endif + // interface routines uint8_t get_xcvr_session() { return xcvr_session; } void set_via_full(uint8_t val) { via_full = val; } @@ -107,6 +117,14 @@ private: uint8_t pram[0x100], disk_pram[0x100]; bool pram_loaded; + #if USE_BUS_ADB + optional_device <adb_connector> m_adb_connector[2]; + adb_device *m_adb_device[2]; + bool m_adb_device_out[2]; + bool m_adb_device_poweron[2]; + bool m_adb_out; + #endif + void send_port(uint8_t offset, uint8_t data); }; |