You are browsing as a guest. Sign up (or log in) to start making projects!

4h 55m 57s logged

oh my god the last 2 days have been like living in another hell. i wouldn’t wish this debugging session on my worst enemy.

so i wanted to implement an option on boot to choose how you want to display graphics on the screen (upcoming feature to give applications direct access to the framebuffer?). i made the smallest mistake of putting my strings in between the code, rather than all at the end. Because of this, nasm started doing random shenanigans that I still don’t know what happened and asked for help on the OSDev forums.

After like 5 hours on GDB and Hex Fiend and nasm and trying to get Gemini to do anything but hallucinate (hilariously so may I add), I figured out the issue was not putting all the program strings at the bottom of the code.

Now, I also have a configuration struct that allows stuff like boot-args, graphics config, and etc. to be configured as below. It looks decent as well

0
14

Comments 0

No comments yet. Be the first!