diff options
author | dzwdz | 2022-08-01 16:33:44 +0200 |
---|---|---|
committer | dzwdz | 2022-08-01 20:35:49 +0200 |
commit | 6a85c6ede66f723e1415552482e1c6640653efa2 (patch) | |
tree | bb3790a2d1f42d9cf3c69654f20cbd53cc929038 /src/kernel/arch/amd64/multiboot.s | |
parent | 24a5f2bf46432aef70fd8d2ebf6c7ba94a6ce5a2 (diff) |
amd64: /video/b device, provided by grub
Diffstat (limited to 'src/kernel/arch/amd64/multiboot.s')
-rw-r--r-- | src/kernel/arch/amd64/multiboot.s | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/kernel/arch/amd64/multiboot.s b/src/kernel/arch/amd64/multiboot.s index dc19b36..c809297 100644 --- a/src/kernel/arch/amd64/multiboot.s +++ b/src/kernel/arch/amd64/multiboot.s @@ -1,7 +1,8 @@ .set MAGIC, 0x1BADB002 -/* 1<<0 - align modules on page boundaries. */ -.set FLAGS, 1<<0 +/* 1<<0 - align modules on page boundaries. + 1<<2 - enable graphic mode fields */ +.set FLAGS, 1<<0 | 1<<2 .set CHECKSUM, -(MAGIC + FLAGS) .section .multiboot @@ -10,3 +11,10 @@ multiboot_header: .long MAGIC .long FLAGS .long CHECKSUM + + .skip 5 * 4 + + .long 0 + .long 640 + .long 480 + .long 0 |