101 Replies
keith
keithOP•14mo ago
No description
keith
keithOP•14mo ago
I've designed a font
Dumb Bird
Dumb Bird•14mo ago
I thought you said you were done with OS dev 💀
anic17
anic17•14mo ago
:abyss:
keith
keithOP•14mo ago
You should now by now that I'm not going to follow through with that
Dumb Bird
Dumb Bird•14mo ago
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"
keith
keithOP•14mo ago
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)
Dumb Bird
Dumb Bird•13mo ago
Limine looks sick
keith
keithOP•13mo ago
i honestly is
Dumb Bird
Dumb Bird•13mo ago
But how hard would it be to make a simple bootloader couldn't be that hard right
keith
keithOP•13mo ago
famous last words right there
Dumb Bird
Dumb Bird•13mo ago
LMAO That'll be the words that haunt me while I sleep
keith
keithOP•13mo ago
we'll revisit that in a few years accurate (trust me i know)
Dumb Bird
Dumb Bird•13mo ago
YEARS!?!?! 💀
keith
keithOP•13mo ago
between other prioritys and projects, its probably accurate
Dumb Bird
Dumb Bird•13mo ago
True, this project would likely be treated like how I treat #bongocat-plus
keith
keithOP•13mo ago
yeah think about it ive been working on this for almost 2 years
Dumb Bird
Dumb Bird•13mo ago
yeahh, but that's without spending a fraction of that time on reading and learning just wtf is happening
keith
keithOP•13mo ago
true, and i did kind of abandon it for like 1.5 years
Dumb Bird
Dumb Bird•13mo ago
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
keith
keithOP•13mo ago
i honestly havent really programming much in the past 4 months wait shit its november 6 months
Dumb Bird
Dumb Bird•13mo ago
Oh god, you've been out of the loop
keith
keithOP•13mo ago
school and work :(
Dumb Bird
Dumb Bird•13mo ago
That's true I still somehow find ways to program silly side projects
keith
keithOP•13mo ago
i cant come up with silly side projects
Dumb Bird
Dumb Bird•13mo ago
Though I primarily focus on real world projects now I'm sure you can
keith
keithOP•13mo ago
do you not remember how shitty my imagination is?
Dumb Bird
Dumb Bird•13mo ago
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
keith
keithOP•13mo ago
oo, i have yarm i need to fix the world generation with that
Dumb Bird
Dumb Bird•13mo ago
Yeah Wasn't it a simple fix?
keith
keithOP•13mo ago
no :(
Dumb Bird
Dumb Bird•13mo ago
Oh, darn. Do you know the reason?
keith
keithOP•13mo ago
yeah, i dont know how to use the api
Dumb Bird
Dumb Bird•13mo ago
I remember talking with you about it Oh Isn't it pretty simple?
keith
keithOP•13mo ago
and im to lazy to do math
Dumb Bird
Dumb Bird•13mo ago
I thought you enjoyed math
keith
keithOP•13mo ago
No description
Dumb Bird
Dumb Bird•13mo ago
What's this from?
keith
keithOP•13mo ago
ive gotten used to not using a lot of it my osdev repo
Dumb Bird
Dumb Bird•13mo ago
Ah, the 23% makefile stat makes me think this isn't a big project? How far have you gotten with the os?
keith
keithOP•13mo ago
not far also, the bootloader is in a tar file so none of that was counted
Dumb Bird
Dumb Bird•13mo ago
Makes sense
Dumb Bird
Dumb Bird•13mo ago
No description
Dumb Bird
Dumb Bird•13mo ago
Bongocat+ 0.7% cmake
keith
keithOP•13mo ago
yeah, mine has like 7 c fiels and theyre tiny ish
Dumb Bird
Dumb Bird•13mo ago
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 JDH
keith
keithOP•13mo ago
oh, did i tell you i setup fish in wsl? thats where i got my inspirtation from lol
Dumb Bird
Dumb Bird•13mo ago
Nope, but neat. Fish on top
keith
keithOP•13mo ago
just he is smarter than me :sad:
Dumb Bird
Dumb Bird•13mo ago
Have you seen his newest video? It is so cool
keith
keithOP•13mo ago
No description
keith
keithOP•13mo ago
no, i havent logged into my other youtube account in a while i should probably do that
Dumb Bird
Dumb Bird•13mo ago
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
Dumb Bird
Dumb Bird•13mo ago
The work this guy has done in 4 months is astonishing
keith
keithOP•13mo ago
ill haveto watch that at school tmrw my english 4 teachers doesnt teach us shit
Dumb Bird
Dumb Bird•13mo ago
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
keith
keithOP•13mo ago
the funny thing is, hes not. hes ex miliitary and knows none of us seniors gaf
keith
keithOP•13mo ago
also, this is going to be good i already know it
No description
Dumb Bird
Dumb Bird•13mo ago
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
keith
keithOP•13mo ago
yeah, i agree also
keith
keithOP•13mo ago
No description
keith
keithOP•13mo ago
ytf did i use tabs in the osdev code
Dumb Bird
Dumb Bird•13mo ago
EWWWWWWWW
keith
keithOP•12mo ago
i forgot makefiles require tabs sigh
Dumb Bird
Dumb Bird•12mo ago
big sigh
keith
keithOP•12mo ago
Im trying to come up with a file format for my bitmap fonts
keith
keithOP•12mo ago
No description
keith
keithOP•12mo ago
this is what i have so far
0000-000F ~ File Format Name

0010-001F ~ File Format Magic Numbers
0000-000F ~ File Format Name

0010-001F ~ File Format Magic Numbers
this allows for quick verification that a file is correctly formatted and what it is
Dumb Bird
Dumb Bird•12mo ago
I don't really have the greatest sense of bitmaps but overall it at least looks neat
keith
keithOP•12mo ago
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:
keith
keithOP•12mo ago
No description
keith
keithOP•12mo ago
No, it won't let me add one now :(
anic17
anic17•12mo ago
What code did it give?
keith
keithOP•12mo ago
I don't remember I ended up rewriting it
Dumb Bird
Dumb Bird•12mo ago
Copy the discord link to the image and edit your message
keith
keithOP•12mo ago
Smart
Dumb Bird
Dumb Bird•12mo ago
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
keith
keithOP•12mo ago
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
Dumb Bird
Dumb Bird•12mo ago
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)
void reverseString(char str[]) {
int length = strlen(str);
int start = 0;
int end = length - 1;

while (start < end) {
// swap the characters at the start and end indices
char temp = str[start];
str[start] = str[end];
str[end] = temp;

// move towards the center of the string
start++;
end--;
}
}

int main() {
char string[] = "Hello, World!";

printf("string: %s\n", string);
reverseString(string);
printf("reversed string: %s\n", string); // hopefully !dlroW ,olleH

return 0;
}
void reverseString(char str[]) {
int length = strlen(str);
int start = 0;
int end = length - 1;

while (start < end) {
// swap the characters at the start and end indices
char temp = str[start];
str[start] = str[end];
str[end] = temp;

// move towards the center of the string
start++;
end--;
}
}

int main() {
char string[] = "Hello, World!";

printf("string: %s\n", string);
reverseString(string);
printf("reversed string: %s\n", string); // hopefully !dlroW ,olleH

return 0;
}
Dumb Bird
Dumb Bird•12mo ago
No description
keith
keithOP•12mo ago
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
Dumb Bird
Dumb Bird•12mo ago
That's not a dumbass lol, but using the space already given and swapping the letters is easier
keith
keithOP•12mo ago
let me just copy and paste that rq
Dumb Bird
Dumb Bird•12mo ago
lmao, don't blame you
keith
keithOP•12mo ago
void reverse(char str[]) {
int len = strlen(str);
int start = 0;
int end = len - 1;

char tmp;

while (start < end) {
tmp = str[start];
str[start] = str[end];
str[end] = tmp;

start++;
end--;
}
}


int main() {
char str[] = "Hello, World!";
printf("String: %s\n", str);
reverse(str);
printf("Reversed String: %s\n", str);
return 0;
}
void reverse(char str[]) {
int len = strlen(str);
int start = 0;
int end = len - 1;

char tmp;

while (start < end) {
tmp = str[start];
str[start] = str[end];
str[end] = tmp;

start++;
end--;
}
}


int main() {
char str[] = "Hello, World!";
printf("String: %s\n", str);
reverse(str);
printf("Reversed String: %s\n", str);
return 0;
}
Perfect
Dumb Bird
Dumb Bird•12mo ago
Does it work? I assume it does, I mean it runs on my system
keith
keithOP•12mo ago
it does on my system whether or not it works in the os is a different story
Dumb Bird
Dumb Bird•12mo ago
yeah... it should though
keith
keithOP•12mo ago
you would think, but the amount of times ive thought the same thing and was wrong is embarassing
Dumb Bird
Dumb Bird•12mo ago
this code is embarrassingly simple though, if it doesn't work I'll shoot my foot
keith
keithOP•12mo ago
i love using printf to debug printf
Dumb Bird
Dumb Bird•12mo ago
💀 how does that even work
keith
keithOP•12mo ago
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
Dumb Bird
Dumb Bird•12mo ago
Anything done while you were eating that McDonalds?
keith
keithOP•12mo ago
i made an errno.h
Dumb Bird
Dumb Bird•12mo ago
Yummy The temptation to write an operating system when I see development done on this project is crazy high
anic17
anic17•12mo ago
don't you have a puts or fwrite function yet
keith
keithOP•12mo ago
I have puts, but don't have fwrite I don't have a file system so I can't really do that yet
anic17
anic17•12mo ago
Good luck then
Want results from more Discord servers?
Add your server