diff options
Diffstat (limited to 'boot2')
| -rw-r--r-- | boot2/stage2.asm | 2 | ||||
| -rw-r--r-- | boot2/vesa_setup_16.asm | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/boot2/stage2.asm b/boot2/stage2.asm index 44a4faf..160d75c 100644 --- a/boot2/stage2.asm +++ b/boot2/stage2.asm @@ -44,7 +44,7 @@ VESA_MODES equ 0xb000 ; do NOT overwrite yourself! be careful! VESA_MODE_INFO equ 0xc000 VESA_MODE_SELECT equ 0x4114 -CHUNKS_TO_LOAD equ 0x0f ;number of 0x8000 * 512 byte chunks to load into ram +CHUNKS_TO_LOAD equ 0x20 ;number of 0x8000 * 512 byte chunks to load into ram ; jmp boot_16 ;start boot process diff --git a/boot2/vesa_setup_16.asm b/boot2/vesa_setup_16.asm index d4c6ca2..5bee57c 100644 --- a/boot2/vesa_setup_16.asm +++ b/boot2/vesa_setup_16.asm @@ -79,6 +79,7 @@ VesaSetup: ;VESA: finally switch to the mode of choice! mov ax,0x4f02 ;vesa function: Set Mode mov bx,VESA_MODE_SELECT + int 0x10 cmp ax,0x004f je vesa_ok3 |
