summaryrefslogtreecommitdiff
path: root/isolinux.asm
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-27 03:28:08 +0000
committerhpa <hpa>2004-12-27 03:28:08 +0000
commit88310d544e0e2758355f8372fcfe7ceb73256973 (patch)
tree07e78283dbc0c1c7fdca5ebfde71978ff27f75ad /isolinux.asm
parente73cd0b64ed52d9d08ef1bfcae8b8c30f7157a75 (diff)
downloadsyslinux-88310d544e0e2758355f8372fcfe7ceb73256973.tar.gz
Reorganize memory slightly; split .bss into .bss and .earlybss and
move its base down to 0800h; relocate pxelinux since it needs copious amounts of bss.
Diffstat (limited to 'isolinux.asm')
-rw-r--r--isolinux.asm10
1 files changed, 6 insertions, 4 deletions
diff --git a/isolinux.asm b/isolinux.asm
index 78e642a4..3ba82972 100644
--- a/isolinux.asm
+++ b/isolinux.asm
@@ -103,13 +103,14 @@ dir_clust resd 1 ; Length in clusters
;
; Memory below this point is reserved for the BIOS and the MBR
;
-BSS_START equ 1000h
- section .bss start=BSS_START
+BSS_START equ 0800h
+ section .earlybss nobits start=BSS_START
trackbufsize equ 8192
trackbuf resb trackbufsize ; Track buffer goes here
getcbuf resb trackbufsize
-; ends at 5000h
+; ends at 4800h
+ section .bss nobits align=256 follows=.earlybss
alignb 4
ISOFileName resb 64 ; ISO filename canonicalization buffer
ISOFileNameEnd equ $
@@ -140,7 +141,8 @@ xbs_vgabuf equ trackbufsize
xbs_vgatmpbuf equ 2*trackbufsize
section .text
- org 7C00h
+TEXT_START equ 7C00h
+ org TEXT_START
;;
;; Primary entry point. Because BIOSes are buggy, we only load the first
;; CD-ROM sector (2K) of the file, so the number one priority is actually