Page 1 of 1

a C++ based OS

Posted: Thu Jun 13, 2002 3:05 pm
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

Re:a C++ based OS

Posted: Fri Jun 14, 2002 6:45 am
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! ;)