Add PS/2 Model 50 emulation.

This commit also adds basic MCA emulation.
This commit also adds emulation of the PS/2 Type 1 DMA controller.
This commit is contained in:
SarahW 2017-04-06 22:00:40 +01:00
commit 9c1d8e5022
29 changed files with 911 additions and 95 deletions

View file

@ -1,10 +1,11 @@
extern double PITCONST;
void pit_init();
void pit_ps2_init();
void pit_reset();
void pit_set_gate(int channel, int gate);
void pit_set_using_timer(int t, int using_timer);
void pit_set_out_func(int t, void (*func)(int new_out, int old_out));
void pit_clock(int t);
void pit_set_gate(PIT *pit, int channel, int gate);
void pit_set_using_timer(PIT *pit, int t, int using_timer);
void pit_set_out_func(PIT *pit, int t, void (*func)(int new_out, int old_out));
void pit_clock(PIT *pit, int t);
void pit_null_timer(int new_out, int old_out);