summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhpa <hpa>2002-05-16 03:55:36 +0000
committerhpa <hpa>2002-05-16 03:55:36 +0000
commit8df193569eae949a35d6acee2942f4ff6c7e5b5a (patch)
tree25bd8ba5bc0b3e6c8f32640eb0853910c1be5c1b
parentb17209b886b2395ed711f3335e7be355d2fefc8d (diff)
downloadsyslinux-8df193569eae949a35d6acee2942f4ff6c7e5b5a.tar.gz
Use INT 13h reset to turn off the floppy, not an explicit out.syslinux-1.73
-rw-r--r--runkernel.inc12
1 files changed, 5 insertions, 7 deletions
diff --git a/runkernel.inc b/runkernel.inc
index b6feecdc..25e128c9 100644
--- a/runkernel.inc
+++ b/runkernel.inc
@@ -527,20 +527,18 @@ root_not_floppy:
pop di
mov [fdctab1],di ; Save new floppy tab pos
mov [fdctab2],es
- xor ax,ax
- xor dx,dx
- int 13h
pop bx
pop ds
%endif
;
; Linux wants the floppy motor shut off before starting the kernel,
-; at least bootsect.S seems to imply so
+; at least bootsect.S seems to imply so.
;
kill_motor:
- mov dx,03F2h
- xor al,al
- call slow_out
+ xor ax,ax
+ xor dx,dx
+ int 13h
+
;
; If we're debugging, wait for a keypress so we can read any debug messages
;