home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / msdos / programm / 9311 < prev    next >
Encoding:
Internet Message Format  |  1992-09-12  |  1.5 KB

  1. Path: sparky!uunet!sun-barr!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!ralf
  2. From: ralf+@cs.cmu.edu (Ralf Brown)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: int 9h
  5. Message-ID: <BuHn1n.Kwq.2@cs.cmu.edu>
  6. Date: 12 Sep 92 23:10:33 GMT
  7. Article-I.D.: cs.BuHn1n.Kwq.2
  8. References: <DAVIS.92Sep11115609@pacific.mps.ohio-state.edu> <18t26lINN3jm@darkstar.UCSC.EDU>
  9. Sender: news@cs.cmu.edu (Usenet News System)
  10. Organization: School of Computer Science, Carnegie Mellon
  11. Lines: 17
  12. Nntp-Posting-Host: b.gp.cs.cmu.edu
  13.  
  14. In article <18t26lINN3jm@darkstar.UCSC.EDU> noesis@ucscb.UCSC.EDU (95016000) writes:
  15. }at the end of your interrupt you need an 'out 20h, 20h' or your machine will
  16. }lock.
  17.  
  18. But only if you DON'T chain to the original INT 9 handler.  The original
  19. handler will issue that OUT (it tells that interrupt controller that the
  20. highest-priority pending interrupt has been handled).  If you issue it
  21. again, it is possible that a lower-priority interrupt (i.e. anything but a
  22. timer tick) which has occurred while INT 9 was being handled will be lost.
  23. For that reason, it is preferable that you issue an OUT 20h,61h instead
  24. (this says that IRQ1 has been handled).
  25.  
  26. -- 
  27. Internet: RALF+@CS.CMU.EDU   |The University would disclaim this if it knew...
  28. FIDO: Ralf Brown 1:129/26.1  |
  29. BIT: RALF%CS.CMU.EDU@CARNEGIE|"Success has a simple formula: do your best,
  30. AT&Tnet: (412)268-3053 school| and people may like it."   -- Sam Ewing
  31.