🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer.misc
Article #263

Re: HELP!!!: Doing INs and OUTs under OS/2 with BCC

#263
From: Antony Suter
Date: Tue, 06 Jul 1993 06:26
26 lines
2128 bytes
CSCHUBER@bcsc02.gov.bc.ca writes:

>In article <1993Jul2.165507@mantrasun2.epfl.ch>
>Paolo.Ienne@di.epfl.ch (Paolo Ienne) writes:
>
>>I'm trying to port an MSDOS application to OS/2 and I know almost nothing of
>>the latter.
>>
>>My problem is that inp() and outp() have disappeared. I tried to rewrite them
>>(essentially following an example of Ray Duncan) in a .asm declaring a
>
>I've been having the same problem.  I don't have the answer for you but
>hopefully I can add to the problem description.  I've created a DLL, actually

Under OS/2 this kind of thing is not so much a problem as a design feature.
Access to hardware under OS/2 is more limited to device drivers - one of
reasons why OS/2 is more secure when multitasking. A straight port from
a DOS program to OS/2 is usually not a simple or a wise thing if you get
into hardware manipulation.

What kind of thing are you trying to achieve with the ins and outs?
--
--
Antony Suter (Rohaan)			[0] s871780@minyos.xx.rmit.edu.au
Melbourne, Australia			[1] antony@werple.apana.org.au
"Savannah River, K Reactor, 1968 - that was a VERY good year."
Technical Details
Message-ID: <21b5v3$gi7@aggedor.rmit.OZ.AU>
Path: arc1-ca.pugleaf.net!gmd.de!dearn!frmop11.cnusc.fr!univ-lyon1.fr!zaphod.crihan.fr!warwick! pipex!uunet!europa.eng.gtefsd.com!howland.reston.ans.net!agate!ames!news.Hawaii.Edu!munnari.oz.au!bruce.cs.monash.edu.au!monu6!aggedor.rmit.OZ.AU!minyos.xx.rmit.OZ.AU!s871780
References: <1993Jul2.165507@mantrasun2.epfl.ch> <16C02748F.CSCHUBER@bcsc02.gov.bc.ca>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cd94,a442a22b1f775864
X-Google-Attributes: gid10cd94,public
X-Google-Thread: 11307a,84a9ad67f9ec3d31
X-Google-Attributes: gid11307a,public
X-Google-ArrivalTime: 1993-07-06 02:51:06 PST
Path: arc1-ca.pugleaf.net!gmd.de!dearn!frmop11.cnusc.fr!univ-lyon1.fr!zaphod.crihan.fr!warwick! pipex!uunet!europa.eng.gtefsd.com!howland.reston.ans.net!agate!ames!news.Hawaii.Edu!munnari.oz.au!bruce.cs.monash.edu.au!monu6!aggedor.rmit.OZ.AU!minyos.xx.rmit.OZ.AU!s871780
From: s871780@minyos.xx.rmit.OZ.AU (Antony Suter)
Newsgroups: comp.os.os2.programmer.misc,bit.listserv.os2-l
Subject: Re: HELP!!!: Doing INs and OUTs under OS/2 with BCC
Date: 6 Jul 1993 06:26:43 GMT
Organization: Royal Melbourne Institute of Technology, Melbourne, Australia. 
Lines: 26
Message-ID: <21b5v3$gi7@aggedor.rmit.OZ.AU>
References: <1993Jul2.165507@mantrasun2.epfl.ch> <16C02748F.CSCHUBER@bcsc02.gov.bc.ca>
NNTP-Posting-Host: minyos.xx.rmit.oz.au
Keywords: os/2, asm