|author||hpa <hpa>||1999-03-23 09:01:59 +0000|
|committer||hpa <hpa>||1999-03-23 09:01:59 +0000|
Move far jmp into the boot sector, since there actually is space there
now (how did that happen?)
1 files changed, 7 insertions, 9 deletions
diff --git a/ldlinux.asm b/ldlinux.asm
index 873395c6..e3bede42 100644
@@ -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
- jmp ldlinux_ent
+ jmp 0:ldlinux_ent
@@ -783,15 +789,7 @@ ldlinux_magic db 'LDLINUX SYS'
-; 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.
- jmp 0:ldlinux_ent2
; Tell the user we got this far