home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / msdos / programm / 8710 < prev    next >
Encoding:
Text File  |  1992-08-21  |  1.2 KB  |  25 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!cs.utexas.edu!torn!news.ccs.queensu.ca!slip03.telnet1.QueensU.CA!dmurdoch
  3. From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
  4. Subject: Re: Why can't I hook INT 21h???
  5. Message-ID: <dmurdoch.40.714458841@mast.queensu.ca>
  6. Lines: 13
  7. Sender: news@knot.ccs.queensu.ca (Netnews control)
  8. Organization: Queen's University
  9. References: <1992Aug18.034041.195326@zeus.calpoly.edu> <frank.714406708@fam168> <1992Aug21.175406.3881@alw.nih.gov> <BtCwo7.C1o.2@cs.cmu.edu>
  10. Date: Sat, 22 Aug 1992 04:47:22 GMT
  11.  
  12. In article <BtCwo7.C1o.2@cs.cmu.edu> ralf+@cs.cmu.edu (Ralf Brown) writes:
  13. >
  14. >Hmm, I sense a challenge.  OK, how about a TSR that only takes 64 bytes when
  15. >resident?  Or a swapping spawn() that takes less than 300 bytes while the
  16. >child program executes?
  17.  
  18. What should the TSR do?  I bet I could come close in Turbo Pascal.  (I'd say 
  19. 200 bytes is close, if you were wondering.  I didn't even think it was safe 
  20. to clobber all but 64 bytes of your PSP.  Tell me that I can safely 
  21. overwrite all but 32 bytes, and I'll go for 100.)  I know I couldn't do the 
  22. swapping spawn; that's much beyond routine even in pure assembly.
  23.  
  24. Duncan Murdoch
  25.