so if you are able to Access the Card via the regular port/pin Setup, they should be also be red/writeable via
GetPortByte(PortAddr)
and
PutPortByte(PortAddr)
as shown in this example i did
' Our port address
PortAddr = 1016 ' 0x3f8
' Read data register of parallel port at 0x3f8
PortData = GetPortByte(PortAddr)
' write the data to OEMLed's
SetUserLed(2001,PortData And &H01)
SetUserLed(2002,PortData And &H02)
SetUserLed(2003,PortData And &H04)
SetUserLed(2004,PortData And &H08)
SetUserLed(2005,PortData And &H10)
SetUserLed(2006,PortData And &H20)
SetUserLed(2007,PortData And &H40)
SetUserLed(2008,PortData And &H80)
you have to out in there the same port adress as in Mach3 setup