home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / pascal / 4531 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  2.1 KB

  1. Path: sparky!uunet!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu
  2. From: baylor@ccwf.cc.utexas.edu (Baylor)
  3. Newsgroups: comp.lang.pascal
  4. Subject: What can i do in a TSR?
  5. Summary: yet another FAQ TSR question
  6. Keywords: TSR
  7. Message-ID: <76468@ut-emx.uucp>
  8. Date: 23 Jul 92 22:19:26 GMT
  9. Sender: news@ut-emx.uucp
  10. Organization: The University of Texas at Austin, Austin TX
  11. Lines: 36
  12.  
  13.  
  14.     Someone wants me to write  a TSR for him and i need to do
  15. a little checking.
  16.     What can i NOT do in a TSR. I actually understand the theory
  17. of tsrs ok and believe i can write one easily enough, but i am 
  18. quite aware i can't use dos. I think i can use int 10 to write
  19. to the screen (writeln is bad in a tsr isn't it?).
  20.     What this person needs is something that checks a port
  21. (he does alot of networking/modem stuff) and have it written 
  22. to the hard drive. Can i do background disk-writes in a TSR
  23. (oh yeah, i constantly poll the port to see if i need to write)?
  24. I'm not sure if writing to the hard drive uses int $13 or dos
  25. or both  (or neither :)? ).
  26.     Also, i've downloaded several (4? 5?) tsr programs from
  27. wuarchive but haven't extensively tested them. Has anyone used
  28. any of those programs? Any problems? I have sometimes experienced
  29. problems with hot keys accidenta;;y starting my screen saver rather
  30. than the program but my tsr laden environment (through norton no less)
  31. is probably less than great.
  32.     And if anyone wonders, i've done this before some time ago
  33. and have books around here (on just about anything) that i plan to
  34. dive into shortly, but i wanted the initial observations from others
  35. on whether or not i want to disk-writes in a tsr or not ( i have 
  36. never done modem programming before - this seems all ibm to ibm
  37. modem netting).
  38.     Any helpful hints appreciatted.
  39.  
  40.     Oh yes, i heard turbo's keep procedure clobbers the dos
  41. stack/frame/something. That true? I can write (have written) this
  42. in assembler if turbo's functions have bugs.
  43.  
  44. -- 
  45. -----------------------------------------------------------------------
  46. Baylor Wetzel    baylor@cc.utexas.edu        Hang Tyson 
  47. Free Leonard Peltier
  48. -----------------------------------------------------------------------
  49.