summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhpa <hpa>2000-11-06 20:49:08 +0000
committerhpa <hpa>2000-11-06 20:49:08 +0000
commit2573a987cfa6d3740dab9906b4505b8ba93fad95 (patch)
treec0f9178c8f26efb11e15055695d2ef22fe6044de
parent22c73cda905131757b95438b6b5b64ad6ebaa0e9 (diff)
downloadsyslinux-2573a987cfa6d3740dab9906b4505b8ba93fad95.tar.gz
Move up the stack so it doesn't get clobbered when copying the final
32K setup code.
-rw-r--r--ldlinux.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/ldlinux.asm b/ldlinux.asm
index 4ac22b0f..88db90bd 100644
--- a/ldlinux.asm
+++ b/ldlinux.asm
@@ -93,11 +93,11 @@ su_bsklugeseg resw 1 ; 0222
su_heapend resw 1 ; 0224
su_pad1 resw 1 ; 0226
su_cmd_line_ptr resd 1 ; 0228
- resb (8000h-12)-($-$$) ; Were bootsect.S puts it...
-linux_stack equ $ ; 7FF4
+ resb (9000h-12)-($-$$) ; The setup is up to 32K long
+linux_stack equ $ ; 8FF4
linux_fdctab equ $
- resb 8000h-($-$$)
-cmd_line_here equ $ ; 8000 Should be out of the way
+ resb 9000h-($-$$)
+cmd_line_here equ $ ; 9000 Should be out of the way
endstruc
;