Displaying 5 results from an estimated 5 matches for "ebios_flag".
2017 Mar 25
2
where to swap
....S b/mbr/isohdpfx.S
index 17e1efe..a693ccb 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)
_______________________________________________
Syslinux-commits mailing list
Syslinux-commits at zytor.com
http://www.zytor.com/mailman/listinfo/syslinux-commits
----- End forwarded message -----
And please see also the patch in http://www.syslinux.org/arc...
2017 Mar 22
0
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
....S b/mbr/isohdpfx.S
index 6d8ab36..5a8b267 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)
--
MartinS
2017 Mar 25
0
where to swap
...--- 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)
Yes. It is. However by now we know that that correction is wrong. You
need to revert that and use the one in
<http://www.syslinux.org/archives/2017-March/025706.html>. Here pasted
(so might not apply cleanly):
diff --git a/mbr/isohdpfx.S b/mbr/isohd...
2017 Mar 21
3
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
...xt
HYBRID_MAGIC = 0x7078c0fb
isolinux_hybrid_signature = 0x7c00+64
isolinux_start_hybrid = 0x7c00+64+4
.globl bootsec
/* Important: the top 6 words on the stack are passed to isolinux.bin */
stack = 0x7c00
partoffset = (stack-8)
driveno = (stack-14)
heads = (stack-16)
sectors = (stack-18)
ebios_flag = (stack-20)
secpercyl = (stack-24)
BIOS_kbdflags = 0x417
BIOS_page = 0x462
/* gas/ld has issues with doing this as absolute addresses... */
.section ".bootsec", "a", @nobits
.globl bootsec
bootsec:
.space 512
.text
.globl _start
_start:
.byte 0x33, 0xed /* xorw %bp, %...
2017 Mar 22
3
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
Hi,
given the fact that the conversion has the factor HC*SH = "secpercyl",
which is invariant under swapping, there remains as suspect in
read_sector_cbios only this division:
divb (sectors)
There is a suspicious discrepancy in the code:
heads = (stack-16)
sectors = (stack-18)
...
/* here we computer CHS values or just do some dummy computation for EBIOS */
andw $0x3f,