From 0e19f641d3186cdbf51f8ca857e2b07ab95779c2 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 11 Jan 2013 07:32:46 +0000 Subject: Cleanups and version bump --- src/mess/machine/applefdc.h | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'src/mess/machine/applefdc.h') diff --git a/src/mess/machine/applefdc.h b/src/mess/machine/applefdc.h index 8b19d29f5c0..7eab1a2e83d 100644 --- a/src/mess/machine/applefdc.h +++ b/src/mess/machine/applefdc.h @@ -23,10 +23,10 @@ CONSTANTS ***************************************************************************/ -#define APPLEFDC_PH0 0x01 -#define APPLEFDC_PH1 0x02 -#define APPLEFDC_PH2 0x04 -#define APPLEFDC_PH3 0x08 +#define APPLEFDC_PH0 0x01 +#define APPLEFDC_PH1 0x02 +#define APPLEFDC_PH2 0x04 +#define APPLEFDC_PH3 0x08 extern const device_type APPLEFDC; extern const device_type IWM; @@ -62,10 +62,10 @@ public: virtual void write(UINT8 offset, UINT8 data); // read/write handlers overloads - UINT8 read(offs_t offset) { return read((UINT8) offset); } - void write(offs_t offset, UINT8 data) { write((UINT8) offset, data); } - DECLARE_READ8_MEMBER( read ) { return read((UINT8) offset); } - DECLARE_WRITE8_MEMBER( write ) { write((UINT8) offset, data); } + UINT8 read(offs_t offset) { return read((UINT8) offset); } + void write(offs_t offset, UINT8 data) { write((UINT8) offset, data); } + DECLARE_READ8_MEMBER( read ) { return read((UINT8) offset); } + DECLARE_WRITE8_MEMBER( write ) { write((UINT8) offset, data); } // accessor UINT8 get_lines(); @@ -73,9 +73,9 @@ public: protected: enum applefdc_t { - APPLEFDC_APPLE2, /* classic Apple II disk controller (pre-IWM) */ - APPLEFDC_IWM, /* Integrated Woz Machine */ - APPLEFDC_SWIM /* Sander/Woz Integrated Machine */ + APPLEFDC_APPLE2, /* classic Apple II disk controller (pre-IWM) */ + APPLEFDC_IWM, /* Integrated Woz Machine */ + APPLEFDC_SWIM /* Sander/Woz Integrated Machine */ }; // constructor @@ -90,15 +90,15 @@ protected: virtual void iwm_modereg_w(UINT8 data); private: - // data that is constant for the lifetime of the emulation - emu_timer * m_motor_timer; - applefdc_t m_type; + // data that is constant for the lifetime of the emulation + emu_timer * m_motor_timer; + applefdc_t m_type; // data that changes at emulation time - UINT8 m_write_byte; - UINT8 m_lines; /* flags from IWM_MOTOR - IWM_Q7 */ - UINT8 m_mode; /* 0-31; see above */ - UINT8 m_handshake_hack; /* not sure what this is for */ + UINT8 m_write_byte; + UINT8 m_lines; /* flags from IWM_MOTOR - IWM_Q7 */ + UINT8 m_mode; /* 0-31; see above */ + UINT8 m_handshake_hack; /* not sure what this is for */ // functions const applefdc_interface *get_interface(); @@ -146,16 +146,16 @@ public: MCFG_DEVICE_CONFIG(_intrf) #define MCFG_APPLEFDC_MODIFY(_tag, _intrf) \ - MCFG_DEVICE_MODIFY(_tag) \ - MCFG_DEVICE_CONFIG(_intrf) + MCFG_DEVICE_MODIFY(_tag) \ + MCFG_DEVICE_CONFIG(_intrf) #define MCFG_IWM_ADD(_tag, _intrf) \ MCFG_DEVICE_ADD(_tag, IWM, 0) \ MCFG_DEVICE_CONFIG(_intrf) #define MCFG_IWM_MODIFY(_tag, _intrf) \ - MCFG_DEVICE_MODIFY(_tag) \ - MCFG_DEVICE_CONFIG(_intrf) + MCFG_DEVICE_MODIFY(_tag) \ + MCFG_DEVICE_CONFIG(_intrf) #endif /* __APPLEFDC_H__ */ -- cgit v1.2.3-70-g09d2