projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a539112
)
core/diskstart.inc: Wrap INT13h in xint13 to preserve ES
author
Gene Cumm
<gene.cumm@gmail.com>
Tue, 21 Dec 2010 01:24:29 +0000
(20:24 -0500)
committer
Gene Cumm
<gene.cumm@gmail.com>
Tue, 21 Dec 2010 01:24:29 +0000
(20:24 -0500)
Sometimes INT13h AH08h kills ES to return info about a "floppy" (since
an unpartitioned HDD might look like a floppy). Also, change to tabs
on previous line.
core/diskstart.inc
patch
|
blob
|
history
diff --git
a/core/diskstart.inc
b/core/diskstart.inc
index
3fc20e2
..
ac34cad
100644
(file)
--- a/
core/diskstart.inc
+++ b/
core/diskstart.inc
@@
-420,8
+420,10
@@
writestr_early:
; INT 13h wrapper function
;
xint13:
- mov dl,[DriveNumber]
+ mov dl,[DriveNumber]
+ push es ; ES destroyed by INT 13h AH 08h
int 13h
+ pop es
ret
;