🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #447

Re: IOPL or Accessing hardware ports

#447
From: Brian Taber
Date: Fri, 24 Jul 1992 04:52
17 lines
1069 bytes
feustel@netcom.com (David Feustel) writes:

>I gave up on trying to solve this problem and went back to writing
>code to run in the dos box where i/o isn't restricted.

There is an example program (code) in "Advanced Programmer's Guide to OS/2"
by Thuyen Nguyen and Robert Moskal which shows how to program ports.
The program writes to the timer and speaker ports to play the speaker
at notes of increasing frequency (not using DosBeep). I've tried it
and it seems to work well under 2.0.

I am wondering if anyone has successfully reprogrammed the VGA in a
fullscreen OS/2 session.
Anyone?

Brian Taber
btaber@netcom.com
Technical Details
Message-ID: <1chm64p.btaber@netcom.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!apple!apple!netcomsv!mork!btaber
References: <4012@news.duke.edu> <v!gmbba.feustel@netcom.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!apple!apple!netcomsv!mork!btaber
From: btaber@netcom.com (Brian Taber)
Newsgroups: comp.os.os2.programmer
Subject: Re: IOPL or Accessing hardware ports
Keywords: IOPL Ring 2
Message-ID: <1chm64p.btaber@netcom.com>
Date: 24 Jul 92 04:52:08 GMT
References: <4012@news.duke.edu> <v!gmbba.feustel@netcom.com>
Organization: Netcom - Online Communication Services  (408 241-9760 guest)
Lines: 17