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)
|