Question about intention in tutorials...
Posted: Sun Jan 31, 2010 3:41 pm
I've been reading the kernel/C++ tutorials, and noticed a bit of a blank. What exactly is the plan for deployment of the kernel, HAL, runtime, etc? You go over a lot of deep design theory, and then there's just some demos to download at the end which have already implemented things ahead of what is discussed. I also didn't see any sort of HAL in the one's I downloaded.
I'm not sure how the demos are MEANT to be deployed. Are they supposed to be built as a PE (*.exe) or just a flat lib? I also don't see how it's making any use of the small runtime set, and I've peeled it apart. The decorations on some of the kernel functions suggest they're meant to be called from the outside? Is that right? I've implemented my kernel as a multi-boot compliant PE executable, and I'm wondering how some of the calling conventions and such are going to work and how I need to structure my deployments. I'm just left with some unanswered questions from those tutorials! Mind you, I'm deviating from the tutorials a LOT, but it's a great help to understand what you are doing and how it all is meant to work before I go bushwacking into the unknown void*, lol.
Is it really feasible/reasonable to have external code call functions that live inside a PE kernel? Or would that be better implemented with a "ask and receive" communicative type of design? (I think the latter.)
EDIT: Oops. Now I see the HAL code I somehow missed.
Funny that it is totally unused in subsequent tutorials though. Guess that's what threw me off.
I'm not sure how the demos are MEANT to be deployed. Are they supposed to be built as a PE (*.exe) or just a flat lib? I also don't see how it's making any use of the small runtime set, and I've peeled it apart. The decorations on some of the kernel functions suggest they're meant to be called from the outside? Is that right? I've implemented my kernel as a multi-boot compliant PE executable, and I'm wondering how some of the calling conventions and such are going to work and how I need to structure my deployments. I'm just left with some unanswered questions from those tutorials! Mind you, I'm deviating from the tutorials a LOT, but it's a great help to understand what you are doing and how it all is meant to work before I go bushwacking into the unknown void*, lol.

EDIT: Oops. Now I see the HAL code I somehow missed.
