summaryrefslogtreecommitdiff
path: root/boot2/stage2.asm
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-11-25 01:40:50 +0100
committerMichal Idziorek <m.i@gmx.at>2014-11-25 01:40:50 +0100
commitbad8fa17adf4d9609343fe86feabe05188023bc1 (patch)
treed9298a6bc2c6f0a3880ba2dbd3dda662f00e098c /boot2/stage2.asm
parent7230b118e3a8f6b25bc2d525999b815c30490c81 (diff)
memory and buildsys improvements
Diffstat (limited to 'boot2/stage2.asm')
-rw-r--r--boot2/stage2.asm10
1 files changed, 6 insertions, 4 deletions
diff --git a/boot2/stage2.asm b/boot2/stage2.asm
index d4abbca..e5ce600 100644
--- a/boot2/stage2.asm
+++ b/boot2/stage2.asm
@@ -37,10 +37,12 @@
;;where we will load our kernel into memory and some
;;other memory locations
;
-MEMMAP_SIZE_OFFSET equ 0x7c00
-MEMMAP_OFFSET equ 0x7c01
-VESA_MODES equ 0x9300 ; do NOT overwrite yourself! be careful!
-VESA_MODE_INFO equ 0x9400
+MEMMAP_SIZE_OFFSET equ 0xa000
+MEMMAP_OFFSET equ 0xa001
+
+VESA_MODES equ 0xb000 ; do NOT overwrite yourself! be careful!
+VESA_MODE_INFO equ 0xc000
+
VESA_MODE_SELECT equ 0x4114
CHUNKS_TO_LOAD equ 0x0a ;number of 0x8000 * 512 byte chunks to load into ram
;