Hi!

22-Июн-2004 21:29 [EMAIL PROTECTED] (Eduardo Casino) wrote to
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]>:

EC> Can anybody tell me if there is something that prevents using the
EC> _whole_ PSP as an storage area in a TSR?

     In theory, after switching (PSP) to other program (for example, through
TSR_exit), you may completely reuse all memory block (including area, where
earlier was PSP). I do this in CTMOUSE, tom's mkeyb does this. But just for
safety (to make memory walkers happy) change first bytes of PSP from CD20 to
something else.

EC> I'm specifically interested in FreeDOS particularities, in case they
EC> differ form MS-DOS.

     It not differ - it uses PSP area only in current context. So, if you
not switch program context (INT21/50) to your (resident) code, FreeDOS
shouldn't touch contents of your memotry block.




-------------------------------------------------------
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-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to