From 88310d544e0e2758355f8372fcfe7ceb73256973 Mon Sep 17 00:00:00 2001 From: hpa Date: Mon, 27 Dec 2004 03:28:08 +0000 Subject: 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. --- isolinux.asm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'isolinux.asm') 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 -- cgit v1.2.1