summaryrefslogtreecommitdiff
path: root/stage3/paging.asm
diff options
context:
space:
mode:
authorLizzy Fleckenstein <lizzy@vlhl.dev>2023-12-10 17:09:15 +0100
committerLizzy Fleckenstein <lizzy@vlhl.dev>2023-12-10 17:09:15 +0100
commit03bf0a9a220e73f57283938c2f83f5ddc3332c1d (patch)
treef366ccc3d9be837de94059ccf83aec4b16735185 /stage3/paging.asm
parenta38a14f1c007bb17a2ba4a78649c3dd412c7999f (diff)
downloadcuddles-03bf0a9a220e73f57283938c2f83f5ddc3332c1d.tar.xz
remove obsolete VGA text driver
Diffstat (limited to 'stage3/paging.asm')
-rw-r--r--stage3/paging.asm20
1 files changed, 9 insertions, 11 deletions
diff --git a/stage3/paging.asm b/stage3/paging.asm
index 8b1d571..783649e 100644
--- a/stage3/paging.asm
+++ b/stage3/paging.asm
@@ -1,6 +1,4 @@
global page_region
-extern print_hex, print_chr, newline, print_dec, print_str
-
section .text
pagebuf_init:
@@ -87,12 +85,12 @@ alloc:
push rdi
mov rdi, .oom_msg
- call print_str
+ ; call print_str
pop rdi
- call print_hex
- call newline
+ ; call print_hex
+ ; call newline
jmp $
@@ -163,7 +161,7 @@ get_tables:
space:
mov dil, ' '
- jmp print_chr
+ ; jmp print_chr
page_region:
push rbx
@@ -182,15 +180,15 @@ page_region:
mov rax, 1 << 63
or rdi, rax
- call print_hex
- call space
+ ; call print_hex
+ ; call space
mov rdi, [r9+8]
add rdi, [rsp]
or rdi, rax
- call print_hex
- call newline
+ ; call print_hex
+ ; call newline
pop rdi
@@ -318,7 +316,7 @@ page_region:
.bruh:
mov rdi, .bruh_msg
- call print_str
+ ; call print_str
jmp $
.bruh_msg: db "bruh why do you have more than 256TB of RAM (you fucking glow)", 10, 0