http://www.geocities.com/capecanaveral/9646/baioport.zip
用这个控件吧! 下面是DSP的介绍:
A Non-visual component for reading and writing to I/O Ports,
including Serial/Parallel ports and the computers internal speaker. (ver.
Current, added 6/26/98, updated 8/2/98)
IOPort is component for Inprise Delphi 3, Delphi 4 and C++ Builder 3,
which enables direct access to hardware ports in Windows 95, Windows 98
and Windows NT 4. Through properties Port, PortByte, PortWord and PortDWord
enables read and write bytes, words and doublewords from/to IO ports.
New fast block data transfer methods enables to read and write megabytes
of data per second.