diff options
author | hpa <hpa> | 1999-03-23 09:01:59 +0000 |
---|---|---|
committer | hpa <hpa> | 1999-03-23 09:01:59 +0000 |
commit | 6cea1f5ca87e7431fd63ce4c6c358885b24e830c (patch) | |
tree | 1afeeebe5c3b2bd12f3e1e3cf3f5b3a171af1ad4 | |
parent | a3596247f2e3563747dfe38b11c40b857dff55c0 (diff) | |
download | syslinux.git-6cea1f5ca87e7431fd63ce4c6c358885b24e830c.tar.gz syslinux.git-6cea1f5ca87e7431fd63ce4c6c358885b24e830c.tar.xz syslinux.git-6cea1f5ca87e7431fd63ce4c6c358885b24e830c.zip |
Move far jmp into the boot sector, since there actually is space there
now (how did that happen?)
-rw-r--r-- | ldlinux.asm | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/ldlinux.asm b/ldlinux.asm index 873395c6..e3bede42 100644 --- a/ldlinux.asm +++ b/ldlinux.asm @@ -607,8 +607,14 @@ found_it: ; Note: we actually leave two words on the stack here jne kaboom ; matches LDLINUX.SYS ; ; Done! Jump to the entry point! +; +; Note that some BIOSes are buggy and run the boot sector at 07C0:0000 +; instead of 0000:7C00 and the like. We don't want to add anything +; more to the boot sector, so it is written to not assume a fixed +; value in CS, but we don't want to deal with that anymore from now +; on. ; - jmp ldlinux_ent + jmp 0:ldlinux_ent ; ; @@ -783,15 +789,7 @@ ldlinux_magic db 'LDLINUX SYS' align 4 -; -; Entry point. Note that some BIOSes are buggy and put the boot sector -; at 07C0:0000 instead of 0000:7C00 and the like. We don't want to add -; anything more to the boot sector, so it is written to not assume a fixed -; value in CS, but we don't want to deal with that anymore from now on. -; ldlinux_ent: - jmp 0:ldlinux_ent2 -ldlinux_ent2: ; ; Tell the user we got this far ; |