TIP: Click on subject to list as thread! ANSI
echo: delphi
to: ALL
from: JANNIEK HUMMELINK
date: 1998-02-05 20:00:00
subject: Port...

Hello All,
Background:
    In Windows 3.11 I use the standard Port procedure to communicate with a 
Stepmotor board.
    In Windows 95 I use the following procedure/function : (via this group)
    function TTestForm.PortInput(Port: word) : Byte;
    begin
      asm
        mov dx, Port
        in al, dx
        mov Result, al
      end;
      PortInput:= Result;
    end;
    procedure TTestForm.PortOutput(Port:Word; Value: byte);
    begin
      asm
        mov dx, Port
        mov al, Value
        out dx, al
      end;
    end;
    All these utilities work fine.
Problem:  the above written procedure/function do not work with Windows NT.
Question: How can I communicate with the Stepmotor Board (Main adress: $300)
Best regards,
Janniek
---
---------------
* Origin: Mijn computer is uitgeDOSt met Windows 95... (2:285/264.2)

SOURCE: echomail via exec-pc

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™.