summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/hexbus/hexbus.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/hexbus/hexbus.h')
-rw-r--r--src/devices/bus/hexbus/hexbus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/bus/hexbus/hexbus.h b/src/devices/bus/hexbus/hexbus.h
index 7ff730e94a7..76092c0f16f 100644
--- a/src/devices/bus/hexbus/hexbus.h
+++ b/src/devices/bus/hexbus/hexbus.h
@@ -127,6 +127,9 @@ protected:
// Data lines
static int data_lines(uint8_t lines) { return (((lines & 0xc0) >> 4) | (lines & 0x03)); }
+
+ // Return the selected data bit (0-3)
+ int data_bit(int n);
};
// ------------------------------------------------------------------------