Hi,

tom ehlert escribió:

Hello Aitor,



Yes, but my question is how does kernel know where the device header
starts? "MZ" doesn't look like a correct pointer to the next device driver inside the file...



'MZ' is only an envelope around 'the real thing', specifying e.g. minimum space required, START POINT, size of envelope,...

the 'real thing' in himem/emm386 start with the device header.


Now I understand.
Can I make a small suggestion for making it a little bit easier reading one line in kernel source? (if people agrees, I or Jeremy or whoever can commit these changes to CVS):


I would move
#define LOADNGO 0
#define LOAD 1
#define OVERLAY 3
from TASK.C to EXE.H (or GLOBALS.H, or somewhere else), and then replace in CONFIG.C
- if ((result = init_DosExec(3, &eb, szBuf)) != SUCCESS)
+ if ((result = init_DosExec(OVERLAY, &eb, szBuf)) != SUCCESS)


Thanks!
Aitor


------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Freedos-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to