On Wed, 12 Mar 2003 [EMAIL PROTECTED] wrote:
> It is me again, this time I am reading "..\kernel\main.c"
> at very beginning there are four including files like following
>
> #include "portab.h"
> #include "init-mod.h"
> #include "dyndata.h"
> #include "init-dat.h"
>
> However, I only can find "portab.h" at "..\hrd\portab.h" ;
> other 3 files I couldn't find them. So... can anyone tell me
> where they are?
in the same directory where main.c is.
> After including files, there are some variables been definded.
> I don't know where were they before being definded in "main.c".
> Could anybody tell, please? Those variables listed in "main.c" as
> following:
>
> extern UBYTE DOSFAR ASM nblkdev, DOSFAR ASM lastdrive;
> GLOBAL BYTE DOSFAR os_major,
> DOSFAR os_minor,
> DOSFAR ASM default_drive;
> GLOBAL UBYTE DOSFAR ASM BootDrive;
> GLOBAL BYTE DOSFAR os_release[];
some of them ("extern") are in kernel.asm and some ("GLOBAL") are in
globals.h. They are in main.c only temporarily since at some point I'd
like to have a struct for the LOL (list of lists) and the SDA (swappable
data area) instead of the current collection of many global variables.
Bart
==^================================================================
This email was sent to: [EMAIL PROTECTED]
EASY UNSUBSCRIBE click here: http://topica.com/u/?b1ddyi.b3hwCs.YXJjaGl2
Or send an email to: [EMAIL PROTECTED]
TOPICA - Start your own email discussion group. FREE!
http://www.topica.com/partner/tag02/create/index2.html
==^================================================================