At 09:18 AM 8/13/2004 +0300, Luchezar Georgiev wrote:
I tried "int 0x21 ah=0x34" in both MS-DOS 7.10 and FreeDOS. In both, the returned offset in BX is 321h although the segment in ES is slightly lower in MS-DOS than in FreeDOS (C9h vs D2h). But in both cases, the memory location pointed to by ES:BX was 0. So, that pointer seems valid to me.
Yes, I think the ES:BX pointer is always valid, but I think, or thought, that maybe an internal pointer is not valid because of stack problems trashing a pointer value elsewhere in the vicinity.
Turns out the problem may be stack-related, but not really pointer related. I may have found the problem and if correct it is Borland's error. More in a bit, I have to double- and triple-check this possible bug I found in RTM.
------------------------------------------------------- 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