a C++ based OS

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
anubis

a C++ based OS

Post by anubis »

I am trying to develop an OS that uses C++(gcc) and Nasm as an assembler.

I perfected the bootloader in Nasm that loads a file in memory

my problem is that i can't jump to protected mode using nasm and my comp reboots as soon as it reads the PM instructions

i am using the usual instrucions smsw,lgdt,lidt,etc
The Legend

Re:a C++ based OS

Post by The Legend »

C++ seems to make problems when using for OS-Development, I think I had some bugs in my GCC 2.95 and Version 3.03 wanted a specific function about which I didn't know what it should and therefore I couldn't implement it ... Be careful! ;)
Post Reply