home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / msdos / programm / 10793 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  2.5 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!ira.uka.de!datmuc!vincent
  2. From: vincent@datmuc.UUCP (vincent)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: my_tsr
  5. Message-ID: <1356@datmuc.UUCP>
  6. Date: 20 Nov 92 09:54:40 GMT
  7. Organization: DAT
  8. Lines: 49
  9.  
  10. In article ralpht@meaddata.com (Ralph W. Trickey) writes:
  11. >In article vincent@datmuc.UUCP (vincent) writes:
  12.             vincent@datmuc.dat.de
  13. >>In article smithbm@craft.camp.clarkson.edu (Azrak) writes:
  14. >>>c.brennan@student.utas.edu.au (chris brennan) writes:
  15. >>>>In article smithbm@craft.camp.clarkson.edu (Azrak) writes:
  16. >>>>> vincent@datmuc.UUCP (vincent) writes:
  17.  
  18. >Suggestions
  19. >1) My attempted mail to you bounced.
  20.     I write in my articles and mails that my address is
  21.     vincent@datmuc.dat.de and that my network manager said he can't
  22.     build me a proper return path.
  23. >2) you don't need the CODESEG in the tsrstack declaration, it may be
  24. >   confusing the compiler.
  25.     CODESEG if just so all my data is in the same segment as my CODE
  26.     and so I don't have to keep track of DS (for now). I also heard
  27.     that for a tiny model everything is in the same segment at the end
  28.     anyway witch is my goal (.COM format).
  29. >3) you need to keep a flag or counter for int 8, it is quite possible
  30. >   for an int 8 to happen while your int 8 code is executing.
  31.     Are you shure I tough that the interupts were disable when inside
  32.     one already. And anyway 1/18 of a second is a lot a time.
  33. >4) your calculation for malloc is off, you allocate tsrstack to be
  34. >   0..1023, then assign the stack to be at 1024.
  35.     Took the code from Schulam and I'm not shure if I/you understand
  36.     the way the stack works (top->down I think) Ok maybe you're wright
  37.     and the stack should be at 1023. I'll will try it.
  38. >5) you might want to simply declare an array or use some other method
  39. >   for keeping the stack, the malloc method doesn't strike me as being
  40. >   very stable accross compilers and compiler releases.
  41.     I did try, same problem. But I think also that malloc is free
  42.     to allocate memory where it wants and not necesary next to you,
  43.     so to calculate the size of staying resident migth be off. MS
  44.     in there TSR example show a different way.  And off course the
  45.     program may pop up with the current foreground stack. You just
  46.     don't know the what you get and it's not recomended .
  47. >6) alt.msdos.programmer is not a valid group
  48.     Ho realy, fooled me. Lots of article go there. Ok Less volume.
  49.  
  50. >Good Luck.
  51.     Thanks, I'm currently debuging the disinstall routines and I need it.
  52.  
  53.  
  54. vincent@datmuc.dat.de
  55.  
  56. ciao!
  57.  
  58.  
  59.