www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/23/20:03:54

Xref: news-dnh.mv.net comp.os.msdos.djgpp:543
Path: news-dnh.mv.net!mv!news.sprintlink.net!news.bluesky.net!news.mathworks.com!zombie.ncsc.mil!news.duke.edu!agate!howland.reston.ans.net!cam.news.pipex.net!pipex!soap.news.pipex.net!pipex!edi.news.pipex.net!pipex!sunic!sunic.sunet.se!news.uni-c.dk!diku.dk!terra
From: terra AT diku DOT dk (Morten Welinder)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: IN/OUT-question
Date: 23 Jun 1995 14:14:59 GMT
Organization: Department of Computer Science, U of Copenhagen
Lines: 18
Sender: terra AT tyr DOT diku DOT dk
References: <3se8kh$jd1 AT news DOT belwue DOT de>
Nntp-Posting-Host: odin.diku.dk
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

jscharrl AT ba-stuttgart DOT de (Jochen Scharrlach) writes:

>inportb (...)
>{
>  asm ("inb %1, %0"
>       : ......);
>}

>Now I heard that it is essential to *wait* a bit after starting an
>in/out operation - is this true? Is the function above correct? (of
>course the above function is not complete)


Waiting or not waiting depends on the device to which you're talking.
I don't know a device that requires more waiting than the return
from the function above will supply.

Morten

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019