diff --git a/src/device/serial.c b/src/device/serial.c index 15527fad4..7f93edb53 100644 --- a/src/device/serial.c +++ b/src/device/serial.c @@ -757,3 +757,39 @@ const device_t ns16550_device = { { NULL }, serial_speed_changed, NULL, NULL }; + +const device_t ns16650_device = { + "Startech Semiconductor 16650(-compatible) UART", + 0, + SERIAL_16650, + serial_init, serial_close, NULL, + { NULL }, serial_speed_changed, NULL, + NULL +}; + +const device_t ns16750_device = { + "Texas Instruments 16750(-compatible) UART", + 0, + SERIAL_16750, + serial_init, serial_close, NULL, + { NULL }, serial_speed_changed, NULL, + NULL +}; + +const device_t ns16850_device = { + "Exar Corporation NS16850(-compatible) UART", + 0, + SERIAL_16850, + serial_init, serial_close, NULL, + { NULL }, serial_speed_changed, NULL, + NULL +}; + +const device_t ns16950_device = { + "Oxford Semiconductor NS16950(-compatible) UART", + 0, + SERIAL_16950, + serial_init, serial_close, NULL, + { NULL }, serial_speed_changed, NULL, + NULL +}; diff --git a/src/include/86box/serial.h b/src/include/86box/serial.h index 576c0c12e..25512f2c8 100644 --- a/src/include/86box/serial.h +++ b/src/include/86box/serial.h @@ -6,7 +6,8 @@ * * This file is part of the 86Box distribution. * - * Definitions for the NS8250/16450/16550 UART emulation. + * Definitions for the NS8250/16450/16550/16650/16750/16850/16950 + * UART emulation. * * * @@ -26,6 +27,10 @@ #define SERIAL_8250_PCJR 1 #define SERIAL_NS16450 2 #define SERIAL_NS16550 3 +#define SERIAL_16650 4 +#define SERIAL_16750 5 +#define SERIAL_16850 6 +#define SERIAL_16950 7 #define SERIAL_FIFO_SIZE 16 @@ -93,6 +98,10 @@ extern const device_t i8250_device; extern const device_t i8250_pcjr_device; extern const device_t ns16450_device; extern const device_t ns16550_device; +extern const device_t ns16650_device; +extern const device_t ns16750_device; +extern const device_t ns16850_device; +extern const device_t ns16950_device; #endif /*EMU_SERIAL_H*/