win2000 under the direct access to port 1, using install_giveio.bat, call loaddr...
- 资源大小:374.88 kB
- 上传时间:2021-06-30
- 下载次数:0次
- 浏览次数:1次
- 资源积分:1积分
-
标 签:
Windows开发
delphi
资 源 简 介
win2000下直接访问端口
1、用install_giveio.bat,调用loaddrv.exe,安装giveio.sys 到系统中。
2、安装 port.pas后,在delphi的‘Custom‘面板中, 有一个port元件。
3、拖一个TPort到窗体上,命名为port。
4、那么就可以直接访问端口(2000下也可以),如:读 i:= port[$378] 写 port[$378]:=
5、status_giveio.sys 查看状态,remove_giveio.sys 反安装驱动。
6、tstio.exe 直接调用bios来发声,可以用来测试是否安装驱动成功。cygwin1.dll是loaddrv.exe 要调用的,因为它是用MinGw32下的gcc编译的。 -win2000 under the direct access to port 1, using install_giveio.bat, call loaddrv.exe, installed into the system giveio.sys. 2, installed after port.pas in delphi the
文 件 列 表
Giveio
install_giveio.bat
giveio.sys
2000下直接io访问.txt
loaddrv.exe
port.pas
remove_giveio.bat
status_giveio.bat
TSTIO.EXE
cygwin1.dll
说明.txt