diff --git a/src/keyboard_at.c b/src/keyboard_at.c index 4cc899c..c2e8de8 100644 --- a/src/keyboard_at.c +++ b/src/keyboard_at.c @@ -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;