emul/8086/pcat: fix broken AT-XY

This commit is contained in:
Virgil Dupras 2020-10-25 18:42:48 -04:00
parent 6947fea2a8
commit 3198cd8d08

View File

@ -23,7 +23,7 @@ static void int10() {
uint16_t dx = regs.wordregs[regdx];
switch (cmd) {
case 0x02: // at-xy
wmove(w, dx&0xff, dx>>8);
wmove(w, dx>>8, dx&0xff);
break;
case 0x0e: // emit
if (al >= 0x20 || al == '\n') {