Hi!

13-Авг-2004 21:09 [EMAIL PROTECTED] (Eric Auer) wrote to
[EMAIL PROTECTED]:

EA> Hi, indeed an interesting problem... 32RTM fails to initialize CX
EA> (number of words to copy from stack) before a DPMI call, and instead,
EA> the CX of int 21.30 (get version) is used. So we need a version other
EA> than 1.1.35 (major, minor, seq):
>> -      lr.CH = REVISION_MAJOR;   /* JPP */
>> -      lr.CL = REVISION_MINOR;
>> +      lr.CX = 0; /* serial number must be 0 or buggy 32RTM thrashes stack! */

     I agreed with this patch, but should note, that this comment should be
slightly more verbose. Something like this:

lr.CX = 0;      /* serial number; must be 0, because Borland's
                   32RTM DOS extender (casually?) depends on this
                   value and thus causes stack trashing with nonzero */




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to