summaryrefslogtreecommitdiff
path: root/src/boot.asm
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2021-01-24 12:00:11 -0500
committerBenji Dial <benji6283@gmail.com>2021-01-24 12:00:11 -0500
commitbce944d1498eaa3b6940ee234c863b3548a66b37 (patch)
treeea40c087ab4f0f236aee8d158cf68550f5209f72 /src/boot.asm
parentca731aa747214919df7b3dfe3478dbe787ce5b68 (diff)
downloadportland-os-bce944d1498eaa3b6940ee234c863b3548a66b37.tar.gz
graphics!
Diffstat (limited to 'src/boot.asm')
-rw-r--r--src/boot.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/boot.asm b/src/boot.asm
index 28d1a89..08b2834 100644
--- a/src/boot.asm
+++ b/src/boot.asm
@@ -20,8 +20,7 @@ pae_support equ 0x40
mov ss, ax
mov sp, 0x7ffc
- mov ah, 0x01
- mov ch, 0x3f
+ mov ax, 0x0013
int 0x10
mov ax, kernel_segment
@@ -90,6 +89,7 @@ bits 32
pmode:
mov ax, 0x18
mov ds, ax
+ mov es, ax
mov ss, ax
mov esp, 0x00040000
@@ -115,4 +115,4 @@ gdt:
dq 0x00cf_f200_0000_ffff;0x28: user data
.e:
-dw 0xaa55 \ No newline at end of file
+dw 0xaa55