Hi Tom,

> a)
> why do you need int2f/12 in the first first place ?
> are you really executing this from inside KERNEL ?
> do you really need to use internal functions ?

Yes. NLSFUNC implements kernel extensions to access NLS data from an
external file (namely COUNTRY.SYS) and these extensions are called from
inside the kernel (int 21/65, int 21/38)

> if YES, you will probably greatly overrun the kernels 384 byte stack,
> which might become a problem.

OK. How do I setup a different stack for these functions? 

> b) lseek(0x1ffff) will fail due to fall from locng_check into
> shortcheck.

Then we have a real problem, because this was copied from the int 21/42
implementation.

Eduardo.



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to