home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / programm / 3752 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.0 KB

  1. Path: sparky!uunet!sun-barr!apple!apple!netcomsv!mork!btaber
  2. From: btaber@netcom.com (Brian Taber)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Re: IOPL or Accessing hardware ports
  5. Keywords: IOPL Ring 2
  6. Message-ID: <1chm64p.btaber@netcom.com>
  7. Date: 24 Jul 92 04:52:08 GMT
  8. References: <4012@news.duke.edu> <v!gmbba.feustel@netcom.com>
  9. Organization: Netcom - Online Communication Services  (408 241-9760 guest)
  10. Lines: 17
  11.  
  12. feustel@netcom.com (David Feustel) writes:
  13.  
  14. >I gave up on trying to solve this problem and went back to writing
  15. >code to run in the dos box where i/o isn't restricted.
  16.  
  17. There is an example program (code) in "Advanced Programmer's Guide to OS/2"
  18. by Thuyen Nguyen and Robert Moskal which shows how to program ports.
  19. The program writes to the timer and speaker ports to play the speaker
  20. at notes of increasing frequency (not using DosBeep). I've tried it
  21. and it seems to work well under 2.0.
  22.  
  23. I am wondering if anyone has successfully reprogrammed the VGA in a
  24. fullscreen OS/2 session.
  25. Anyone?
  26.  
  27. Brian Taber
  28. btaber@netcom.com
  29.