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:
waltje
2017-05-07 02:14:44 -04:00
parent 3f3471ee7e
commit 79bccfeb77
33 changed files with 858 additions and 2740 deletions

View File

@@ -275,11 +275,11 @@ void common_init()
pit_init();
if (serial_enabled[0])
{
serial1_init(0x3f8, 4);
serial_setup(1, SERIAL1_ADDR, SERIAL1_IRQ);
}
if (serial_enabled[1])
{
serial2_init(0x2f8, 3);
serial_setup(2, SERIAL2_ADDR, SERIAL2_IRQ);
}
}
@@ -306,7 +306,7 @@ void pcjr_init()
pit_set_out_func(&pit, 0, pit_irq0_timer_pcjr);
if (serial_enabled[0])
{
serial1_init(0x2f8, 3);
serial_setup(1, 0x2f8, 3);
}
keyboard_pcjr_init();
device_add(&sn76489_device);