Merge pull request #1948 from jriwanek-forks/more-joystick

Add support for a joystick port at 0x209
This commit is contained in:
Miran Grča
2021-12-20 21:58:52 +01:00
committed by GitHub
2 changed files with 11 additions and 1 deletions

View File

@@ -446,7 +446,7 @@ const device_t gameport_device = {
};
const device_t gameport_201_device = {
"Game port (port 201h only)",
"Game port (Port 201h only)",
0, 0x010201,
gameport_init,
gameport_close,
@@ -463,6 +463,15 @@ const device_t gameport_208_device = {
NULL
};
const device_t gameport_209_device = {
"Game port (Port 209h only)",
0, 0x010209,
gameport_init,
gameport_close,
NULL, { NULL }, NULL,
NULL
};
const device_t gameport_pnp_device = {
"Game port (Plug and Play only)",
0, 0x080000,

View File

@@ -109,6 +109,7 @@ extern "C" {
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_209_device;
extern const device_t gameport_pnp_device;
extern const device_t gameport_pnp_6io_device;
extern const device_t gameport_sio_device;