summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/hpc3.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/hpc3.h')
-rw-r--r--src/mame/machine/hpc3.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/mame/machine/hpc3.h b/src/mame/machine/hpc3.h
index 10c658bd362..94d6c65e595 100644
--- a/src/mame/machine/hpc3.h
+++ b/src/mame/machine/hpc3.h
@@ -11,11 +11,12 @@
#pragma once
+#include "cpu/mips/mips3.h"
#include "machine/ds1386.h"
#include "machine/eepromser.h"
#include "machine/hal2.h"
#include "machine/ioc2.h"
-#include "machine/wd33c9x.h"
+#include "machine/wd33c93.h"
#include "sound/dac.h"
#include "sound/volt_reg.h"
#include "speaker.h"
@@ -77,26 +78,25 @@ protected:
DECLARE_WRITE32_MEMBER(pio_config_w);
void do_pbus_dma(uint32_t channel);
- void do_scsi_dma(int channel);
void dump_chain(uint32_t base);
void fetch_chain(int channel);
void decrement_chain(int channel);
void scsi_drq(bool state, int channel);
- //void scsi_dma(int channel);
+ void scsi_dma(int channel);
static const device_timer_id TIMER_PBUS_DMA = 0;
struct pbus_dma_t
{
bool m_active;
+ uint32_t m_buf_ptr;
uint32_t m_cur_ptr;
uint32_t m_desc_ptr;
uint32_t m_desc_flags;
uint32_t m_next_ptr;
uint32_t m_bytes_left;
uint32_t m_config;
- uint32_t m_control;
emu_timer *m_timer;
};
@@ -131,9 +131,9 @@ protected:
HPC3_DMACTRL_ENABLE = 0x10,
};
- required_device<cpu_device> m_maincpu;
- required_device<wd33c93b_device> m_wd33c93;
- optional_device<wd33c93b_device> m_wd33c93_2;
+ required_device<mips3_device> m_maincpu;
+ required_device<wd33c93_device> m_wd33c93;
+ optional_device<wd33c93_device> m_wd33c93_2;
required_device<eeprom_serial_93cxx_device> m_eeprom;
required_device<ds1386_device> m_rtc;
required_device<ioc2_device> m_ioc2;
@@ -153,7 +153,6 @@ protected:
uint32_t m_length;
uint32_t m_next;
bool m_irq;
- bool m_drq;
bool m_big_endian;
bool m_to_device;
bool m_active;