Fixed MDA/CGA switch on Xi8088. Patch from EluanCM.
This commit is contained in:
parent
b75c8376e6
commit
8d7a6c03eb
1 changed files with 4 additions and 1 deletions
|
|
@ -604,7 +604,10 @@ void keyboard_at_reset()
|
|||
keyboard_at.mem[0] = 0x11;
|
||||
keyboard_at.wantirq = 0;
|
||||
keyboard_at.output_port = 0xcf;
|
||||
keyboard_at.input_port = (video_is_mda()) ? 0xf0 : 0xb0;
|
||||
if (romset == ROM_XI8088)
|
||||
keyboard_at.input_port = (video_is_mda()) ? 0xb0 : 0xf0;
|
||||
else
|
||||
keyboard_at.input_port = (video_is_mda()) ? 0xf0 : 0xb0;
|
||||
keyboard_at.out_new = -1;
|
||||
keyboard_at.last_irq = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue