Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
retoor63879dAh, working on an OS? Cool. I did too, but realized quickly how much work it was and was like nope! Especially an OS is one of the many projects that won't help my resume.
-
@Wisecrack I was trying to load a bootloader into a specific memory region. It should set the PC to the same location after loading so it executes but something was super weird
Now that I think about it, it probably automatically relocated the range because 0x7c00 is reserved for the actual bios bootloader
But anyhow, I've figured it out by just using a raw disk image instead of the device loader :D -
@12bitfloat other than math, os development is one of my favorite things to see threads and comments about.
Looking forward to more of this. Hope your project is coming along nicely. -
@retoor I have a little real mode bootloader in the 512 byte boot sector which sets up unreal mode, calls the bios to read sectors of my kernel and jumps to it in high mem. The kernel then enables long mode, but that isn't working quite right yet :P
I think I need to fully configure my interrupts first -
@Wisecrack Slowly but surely :D
This is more of a fun project so I don't think I will produce anything amazing, but my goal is a little unix-ish inspired 64-bit os with processes and virtual memory -
retoor63874d@12bitfloat do you really think God will give you another one? :P God is good, but this could be too much :P
-
retoor63874d@12bitfloat why exactly? :P Not doing things wrong are just the basics :P Go give a homeless a two euro coin :P
Related Rants
I've just wasted 3 hours on this shit
Apparently when you use -device loader in qemu to load raw code into your vm and start executing it, qemu thinks that - actually - you didn't really want to execute from 0x00007c00. What you *really* wanted is to execute random fucking gibberish at 0xffff07c00
Yes qemu, that's *exactly* what I wanted!
*grumble* fckingpieceofshitsoftware *grumble*
rant
osdev
fuck you
qemu