TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Gary Chambers
from: Ed Becker
date: 1994-11-03 22:21:06
subject: Thermometer Project

Hello Gary!

Replying to a message of Gary Chambers to All:

 GC> I've always wanted to build a digital thermometer to interface with my
 GC> computer. When I was using DOS, I thought it would be a fairly
 GC> straightforward task of direct hardware manipulation to gather the
 GC> information from the device.  With OS/2, I'm not so sure.  Because of
 GC> the greater protection OS/2 affords the entire system, will I be
 GC> required to write a device driver to access the CPU ring that allows
 GC> direct port manipulation?  Additionally, can someone provide some
 GC> information, perhaps direct experience, on the matter? Any help would
 GC> be appreciated.  Thanks. 

Writing a device driver would probably be the recommended way, but I think
with the project you are working on it could be accomplished by talking
over Com/Parrallel ports and using DosDevIOCtl.  

My experience has to do with interfacing a piece of hardware (a medical
device) with a piece of software I am writing.  It generated a frequency by
toggling a status bit at variable frequencies.  I had to determine the rate
of the frequency changed.  (In fact, I give credit to Peter Fitzsimmons for
posting the bit of source for using DosDevIOCtl in here.)

Anyway, it CAN be done without a device driver.  But it also depends on
what address you want to bring it in at.

Bye, Ed!

--- FleetStreet 0.95wb

* Origin: The Land Of Mordor/2 - (904) 532-0471 (1:3618/7)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1
@PATH: 3618/7 5 12 3615/50 229/2 12/2442 711/409 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.