Thread View: cn.bbs.comp.program
1 messages
1 total messages
Started by �ϵ�
Wed, 22 Apr 1998 00:00
Read/Write I/O port in Windows 95 applications
Author: �ϵ�
Date: Wed, 22 Apr 1998 00:00
Date: Wed, 22 Apr 1998 00:00
45 lines
2670 bytes
2670 bytes
������: bluesea (����), ����: Win95_win3.x
�� ��: Read/Write I/O port in Windows 95 applications
����վ: BBS ˮľ�廪վ (Sun Dec 14 21:42:26 1997)
�� �� wlm (wlm) �Ĵ������ᵽ: ��
: ����Win95�������кIO�˿ڣ�outportb �������ˣ�
(1) You can read/write a port with inport()/outport() functions
or inline assembly within a 16-bit application or DLL in
Windows 95;
(2) Access the hardware resources by the standard way of VxD.
This is the recommended method of Win32 development. To do
this, u may have know something about DDK;
(3) Some third-party Tools such as Windriver or WinTools ...
may also help. You have to gather more information from inet;
(4) For a compromise, your Win32 application can also call a 16-bit
DLL in witch u can use traditional I/O method. This's called
'Thunk' technology and u can get more knowledge from online
help and docs of MSVC 4.x-5.x. There are 3 difference thunk,
for Win32s, Win32 of 95 and Windows NT 4.x and they aren't
compatible very well each other.
(5) Also, a MS-DOS driver (.sys in config.sys or exe/com in autoexec)
can work with Windows 95 quite well. you can control the driver
by software interrupt (int xxx) or by the way of a piece of
shared MS-DOS memory. This method is not suited for the
high-speed / large-quantity data transfer usage.
Apologized for my poor English.
--
0;37m_______________________________________________________________________________0m
7;44m 0m
7;44m ��ɫ����Ϊ��ɫ̫Ũ��Ե�ʣ����ɫӵ�������е�ɫ�ʡ��� 0m
7;44m_______________________________________________________________________________0m
6m�� ��:��bluesea � Dec 14 21:48:20 �ı��ġ�[FROM: 202.112.145.96]m
m7m�� ��Դ:��BBS ˮľ�廪վ bbs.net.tsinghua.edu.cn��[FROM: 202.112.145.96]m
--
[m[1;33m�� ��Դ:���ϴ�С�ٺ���Ϣ����վ bbs.nju.edu.cn��[FROM: a507yjh.nju.edu][m
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads