summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/xavix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/xavix.cpp')
-rw-r--r--src/mame/machine/xavix.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/machine/xavix.cpp b/src/mame/machine/xavix.cpp
index c45e8c89574..a63e0ec7444 100644
--- a/src/mame/machine/xavix.cpp
+++ b/src/mame/machine/xavix.cpp
@@ -241,13 +241,13 @@ WRITE8_MEMBER(xavix_state::adc_7b80_w)
WRITE8_MEMBER(xavix_state::adc_7b81_w)
{
-// m_irqsource &= ~0x04;
-// update_irqs();
+// m_irqsource &= ~0x04;
+// update_irqs();
LOG("%s: adc_7b81_w %02x\n", machine().describe_context(), data);
m_adc_control = data;
-// m_adc_timer->adjust(attotime::from_usec(200));
+// m_adc_timer->adjust(attotime::from_usec(200));
}
@@ -425,13 +425,13 @@ void xavix_i2c_state::write_io1(uint8_t data, uint8_t direction)
if (direction & 0x10)
{
m_i2cmem->write_scl((data & 0x10) >> 4);
- }
+ }
}
uint8_t xavix_i2c_lotr_state::read_io1(uint8_t direction)
{
uint8_t ret = m_in1->read();
-
+
// some kind of comms with the IR sensor?
ret ^= (machine().rand() & 0x02);
ret ^= (machine().rand() & 0x04);
@@ -621,7 +621,7 @@ WRITE8_MEMBER(xavix_state::timer_control_w)
{
/* timer is actively used by
ttv_lotr, ttv_sw, drgqst, has_wamg, rad_rh, eka_*, epo_efdx, rad_bass, rad_bb2
-
+
gets turned on briefly during the bootup of rad_crdn, but then off again
runs during rad_fb / rad_madf, but with IRQs turned off
@@ -651,7 +651,7 @@ WRITE8_MEMBER(xavix_state::timer_control_w)
// uint32_t freq = m_maincpu->unscaled_clock()/2;
// m_freq_timer->adjust(attotime::from_hz(freq / divide) * m_timer_baseval*20);
//m_freq_timer->adjust(attotime::from_usec(1000));
- m_freq_timer->adjust(attotime::from_usec(50));
+ m_freq_timer->adjust(attotime::from_usec(50));
}
else
{
@@ -719,7 +719,7 @@ TIMER_CALLBACK_MEMBER(xavix_state::freq_timer_done)
m_timer_control |= 0x80;
update_irqs();
}
-
+
//logerror("freq_timer_done\n");
// reload
//m_freq_timer->adjust(attotime::from_usec(50000));