CookieOS
This project is likely going to take years, but I want to post updates somwhere
https://media.discordapp.net/attachments/1160349382336589915/1182306673910632448/mc_cookie.png?ex=658437e5&is=6571c2e5&hm=00264b478a8478b5474ebf2e4b50de55e51b1b29b299655aa21632e0c779dc85&
101 Replies
I've designed a font
I thought you said you were done with OS dev 💀
:abyss:
You should now by now that I'm not going to follow through with that
Lmao
True
You've said you were gonna stop many times, then I'll get a text or call like "So I started working on my OS again"
The only thing is I'm not going to dedicate a lot of time because I'm missing a lot of the tools for it (after converting back to windows)
Limine looks sick
i honestly is
But how hard would it be to make a simple bootloader
couldn't be that hard right
famous last words right there
LMAO
That'll be the words that haunt me while I sleep
we'll revisit that in a few years
accurate (trust me i know)
YEARS!?!?! 💀
between other prioritys and projects, its probably accurate
True, this project would likely be treated like how I treat #bongocat-plus
yeah
think about it
ive been working on this for almost 2 years
yeahh, but that's without spending a fraction of that time on reading and learning just wtf is happening
true, and i did kind of abandon it for like 1.5 years
I feel that one
I abandoned Python for a while but I still say I've been programming in it for 7 years
Even though for a good year I didn't program much
i honestly havent really programming much in the past 4 months
wait shit
its november
6 months
Oh god, you've been out of the loop
school and work :(
That's true
I still somehow find ways to program silly side projects
i cant come up with silly side projects
Though I primarily focus on real world projects now
I'm sure you can
do you not remember how shitty my imagination is?
I do, but just choosing some random words can bring some random inspiration
Like for example pickle, terminal, ascii
create a spinning pickle in ascii
stuff like that
oo, i have yarm
i need to fix the world generation with that
Yeah
Wasn't it a simple fix?
no :(
Oh, darn.
Do you know the reason?
yeah, i dont know how to use the api
I remember talking with you about it
Oh
Isn't it pretty simple?
and im to lazy to do math
I thought you enjoyed math
What's this from?
ive gotten used to not using a lot of it
my osdev repo
Ah, the 23% makefile stat makes me think this isn't a big project? How far have you gotten with the os?
not far
also, the bootloader is in a tar file so none of that was counted
Makes sense
Bongocat+
0.7% cmake
yeah, mine has like 7 c fiels
and theyre tiny
ish
Yeah, well this stat is somewhat wrong now, but refactor isn't my main branch
so it doesn't calculate it
It should have some lua thanks to the
stub.lua
file
regardless, yeah OS Dev seems neat and I've got inspired by JDHoh, did i tell you i setup fish in wsl?
thats where i got my inspirtation from lol
Nope, but neat. Fish on top
just he is smarter than me :sad:
Have you seen his newest video?
It is so cool
no, i havent logged into my other youtube account in a while
i should probably do that
It's made me want to get into creating game engines
Please, it's so worth it
I was foaming out the mouth while I was watching it
It's amazing
jdh
YouTube
4 Months of Game Programming With My Own Engine
next time its 5 months
PATREON: https://www.patreon.com/jdah
TWITTER: https://twitter.com/jdah__
DOOM RENDERER CODE: https://github.com/jdah/doomenstein-3d
GITHUB: https://github.com/jdah
EDITOR: NeoVim
CONFIGS: https://github.com/jdah/dotfiles
THEME: gruvbox
RESOURCES:
* https://learnopengl.com
* DOOM Game Engine Black Book: https://fabien...
The work this guy has done in 4 months is astonishing
ill haveto watch that at school tmrw
my english 4 teachers doesnt teach us shit
Yes, hell it's so good I'm watching it again
Well they're english majors so they didn't want to work as anything else but a teacher
I don't blame them
the funny thing is, hes not. hes ex miliitary and knows none of us seniors gaf
also, this is going to be good i already know it
Yes that looks sick too! So many good programming content. It makes me feel dumb at so many points though
As they rarely show their failure and the time the spent trying to get things to work
as I know for a fact they don't do this stuff first try
yeah, i agree
also
ytf did i use tabs in the osdev code
EWWWWWWWW
i forgot makefiles require tabs
sigh
big sigh
Im trying to come up with a file format for my bitmap fonts
this is what i have so far
this allows for quick verification that a file is correctly formatted and what it is
I don't really have the greatest sense of bitmaps but overall it at least looks neat
I have added an int to str function that definitely wasn't done 100% by GitHub copilot
The good thing is, Copilot's way of doing it was a lot more efficient than what I had in mind
It also supports converting to different bases (i.e. Base 16, Base 2, or Base 10. I don't know if it works for other random ones like 3, 8, or 13)
Once I recompile the bootloader, imma test some math and see if I can't properly display numbers in the output
Also, this page needs a picture so it's getting :mc_cookie:
No, it won't let me add one now :(
What code did it give?
I don't remember
I ended up rewriting it
Copy the discord link to the image and edit your message
Smart
Boom, looks good
Any new features on the OS? I'd like to hear what you're working on. I find this project very interesting
Technically yes, technically no
I have created a reverse string algorithm, although it needs some tweaking
I have also created an integer-to-string algorithm but still needs some tweaks before they're able to be implemented.
The highest thing on the priority list right now is implementing memory and memory paging to allow use of functions such as malloc
Because I don't have malloc, I can't add the reverse string function until that's done
You need malloc to reverse a string?
I have a feelling this isn't true, one second
Why can't you just swap the position of the letters in the string so no extra memory allocation is necessary?
for example (this should work)
Because I'm a dumbass
My method had me creating another string and then adding the back letter from string one to the front of string two
That's not a dumbass lol, but using the space already given and swapping the letters is easier
let me just copy and paste that rq
lmao, don't blame you
Perfect
Does it work? I assume it does, I mean it runs on my system
it does
on my system
whether or not it works in the os is a different story
yeah... it should though
you would think, but the amount of times ive thought the same thing and was wrong is embarassing
this code is embarrassingly simple though, if it doesn't work I'll shoot my foot
i love using printf to debug printf
💀
how does that even work
use a working part of printf to debug the not working part of printf plus some recursion
i somehow managed to get myself stuck in a boot loop so im done for the day
ill try figuring out what i fucked up tomorrow
good news is cookieos now has a working reverse function
Anything done while you were eating that McDonalds?
i made an errno.h
Yummy
The temptation to write an operating system when I see development done on this project is crazy high
don't you have a puts or fwrite function yet
I have puts, but don't have fwrite
I don't have a file system so I can't really do that yet
Good luck then