summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/rs232
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-09-23 11:34:14 -0400
committer AJR <ajrhacker@users.noreply.github.com>2017-09-23 11:36:32 -0400
commit3bb8d60ddddd4c17ca36018e489e2c7378a1ea0d (patch)
tree22f63da878634c51758048949e3c970d7d6ba887 /src/devices/bus/rs232
parent1a0b4577a2c797d254262f6e538d5731935034c7 (diff)
rs232: Add 9615 baud rate actually used by a number of systems
Diffstat (limited to 'src/devices/bus/rs232')
-rw-r--r--src/devices/bus/rs232/rs232.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/devices/bus/rs232/rs232.h b/src/devices/bus/rs232/rs232.h
index b062d35ff5b..5621609f76f 100644
--- a/src/devices/bus/rs232/rs232.h
+++ b/src/devices/bus/rs232/rs232.h
@@ -40,6 +40,10 @@
#define RS232_BAUD_57600 (0x0c)
#define RS232_BAUD_115200 (0x0d)
+// Some systems may not include a dedicated XTAL capable of producing standard baud rates for the UART.
+// These slightly deviant rates, which might lie within tolerance limits of actual hardware, have been found in use.
+#define RS232_BAUD_9615 (0x0e)
+
#define MCFG_RS232_BAUD(_tag, _default_baud, _description, _class, _write_line) \
PORT_START(_tag) \
PORT_CONFNAME(0xff, _default_baud, _description) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, _class, _write_line) \
@@ -51,6 +55,7 @@
PORT_CONFSETTING( RS232_BAUD_2400, "2400") \
PORT_CONFSETTING( RS232_BAUD_4800, "4800") \
PORT_CONFSETTING( RS232_BAUD_9600, "9600") \
+ PORT_CONFSETTING( RS232_BAUD_9615, "9615") \
PORT_CONFSETTING( RS232_BAUD_14400, "14400") \
PORT_CONFSETTING( RS232_BAUD_19200, "19200") \
PORT_CONFSETTING( RS232_BAUD_28800, "28800") \
@@ -199,7 +204,8 @@ protected:
28800,
38400,
57600,
- 115200
+ 115200,
+ 9615
};
return values[baud];