aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-08-17 15:13:50 -0700
committerH. Peter Anvin <hpa@zytor.com>2006-08-17 15:13:50 -0700
commitfce3daf690aac2e42b067f8d3eba9285bf4b4dc9 (patch)
treec93b29bba1b44c0ac08b5f96640ca70abdc4543f
parent1450ab11b6f09bb35dc3e9419a3a1e4dc9b9dfe6 (diff)
downloadsyslinux-fce3daf690aac2e42b067f8d3eba9285bf4b4dc9.tar.gz
syslinux-fce3daf690aac2e42b067f8d3eba9285bf4b4dc9.tar.xz
syslinux-fce3daf690aac2e42b067f8d3eba9285bf4b4dc9.zip
Remove obsolete code
-rw-r--r--comboot.inc13
1 files changed, 1 insertions, 12 deletions
diff --git a/comboot.inc b/comboot.inc
index e0350655..3e18b9d3 100644
--- a/comboot.inc
+++ b/comboot.inc
@@ -141,7 +141,6 @@ is_comboot_image:
; Proper return vector
comboot_return: cli ; Don't trust anyone
- xor ax,ax
jmp comboot_exit
;
@@ -200,13 +199,11 @@ comboot_bogus: cli ; Don't trust anyone
mov ax,err_notdos
;
; Generic COMBOOT return to command line code
-; AX -> message (if any)
; BX -> where to go next
;
comboot_exit:
mov bx,enter_command ; Normal return to command prompt
comboot_exit_special:
- mov cx,ax
xor ax,ax
mov ds,ax
mov es,ax
@@ -214,13 +211,7 @@ comboot_exit_special:
sti
cld
call adjust_screen ; The COMBOOT program might have changed the screen
- jcxz .nomsg
- mov ax,cx
- mov si,KernelCName
- call cwritestr
- xchg si,ax
- call cwritestr
-.nomsg: jmp bx
+ jmp bx
;
; INT 21h system calls
@@ -375,7 +366,6 @@ comapi_run:
mov si,P_BX
mov di,command_line
call strcpy
- xor ax,ax
mov bx,load_kernel ; Run a new kernel
jmp comboot_exit_special ; Terminate task, clean up
@@ -715,7 +705,6 @@ comapi_runkernel:
mov [IPAppend],al
%endif
- xor ax,ax
mov bx,.finish
jmp comboot_exit_special