Page 1 of 1

C++ Mattise Base Uploaded

Posted: Sun May 06, 2007 2:37 am
by pcmattman
I've finished the core of Mattise (C++ version). ATM it's debug, so it prints out all sorts of stuff at boot. All it does ATM is initialize the GDT, IDT, setup IRQs and ISRs, setup memory management and then start the idle process.

It's currently at such a stage that those wishing to view how a basic (working) kernel that can multitask (more like multithead...) and handles startup stuff properly can download it and look over it.

Soon I'll add in hard drive support with FAT read functions (no writing yet).

It's all in the Mattise CVS repository, in the folder CPP_kernel. This time, I've also added a makefile :D.

Edit: Also, the output stuff is a bit spaghetti but does show a basic console class, and a really simple 'cout' that overloads the << operator for char* types only.

Posted: Sun May 06, 2007 10:27 am
by Alboin
It looks good.

Are you planning to OOPify the IRQs and such?

Posted: Sun May 06, 2007 4:55 pm
by pcmattman
Eventually. As you can tell, this is just getting a basic kernel running ready for new stuff.

It's pretty much a rewrite of my old C kernel, but more efficient (and all assembly in AT&T syntax, which I have taken the time to learn now).