1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-27 12:18:07 +11:00

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