From bf9c9075da4396e72ef99cb93e0b9f4637cf1373 Mon Sep 17 00:00:00 2001 From: Jasmine Iwanek Date: Sun, 19 Dec 2021 18:18:20 -0500 Subject: [PATCH] support gameport at 0x208-0x20f also --- src/game/gameport.c | 9 +++++++++ src/include/86box/gameport.h | 1 + 2 files changed, 10 insertions(+) diff --git a/src/game/gameport.c b/src/game/gameport.c index c4e33f20b..32fa572e6 100644 --- a/src/game/gameport.c +++ b/src/game/gameport.c @@ -454,6 +454,15 @@ const device_t gameport_201_device = { NULL }; +const device_t gameport_208_device = { + "Game port (Port 208h-20fh)", + 0, 0x080208, + gameport_init, + gameport_close, + NULL, { NULL }, NULL, + NULL +}; + const device_t gameport_pnp_device = { "Game port (Plug and Play only)", 0, 0x080000, diff --git a/src/include/86box/gameport.h b/src/include/86box/gameport.h index 25027d59e..486939af9 100644 --- a/src/include/86box/gameport.h +++ b/src/include/86box/gameport.h @@ -108,6 +108,7 @@ extern "C" { #ifdef EMU_DEVICE_H extern const device_t gameport_device; extern const device_t gameport_201_device; +extern const device_t gameport_208_device; extern const device_t gameport_pnp_device; extern const device_t gameport_pnp_6io_device; extern const device_t gameport_sio_device;