It’s been a while since I wrote something here and there’s a reason for that. I took some online courses, because … well first of all I love to learn new things and second it was about software/hardware interfacing – a.k.a. the base principles in developing your OS.
Do you know what’s a table, a bitset, the stack, the high and lows. Yes, no, not quite sure … well in any way this post might come in handy. This glossary is aimed at Intel x86 and x86_64 and any consequent solutions built on PC architecture.
It’s been a month – pretty long vacation away from my most beloved hobby, but I’m just a human, I have my needs. I like snowboarding, so I went to Austria and did a proper powder riding. I’m still playing in the band, and I did a few gigs here in Riga. And last but not least – I have a job – and deadlines are killing me. But enough of appologies, here it is…
While writing my OS I’ve had my time playing around the possibilities that open up mixing these two languages together. So I wanted to share my knowledge.
As I’m walking through the great adventure of building my own OS, I occasionally have some questions and notes to write down. So this is my “journey so far…” post. You can follow my progress on GitHub, because I’m pushing updates more often than I write these blogs.
I ain’t dead, I’m still researchin. It’s kind of never ending story, but still I need to mark few things down. Today it’s all about memory layout and storage (hard disk drive).
I’m still testing out a few options of cross-compilers. This time I’ve built a MinGW cross-compiler for i786 ELF format binaries. As I’ve been pointed out – MinGW does not have any dependencies on external libraries (like Cygwin) and it does not have problems with DOS paths (like Cygwin, which I could not force to work in Eclipse CDT).
Ok, the resonance over the Internet has died down a bit … I wasn’t expecting it to happen, but shit just happens. 7500 unique visitors on the first day, 32k on the second – not bad 🙂 Now I need to write few more ideas down (for my self).
Holly jumping Jesus … I just got my 15 minutes of shame/fame over the internet. I linked my “just write down what you’re thinking” blog post on dzone.com and somehow it got posted on Hacker News and from there … Shit just hit the fan. It seems that writing “I’m writing my own OS” as a blog title can be translated from “I have spare time, I want to try out new things” into “Fuck this shit, I’m going for a revolution!!!” 🙂 It’s time consuming to answer all the comments I’ve gained, so I’m writing this post as an answer to all of you.
I had a philosophical introduction previously about my idea of writing “My own OS”, now it’s time to do some real coding. In this part I’ll roll out a Master Boot Record (MBR), that will load a Kernel from disk (actually, I’m going to port an existing solution to Visual Studio environment). First i’ll start with some free fly philosophy, but there is a candy at the end of this post.