home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / msdos / programm / 10532 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  1.4 KB

  1. Xref: sparky comp.os.msdos.programmer:10532 comp.sys.ibm.pc.programmer:572
  2. Newsgroups: comp.os.msdos.programmer,comp.sys.ibm.pc.programmer
  3. Path: sparky!uunet!charon.amdahl.com!pacbell.com!att-out!walter!qualcom.qualcomm.com!qualcom!rdippold
  4. From: rdippold@qualcom.qualcomm.com (Ron Dippold)
  5. Subject: Re: H-E-L-P!! An interesting UART problem.
  6. Message-ID: <rdippold.721520794@qualcom>
  7. Sender: news@qualcomm.com
  8. Nntp-Posting-Host: qualcom.qualcomm.com
  9. Organization: Qualcomm, Inc., San Diego, CA
  10. References: <1992Nov10.094131.9300@iccgcc.decnet.ab.com> <1992Nov11.141104.7451@seas.gwu.edu>
  11. Date: Wed, 11 Nov 1992 22:26:34 GMT
  12. Lines: 18
  13.  
  14. ilan@seas.gwu.edu (Ilan Berkner) writes:
  15. >The only way to do this would be to either:
  16.  
  17. >1. Attach an ISR to vector 14h, and _hope_ that all of your client's
  18. >   software will only be using int 14h calls to xmit data.  This is
  19. >   like hoping that the moon will turn around in orbit so you can see
  20. >   the other side.
  21. >2. or put the computer into virtual mode, and write an ISR that traps
  22. >   386 I/O priviledge exceptions.  This technique will only work on
  23. >   386-class machines, and is incompatible with Windows enhanced mode,
  24. >   386MAX, QEMM, Desqview, OS/2 2.0, etc.
  25. >Sorry, but there's no way to trap I/O, and the UART can't do interrupts
  26. >on transmits, as you found out.
  27.  
  28. 3. Just do a loop back...  that way you're dealing with actual receive
  29. interrupts.
  30. -- 
  31. You have all the leadership potential of a caboose.
  32.