From 8bf81b65af38daff5b298d53f4992b5bf9cb89d3 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 16 Jun 2017 15:31:45 +0200 Subject: added embedded VGA fonts, not so sure about the 8 heads for USB images --- src/boot/stage2_real_functions.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/boot') 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: -- cgit v1.2.3-54-g00ecf