(jfyi)
win32: ports/hardware access: http://www.powerbasic.com/support/pb...hread.php?t=42
------------------
lance
powerbasic support
mailto:[email protected][email protected]</a>
Announcement
Collapse
No announcement yet.
get address of com1 win win32 or NT
Collapse
X
-
You CAN directly access any I/O port under NT/2000 but you need
to be VERY carefull, thats why its 'locked out' so the OS
doesn't come crashing down. There's not much said about it but
look on the MSDN CD under I/O map. Each port address bit can
be set on or off to allow access. Yes there is a small
driver involved but its only call at the begaining and end of
the application, not for every port access.
Doug
------------------
Leave a comment:
-
-
Guest repliedlooking in internet a match WinMgmts::Win32_PortResource
but don't know use in PB.
Leave a comment:
-
-
You can't access I/O under Win NT directly; you can only under Win 9x. Since the newer versions of Windows will be NT-like (Windows XP), I think it is better not to write code with IMP or OUT (PEEK and POKE are good, since they work on memory, not on I/O).
------------------
Leave a comment:
-
-
get address of com1 win win32 or NT
Dears
I want to get a address of I/O port com1 using
PEEK POKE
or
IMP OUT
My objectve is change a Veloty of transmit 9600 to 115200 in time
below of 100 ms.
I used API SetCommConfig and is very slow, 200ms.
thanks
Amauri Siqueira
Tags: None
-
Leave a comment: