TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Thomas Seeling
from: Allan Mertner
date: 1996-07-09 11:51:22
subject: Re: VP/2 com ports (Was: Speed Pasc

Hej Thomas!

Monday June 17 1996, Thomas Seeling writes to Allan Mertner:

 TS> How "direct" is your meaning of "direct"? Can
you prove that you are
 TS> using the fastest method to access I/O ports?

I cannot, of course. The fastest way would be to translate
  Port[100] := 100;
to
  mov  dx,100
  out  dx,100

- or something like that.  Unfortunately, OS/2 does not allow this and VP
generates code to call equivalent code in a segment with I/O privilege,
which of course adds some overhead.

Still, it is much faster than using the TESTCFG interface and can only be
done faster by implementing the I/O routines in a dedicated device driver.

Yours,
Allan

--- GoldED 2.50.A0531+
* Origin: Gravity is a myth: Earth Sucks! (2:254/283)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 517 624 628 713/888 800/1
@PATH: 254/283 259 442/403 255/1 440/4 141/209 270/101 712/515 711/808 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™.