summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/msm58321.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/msm58321.h')
-rw-r--r--src/emu/machine/msm58321.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/emu/machine/msm58321.h b/src/emu/machine/msm58321.h
index f6cf39cbe19..caa9cdbc197 100644
--- a/src/emu/machine/msm58321.h
+++ b/src/emu/machine/msm58321.h
@@ -32,7 +32,7 @@
//**************************************************************************
#define MCFG_MSM58321_ADD(_tag, _clock, _config) \
- MCFG_DEVICE_ADD(_tag, MSM58321, _clock) \
+ MCFG_DEVICE_ADD(_tag, MSM58321, _clock) \
MCFG_DEVICE_CONFIG(_config)
#define MSM58321_INTERFACE(name) \
@@ -48,20 +48,20 @@
struct msm58321_interface
{
- devcb_write_line m_out_busy_cb;
+ devcb_write_line m_out_busy_cb;
};
// ======================> msm58321_device
-class msm58321_device : public device_t,
+class msm58321_device : public device_t,
public device_rtc_interface,
- public msm58321_interface
+ public msm58321_interface
{
public:
- // construction/destruction
- msm58321_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ // construction/destruction
+ msm58321_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
DECLARE_READ8_MEMBER( read );
DECLARE_WRITE8_MEMBER( write );
@@ -76,10 +76,10 @@ public:
DECLARE_READ_LINE_MEMBER( busy_r );
protected:
- // device-level overrides
+ // device-level overrides
virtual void device_config_complete();
- virtual void device_start();
- virtual void device_reset();
+ virtual void device_start();
+ virtual void device_reset();
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
// device_rtc_interface overrides
@@ -92,18 +92,18 @@ private:
inline int read_counter(int counter);
inline void write_counter(int counter, int value);
- devcb_resolved_write_line m_out_busy_func;
+ devcb_resolved_write_line m_out_busy_func;
- int m_cs1; // chip select 1
- int m_cs2; // chip select 2
- int m_busy; // busy flag
- int m_read; // read data
- int m_write; // write data
- int m_address_write; // write address
+ int m_cs1; // chip select 1
+ int m_cs2; // chip select 2
+ int m_busy; // busy flag
+ int m_read; // read data
+ int m_write; // write data
+ int m_address_write; // write address
- UINT8 m_reg[13]; // registers
- UINT8 m_latch; // data latch (not present in real chip)
- UINT8 m_address; // address latch
+ UINT8 m_reg[13]; // registers
+ UINT8 m_latch; // data latch (not present in real chip)
+ UINT8 m_address; // address latch
// timers
emu_timer *m_clock_timer;