summaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-06-16 15:31:45 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-06-16 15:31:45 +0200
commit8bf81b65af38daff5b298d53f4992b5bf9cb89d3 (patch)
treef5f05ffd8b90fd870adacf5376d6c41a63d78637 /src/boot
parent7d0b2bff84a50d304048f82086936fa8596a0e9f (diff)
downloadabaos-8bf81b65af38daff5b298d53f4992b5bf9cb89d3.tar.gz
abaos-8bf81b65af38daff5b298d53f4992b5bf9cb89d3.tar.bz2
added embedded VGA fonts, not so sure about the 8 heads for USB images
Diffstat (limited to 'src/boot')
-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: