And machine/m_ps2_isa.c.

This commit is contained in:
OBattler
2022-07-19 23:40:08 +02:00
parent 3cca314d0c
commit 3c2caca481

View File

@@ -98,6 +98,7 @@ ps2_write(uint16_t port, uint8_t val, void *priv)
} }
} }
static uint8_t static uint8_t
ps2_read(uint16_t port, void *priv) ps2_read(uint16_t port, void *priv)
{ {
@@ -138,6 +139,7 @@ ps2_read(uint16_t port, void *priv)
return temp; return temp;
} }
static void static void
ps2_isa_setup(int model, int cpu_type) ps2_isa_setup(int model, int cpu_type)
{ {
@@ -181,6 +183,7 @@ ps2_isa_setup(int model, int cpu_type)
device_add(&ps1vga_device); device_add(&ps1vga_device);
} }
static void static void
ps2_isa_common_init(const machine_t *model) ps2_isa_common_init(const machine_t *model)
{ {
@@ -196,11 +199,10 @@ ps2_isa_common_init(const machine_t *model)
device_add(&port_6x_ps2_device); device_add(&port_6x_ps2_device);
} }
int int
machine_ps2_m30_286_init(const machine_t *model) machine_ps2_m30_286_init(const machine_t *model)
{ {
void *priv;
int ret; int ret;
ret = bios_load_linear("roms/machines/ibmps2_m30_286/33f5381a.bin", ret = bios_load_linear("roms/machines/ibmps2_m30_286/33f5381a.bin",