From bad8fa17adf4d9609343fe86feabe05188023bc1 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Tue, 25 Nov 2014 01:40:50 +0100 Subject: memory and buildsys improvements --- boot2/stage2.asm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'boot2/stage2.asm') 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 ; -- cgit v1.2.3