summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/6821pia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/6821pia.cpp')
-rw-r--r--src/devices/machine/6821pia.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/devices/machine/6821pia.cpp b/src/devices/machine/6821pia.cpp
index 354fec84a0f..489391e043f 100644
--- a/src/devices/machine/6821pia.cpp
+++ b/src/devices/machine/6821pia.cpp
@@ -1111,7 +1111,7 @@ WRITE_LINE_MEMBER( pia6821_device::cb2_w )
bool pia6821_device::cb2_output()
{
m_out_cb2_needs_pulled = false;
-
+
return m_out_cb2;
}
@@ -1130,17 +1130,17 @@ bool pia6821_device::cb2_output_z()
// control byte wrappers
//-------------------------------------------------
-bool pia6821_device::irq1_enabled(uint8_t c) { return bool((c >> 0) & 0x01); }
-bool pia6821_device::c1_low_to_high(uint8_t c) { return bool((c >> 1) & 0x01); }
-bool pia6821_device::c1_high_to_low(uint8_t c) { return !bool((c >> 1) & 0x01); }
-bool pia6821_device::output_selected(uint8_t c) { return bool((c >> 2) & 0x01); }
-bool pia6821_device::irq2_enabled(uint8_t c) { return bool((c >> 3) & 0x01); }
-bool pia6821_device::strobe_e_reset(uint8_t c) { return bool((c >> 3) & 0x01); }
-bool pia6821_device::strobe_c1_reset(uint8_t c) { return !bool((c >> 3) & 0x01); }
-bool pia6821_device::c2_set(uint8_t c) { return bool((c >> 3) & 0x01); }
-bool pia6821_device::c2_low_to_high(uint8_t c) { return bool((c >> 4) & 0x01); }
-bool pia6821_device::c2_high_to_low(uint8_t c) { return !bool((c >> 4) & 0x01); }
-bool pia6821_device::c2_set_mode(uint8_t c) { return bool((c >> 4) & 0x01); }
-bool pia6821_device::c2_strobe_mode(uint8_t c) { return !bool((c >> 4) & 0x01); }
-bool pia6821_device::c2_output(uint8_t c) { return bool((c >> 5) & 0x01); }
-bool pia6821_device::c2_input(uint8_t c) { return !bool((c >> 5) & 0x01); }
+bool pia6821_device::irq1_enabled(uint8_t c) { return bool((c >> 0) & 0x01); }
+bool pia6821_device::c1_low_to_high(uint8_t c) { return bool((c >> 1) & 0x01); }
+bool pia6821_device::c1_high_to_low(uint8_t c) { return !bool((c >> 1) & 0x01); }
+bool pia6821_device::output_selected(uint8_t c) { return bool((c >> 2) & 0x01); }
+bool pia6821_device::irq2_enabled(uint8_t c) { return bool((c >> 3) & 0x01); }
+bool pia6821_device::strobe_e_reset(uint8_t c) { return bool((c >> 3) & 0x01); }
+bool pia6821_device::strobe_c1_reset(uint8_t c) { return !bool((c >> 3) & 0x01); }
+bool pia6821_device::c2_set(uint8_t c) { return bool((c >> 3) & 0x01); }
+bool pia6821_device::c2_low_to_high(uint8_t c) { return bool((c >> 4) & 0x01); }
+bool pia6821_device::c2_high_to_low(uint8_t c) { return !bool((c >> 4) & 0x01); }
+bool pia6821_device::c2_set_mode(uint8_t c) { return bool((c >> 4) & 0x01); }
+bool pia6821_device::c2_strobe_mode(uint8_t c) { return !bool((c >> 4) & 0x01); }
+bool pia6821_device::c2_output(uint8_t c) { return bool((c >> 5) & 0x01); }
+bool pia6821_device::c2_input(uint8_t c) { return !bool((c >> 5) & 0x01); }