#AirOS
1 messages · Page 1 of 1 (latest)
64-bit unix like os on limine and flanterm 
yes
HOLY SHIT MINTSUKI I NEED AN AUTOGRAPH /j
no
fuck
is that not good?
i thought it was fine
it is lol
im confused
just ignore them
it's a joke
enjoy your uhhh
64 bit unix like os on limine and flanterm 
limine is a good bootloader i just have some problems with it
flanterm as well
good terminal but i wanna make my own
why do you have problems with them
what kind of problems?
are they technical in nature?
like, limitations?
somewhat
i want an os to use on my older laptops
so i have a slight problem with it being long mode only
im really talking about the boot protocol
i use limine with mb2
ah
never had an issue with it
easier to set up on a disk image than grub imo
if i make a 64 bit version of my os im gonna use its boot protocol
i dont really know what you're talking about, this is my first os im kind of new to this lol
then stick to Limine and 64-bit
will do
just keep using limine man
nobody uses 2005 computers anyways
you're doing good i still need to finish up my vmm :/ (never learned what that shit is even supposed to do, address spaces??)
there were x86-64 computers in 2005 :^)
true but they werent really widespread at all
yeah, but like, after 2010, basically everything was 64-bit
64 bit cats?
nah its 2006 probably
at most 2007
true
these are netbooks though they're supposed to just browse the web
back then a 32 bit processor was enough for that (and to do it somewhat well)
they were cheap as well too
ngl netbooks were a pretty good entry to pc's
are they 64 bit
yooo nice
i shall conclude all cats are powered by dec alpha
real
lmao
i is doing vfs right now
air powered™
damn
pls send help the vfs is eating me
i need my vmm done
what does your vmm do
geniunely
it maps memory
im gonna die if i dont know what a fucking vmm does
oh
FUCK WHAT WAS I DOING THEN
i thought it did something fancier than just that
i finished that already so long ago :'(
what was i doing i need to reconsider life now
i was going to do a struct array of mapped and unmapped areas tho
idk that might be helpful but thats a whole different story
rip
oof
and that isnt very fun when it explodes
idk i had a few people tell me my vmm wasn't done and so like i asked them what a vmm does and they had a heart attack explaining and the explanation was somewhat ass
:c
they overthinking the vmm it just manages virtual memory!
overengineering is ass
simpler said than done
maybe
look
what people in hobby OSDev spaces typically call "virtual memory manager" isn't really virtual memory management
virtual memory management refers to managing pages which may not necessarily currently be in RAM
e.g. pages that are swapped out on disk
i like to think of it as managing virtual memory
oh so it manages swap and stuff
yes
cool
im planning for my vmm to just have a list of info about different mapped areas
struct array idk
probably one of the flags can be "swapped out on disk" or something
wouldn't that limit the amount of areas you can map?
most likely
but then you can only swap out entire mappings
not individual pages
what do you do for your PMM?
freelist
i can send link for implementation
linked list of mapped areas would be the simplest one
and ig equivalent to an array
but, searching by address might be slow
so maybe some kind of self-balancing tree structure
true
another option is ofc a hash map
i think i have the vfs done?
ii broke the printk
there we go
vfs complete yay
[INFO] Read: hello
yo whats up
not much
im very proud of the vfs implementation
congratulations
i can vfs
now add the file systems 
yiy
pls no
youd have to eventually 
I WILL LATER I SWEAR PLS SPARE ME!!!
You will have to do it. Let the thought haunt you. Let it make you think about the futile struggle of clinging onto the last bits of sanity you have left. 
AahhhHHHHHHH
i would do fat12 and fat16 before fat32
im pretty sure you can do all of them at the same time
i guess
fat32 is im pretty sure an extension of fat16
idk you can just do it all at the same time
i'd do fat12 first tho
true
but i would need a block device before i even did any of those, right?
i could do nvme, floppy, sata, idk
i wanna ask why you'd probably never use floppies
i guess so
you need device drivers before the filesystems
So you have been temporarily spared. But how long is temporary? A philosophical question indeed. 
fair
i read on one of the threads here that nvme was easy???
smells like bullshit to me as well
idk how it is easy
its very modern
idk how on earth it could be easy
it has probably more technologies than a nuclear reactor
nothing NVMe smells easy
nothing smells easy
nothing easy
nothing easy everything evil
nothing nothing
64 bit cat driver some day maybe
do you have a uhhh
i never expected to get this far really
slab allocator or whatever they call it
understandable
no i have buddy allocator
based
no a slab allocator is a second allocator
over the buddy one
so like
you have a page
and what if a program wants 64 bytes
it wont need the whole page
so there is a second allocator which splits up pages into [insert number here] byte segments
ohhh so it has smaller segments instead of full pages?
if your program thingamabob requests 128 bytes then just feed it two 64 byte segments
somewhat yeah
it's a page in a page
i need to add that into my os as well
idk a slab allocator is a specific implementation though
it's used in solaris iirc
eh for now buddy allocator alone works, maybe a slab allocator can be added later on
the classic 4096 bytes
so like it wont waste too much memory
i was asking because you might have like 4 mb huge pages
in that case that would be concerning
4 mb pages arent that great for just buddy allocators without slab allocator cause lots of waste then
true
id probably have to implement slab in my case because i have a few memory constraints
like what?
like 400 to 1500 mb of ram
i mean its still a lot
the 400 mb might just overflow fast on that poor pentium 3
oof
my qemu flags use 8G memory:
QEMUFLAGS := -m 8G -serial stdio
-device VGA,xres=800,yres=600
mine uses 4 gb
max for 32 bit unless PAE (page addr extension)
which makes that 64 gb i think
32 bit then 4G makes sense, im using Limine tho so 8G is fine in my case
plus my host computer has 64G
im also using limine but with a different boot protocol (multiboot2)
i have 16
o
o
ooooo
gnome disk utility fucked up my usb
o
o no
o
i wanted windows xp
o
oof
o
yes
o
#1402126181884625098
o
o very nice o
indeed
o
i checked its a month or so
o
nice
o
mine has been in the works for around two weeks
o
also can i friend you for the funnies and also lets stop talking with o im going insane
o
productive as shit
o
yeses
accepted
idk
idk either
It is not
NVMe is so easy to get going
fair
how?
you need to do pci and mmio and other stuff, right?
added PIT handler
which is not really hard
mmio isn’t an argument either; you access lapic and ioapic via mmio
anyways my os boots on real hardware just tested it, i think the vfs might be a bit unstable for both vm and real hardware right now, but thats not too big of a deal... i hope...
you probably want to implement locks
probably, very soon
only now??
are my priorities weird everyone seems to do a shit ton before PIT
idk, i didnt think about PIT cause i kind of wanted the pmm/vmm and heap, then i thought about a vfs, and only then i thought about PIT
shit i need a heap
yes... yes, you do
JUST CAST THE MANAGE MEMORY SPELL!!!
uhhhh
i cast Manage Memory!!
sudo chatgpt --prompt "manage memory" --force --give-code
sudo chatgpt --prompt "manage memory" --force --give-code --big-smarts
got to make sure it has the big smarts!
no wait thats called heap
i apologize to the air os person
carl
