Gnitarepo banner

Gnitarepo

7 devlogs
11h 44m 8s

Gnitarepo is a OS im making, from scratch (with bios ofc)

This project uses AI

forced chatgpt to write a linker and makefile also help with debugging and some help with assembly bc i it spat out garbage also told claude to clean up my code for it to be more efficient and also for debugging bc the kernel wasnt loading

Demo Repository

Loading README...

Traffic person

IT WORKS! IT loads the kernel i can type delete everything is wokring i knew a complete rewrite was better and i did it in less code lines than last time LES GO HOORAAY I CAN GO EEP it took so long to get this working ongg

Attachment
0
Traffic person

bugs, errors, linkers, makefiles uhhhh its a headache still so many bugs i think im just gonna delete this i thin kits broken in such a way where i cant fix it :( 8 hours of work into the trash

Attachment
0
Traffic person

Setup the compiler and reorganised the boot section so it will have 2 stages stage 1 initializes stage 2 bc like 512 bytes of mem MAX, stage 2 loads the kernel and the kernel takes over. Also setup a compiler from 1988 :skulk: (still same output) also as soon as i get C working reliably i want to ditch the tutorial

Attachment
0
Traffic person

GIANT acomplishment like it boots! it bootloader boots, prints that its loading and it goes to the kernel and the kernel prints hello world from kernel how cool is that! also i had a mild hiccup because while printing in both boot.asm and main.asm i was popping the bx register and it wasnt pushed so naturally it gave me corrupted characters (dumb mistake) (also there was 1 string and it wouldnt compile bc of it bc it ran out of the first sector storage (first sector 512 bytes)) also assembly getting easier

Attachment
0
Traffic person

Added C so it like can find and read files and other cool stuff (it read all of that output and printed it) btw its ultra refreshing to like from writing assembly to go to writing C and im still going to need to make it go into the system because right now its a seperate utility

Attachment
0
Traffic person

nothing changed in the output but under the hood it: read from floppy disk and if it didint it attempted 3 times (in register di) and if that didint work it would wait for a keypress (bios interrupt 16 hexadecimal) and reboot (not sure if the reboot works)

Attachment
1

Comments

Arca
Arca 10 days ago

get back to #construct :P

Traffic person

I started work on this, in the… assembly language and it is kinda complicated but its doable its just cpu registers ig and BIOS hex codes and yea

Attachment
0