aboutsummaryrefslogtreecommitdiffstats
path: root/abort.inc
diff options
context:
space:
mode:
Diffstat (limited to 'abort.inc')
-rw-r--r--abort.inc6
1 files changed, 1 insertions, 5 deletions
diff --git a/abort.inc b/abort.inc
index f1773b5f..80d70ad6 100644
--- a/abort.inc
+++ b/abort.inc
@@ -46,11 +46,7 @@ abort_check:
; SI = offset (in _text) of error message to print
;
abort_load:
- mov ax,cs ; Restore CS = DS = ES
- mov ds,ax
- mov es,ax
- RESET_STACK ; AX must = 0
- sti
+ RESET_STACK_AND_SEGS AX
call cwritestr ; Expects SI -> error msg
; Return to the command prompt