summaryrefslogtreecommitdiff
path: root/src/boot/stage2_real_functions.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/stage2_real_functions.asm')
-rw-r--r--src/boot/stage2_real_functions.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot/stage2_real_functions.asm b/src/boot/stage2_real_functions.asm
index 01584c9..4e35b25 100644
--- a/src/boot/stage2_real_functions.asm
+++ b/src/boot/stage2_real_functions.asm
@@ -2,14 +2,14 @@
; (note: the first sector gets loaded by the BIOS, the
; next 5 sectors are read by the simple stage 1 loader,
; so subtract 6 here!)
-NOF_LOAD_SECTORS equ 46
+NOF_LOAD_SECTORS equ 156
; data sections used for reading the kernel from disk
SECTORS_PER_CYLINDER:
db 0x3F ; detect parameters enters the correct value here (sectors + 1)
; if detection fails, force int13 to read ahead
NOF_HEADS:
- db 0x01 ; number of heads + 1
+ db 0x09 ; number of heads + 1
SECTORS_TO_LOAD:
db NOF_LOAD_SECTORS ; load NOF_LOAD_SECTORS sectors in total
CURRENT_SECTOR: