#dead_simple_kernel

1 messages Ā· Page 1 of 1 (latest)

rain mural
#

yaaay, i have something posting with limine barebones, flanterm, and eyalroz's printf

#

to be fair, it's just a kernel, not an os

#

dead_simple_kernel

timid wyvern
#

nice errorKEKW

rain mural
#

well i wanted to test the terminal capabilities of flanterm, and i couldn't really think of a proper error

"missing kernel implementation" perhaps? šŸ—æ

timid wyvern
#

nah no bitches error is good

rain mural
#

time to test on real hardware :3

#

it worked!

#

i forgot to take pics, i'll post em soon

rain mural
robust marsh
#

and an os

rain mural
#

well i wouldn't really call it much of anything at the moment

ebon shard
#

nice lol

rain mural
#

it seems as though elyaroz's printf doesn't have support for printing wide strings? unless i'm completely blind

i even tried to hack a solution together, but it didn't seem to make much of a difference

see besides Firmware Vendor? it's supposed to be EDKII instead of EKIp8 but i think it's skipping and maybe going past the bounds of where it's supposed to be. on real hardware it does a similar thing LNVp8 instead of LENOVO

#

also, shutting down doesn't work on real hardware and idk why

#

well, shutting down through the SystemTable->RuntimeServices->ResetSystem() function

is there another way to shut down? currently just halting

ebon shard
#

you need a working identity map for that to work

rain mural
#

ah, i see, would you be able to point me towards some good resources where i can learn about that?

teal crystal
#

An identity map is just virtual address = physical address

#

Uefi expects to be running with no address translation

#

It's kind of hidden in the docs, but they allude to it around the virtual memory runtime services iirc

rain mural
#

"hidden in the docs"

#

oh well, looks like i've got an afternoon of learning ahead of me :D

rain mural
#

got a bit distracted, so i didn't really learn much, but got a printout of the memory map working, so that's pog

robust marsh
#

am i the only person who hasnt printed the memory map before

rain mural
#

i'll be honest, i just did it cuz i saw other people doing it, and it seemed like i should get an understanding of how the memory map is laid out while learning about identity maps and all that

#

also i still need to find out a way of printing out wide strings...

rain mural
#

0000000000000000000000000 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbnnnnnnnnnnnnnnnnnnnnnnn

#

cat on the keyboard

#

also thinking of resurrecting this project, except idk where the code is so i'll prolly just start from scratch

rain mural
#

i have been struck with the nyaux curse

#

today i decided to start earnestly working on a kernel and suddenly i am having the most horrible time trying to fall asleep. it's almost quarter to 5 in the morning

rain mural
#

GDT initialised šŸ”„šŸ”„šŸ”„

rose stirrup
#

Damn a whole 4 log statements about gdt

rain mural
#

yeah i used it for a bit of printf debugging seeing where it was triple faulting

#

idk im leaving them in cuz i don't have anything else šŸ’€

rain mural
#

IDT initialised 🫧 🫧 🫧

#

also, does os dev just make you become nocturnal????

rain mural