From 8818606867742d64507a967535db2a2c409b7e8f Mon Sep 17 00:00:00 2001 From: Paul Mathieu Date: Mon, 6 Oct 2025 22:50:34 +0200 Subject: [PATCH] polmon: fix restoring ss in cbreak --- src/polmon.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/polmon.cc b/src/polmon.cc index d279ff7..c23642c 100644 --- a/src/polmon.cc +++ b/src/polmon.cc @@ -228,7 +228,7 @@ asm(" .section .text.cbreak \n" " xor %ax, %ax \n" " mov %ax, %ds \n" " cli \n" - " mov %ax, %ds \n" + " mov %ax, %ss \n" " mov $0x2000, %sp \n" " sti \n" " pushf \n"