www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/23/18:00:27

Xref: news-dnh.mv.net comp.os.msdos.djgpp:540
Path: news-dnh.mv.net!mv!news10.sprintlink.net!news.sprintlink.net!howland.reston.ans.net!xlink.net!xlink100!ka.sub.net!rz.uni-karlsruhe.de!news.uni-stuttgart.de!news.belwue.de!grey.t-informatik.ba-stuttgart.de!jscharrl
From: jscharrl AT ba-stuttgart DOT de (Jochen Scharrlach)
Newsgroups: comp.os.msdos.djgpp
Subject: IN/OUT-question
Date: 23 Jun 1995 11:30:25 GMT
Organization: Berufsakademie Stuttgart
Lines: 25
Reply-To: jscharrl AT ba-stuttgart DOT de
Nntp-Posting-Host: grey.t-informatik.ba-stuttgart.de
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

Hi!

I have some trouble with the new implementation of inportb,... in V2,
but I am not sure if it is really a bug. In V2 all in/out-commands are
implemented as inline assembler functions, which only pass the
parameter to the in/out assembler command, like:

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)

Thanks in advance,
Jochen

--
                      ------------------------------------
                      EMail:   jscharrl AT ba-stuttgart DOT de
                         or:   acorn1 AT ftp DOT uni-stuttgart DOT de
                      ------------------------------------

- Raw text -


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