Removed ALLEGRO, per Kotori's OK.
Fixed serial driver, re-worked API and updated other files accordingly. Fixed serial mouse driver for new serial port, prepared for Mouse Systems mode.
This commit is contained in:
@@ -297,11 +297,11 @@ process_value:
|
||||
if (valxor)
|
||||
{
|
||||
if (!val)
|
||||
serial1_remove();
|
||||
serial_remove(1);
|
||||
else
|
||||
{
|
||||
ld_port = make_port(4);
|
||||
serial1_set(ld_port, fdc37c932fr_ld_regs[4][0x70]);
|
||||
serial_setup(1, ld_port, fdc37c932fr_ld_regs[4][0x70]);
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -311,7 +311,7 @@ process_value:
|
||||
if (valxor && fdc37c932fr_ld_regs[4][0x30])
|
||||
{
|
||||
ld_port = make_port(4);
|
||||
serial1_set(ld_port, fdc37c932fr_ld_regs[4][0x70]);
|
||||
serial_setup(1, ld_port, fdc37c932fr_ld_regs[4][0x70]);
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -325,11 +325,11 @@ process_value:
|
||||
if (valxor)
|
||||
{
|
||||
if (!val)
|
||||
serial2_remove();
|
||||
serial_remove(2);
|
||||
else
|
||||
{
|
||||
ld_port = make_port(5);
|
||||
serial2_set(ld_port, fdc37c932fr_ld_regs[5][0x70]);
|
||||
serial_setup(2, ld_port, fdc37c932fr_ld_regs[5][0x70]);
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -339,7 +339,7 @@ process_value:
|
||||
if (valxor && fdc37c932fr_ld_regs[5][0x30])
|
||||
{
|
||||
ld_port = make_port(5);
|
||||
serial2_set(ld_port, fdc37c932fr_ld_regs[5][0x70]);
|
||||
serial_setup(2, ld_port, fdc37c932fr_ld_regs[5][0x70]);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user