Ah, Planet Source Code! It has been a long long time since the last time I visit it.
EDIT: That project looks good. Clean and easy-to-understand code.
But there is still problems: it uses DJGPP. And another C++ kernel is Magneto also built under DJGPP. My code is identical to theirs, but their codes compile w/o errs or warnings (on DJGPP only, GCC generate errs ). Compiler specific ???
EDIT 2: After inserting _dso_handle, _cxa_atexit , the code is compliable on GCC/Cygwin. And still need some lines to be Multiboot compatible.
But after that, it compiled and ran flawlessly, except "deprecated conversion from string constant to char*" warnings ( I hates them so )
EDIT 3: It's keyboard driver sucks! All kind of errors, and stops with Triple Fault.
Constructors not called ???
Re: Constructors not called ???
"Programmers are tools for converting caffeine into code."
SOLVED: Constructors not called
I just rewritten all the kernel with the help of abuashraf
And here's the source code. I think it also fit for beginners who wants to stick with C++
- Attachments
-
- src.rar
- (6.13 KiB) Downloaded 51 times