Add support for a joystick port at 0x209
This commit is contained in:
@@ -446,7 +446,7 @@ const device_t gameport_device = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const device_t gameport_201_device = {
|
const device_t gameport_201_device = {
|
||||||
"Game port (port 201h only)",
|
"Game port (Port 201h only)",
|
||||||
0, 0x010201,
|
0, 0x010201,
|
||||||
gameport_init,
|
gameport_init,
|
||||||
gameport_close,
|
gameport_close,
|
||||||
@@ -463,6 +463,15 @@ const device_t gameport_208_device = {
|
|||||||
NULL
|
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 = {
|
const device_t gameport_pnp_device = {
|
||||||
"Game port (Plug and Play only)",
|
"Game port (Plug and Play only)",
|
||||||
0, 0x080000,
|
0, 0x080000,
|
||||||
|
@@ -109,6 +109,7 @@ extern "C" {
|
|||||||
extern const device_t gameport_device;
|
extern const device_t gameport_device;
|
||||||
extern const device_t gameport_201_device;
|
extern const device_t gameport_201_device;
|
||||||
extern const device_t gameport_208_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_device;
|
||||||
extern const device_t gameport_pnp_6io_device;
|
extern const device_t gameport_pnp_6io_device;
|
||||||
extern const device_t gameport_sio_device;
|
extern const device_t gameport_sio_device;
|
||||||
|
Reference in New Issue
Block a user