aboutsummaryrefslogtreecommitdiffstats
path: root/localboot.inc
diff options
context:
space:
mode:
Diffstat (limited to 'localboot.inc')
-rw-r--r--localboot.inc5
1 files changed, 1 insertions, 4 deletions
diff --git a/localboot.inc b/localboot.inc
index 288d390a..b6b31deb 100644
--- a/localboot.inc
+++ b/localboot.inc
@@ -26,10 +26,7 @@
local_boot:
call vgaclearmode
- lss sp,[cs:Stack] ; Restore stack pointer
- xor dx,dx
- mov ds,dx
- mov es,dx
+ RESET_STACK_AND_SEGS dx ; dx <- 0
mov fs,dx
mov gs,dx
mov si,localboot_msg