aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Str|mberg <ams@ludd.ltu.se>2017-03-25 08:15:04 -0400
committerGene Cumm <gene.cumm@gmail.com>2017-03-25 08:15:10 -0400
commit48e94f4fa7b3c32cbd43b6e57c64bc933f76d059 (patch)
treea84837aaaf22c009697db21f219ab0c16a71e465
parent346d2278e23f1b9f02903506753263ad7226de58 (diff)
downloadsyslinux-48e94f4fa7b3c32cbd43b6e57c64bc933f76d059.tar.gz
syslinux-48e94f4fa7b3c32cbd43b6e57c64bc933f76d059.tar.xz
syslinux-48e94f4fa7b3c32cbd43b6e57c64bc933f76d059.zip
mbr/isohdpfx.S: correct pointer for heads/sectors
sectors is pushed first then heads but pointers were in reverse order. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
-rw-r--r--mbr/isohdpfx.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbr/isohdpfx.S b/mbr/isohdpfx.S
index 17e1efe1..a693ccb1 100644
--- a/mbr/isohdpfx.S
+++ b/mbr/isohdpfx.S
@@ -48,8 +48,8 @@ isolinux_start_hybrid = 0x7c00+64+4
stack = 0x7c00
partoffset = (stack-8)
driveno = (stack-14)
-heads = (stack-16)
-sectors = (stack-18)
+sectors = (stack-16)
+heads = (stack-18)
ebios_flag = (stack-20)
secpercyl = (stack-24)