aboutsummaryrefslogtreecommitdiffstats
path: root/ldlinux.asm
diff options
context:
space:
mode:
Diffstat (limited to 'ldlinux.asm')
-rw-r--r--ldlinux.asm9
1 files changed, 3 insertions, 6 deletions
diff --git a/ldlinux.asm b/ldlinux.asm
index 2a5dfcc6..e528adb4 100644
--- a/ldlinux.asm
+++ b/ldlinux.asm
@@ -30,7 +30,7 @@
%include "kernel.inc"
%include "bios.inc"
%include "tracers.inc"
-
+%include "layout.inc"
;
; Some semi-configurable constants... change on your own risk.
;
@@ -109,14 +109,13 @@ file_left resd 1 ; Number of sectors left
;
; Memory below this point is reserved for the BIOS and the MBR
;
-BSS_START equ 0800h
- section .earlybss nobits start=BSS_START
+ section .earlybss
trackbufsize equ 8192
trackbuf resb trackbufsize ; Track buffer goes here
getcbuf resb trackbufsize
; ends at 4800h
- section .bss nobits align=256 follows=.earlybss
+ section .bss
alignb 8
; Expanded superblock
@@ -152,8 +151,6 @@ xbs_vgatmpbuf equ 2*trackbufsize
section .text
-TEXT_START equ 7C00h
- org TEXT_START
;
; Some of the things that have to be saved very early are saved
; "close" to the initial stack pointer offset, in order to