亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? dosusb.htm

?? DOS下的USB驅動源碼,包括UHCI
?? HTM
?? 第 1 頁 / 共 3 頁
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title>DosUSB driver documentation</title>
<meta name="generator" content="Namo WebEditor v3.0">
</head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">

<p>&nbsp;</p>
<p><font face="Arial" size="5">&nbsp;</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font
 face="Arial" size="5"><b>DosUSB driver documentation</b></font></p>
<p><br>
<font face="Arial" size="4"><b>1. Introduction</b></font></p>
<p><font face="Arial">DOS support for USB is currently very limited. There are 
only a<br>
few drivers available, e.g. for mass storage devices. </font></p>
<p><font face="Arial">DOS can work with a USB keyboard and a USB mouse only 
if the BIOS<br>
features legacy support by doing a 8042 controller emulation for<br>
these devices. With legacy support enabled, the BIOS will then also<br>
support to boot from and to access a USB floppy drive or hard disk.</font></p>
<p><font face="Arial">For Linux there are UHCI, OHCI and EHCI drivers available 
and a<br>
lot of device drivers which are based on these USB controller<br>
drivers. Using DOSUSB.COM it is now possible for DOS application<br>
programs to communicate with all sorts of USB devices and to implement<br>
USB device drivers for DOS.</font></p>
<p><font face="Arial">DOSUSB.COM is a USB host controller driver for DOS. It 
is a TSR<br>
program which implements a universal host controller driver (HCD) and a<br>
universal serial bus driver (USBD). It can also be used with WIN 3.11.</font></p>
<p><font face="Arial">DOSUSB.COM provides a software layer so application programs 
and<br>
USB device drivers can be written supporting specific USB devices.</font></p>
<p><font face="Arial">It builds frame lists for the USB host controllers, sets 
up<br>
transfer descriptors and queue heads and schedules the transactions<br>
requested by the USB device drivers.</font></p>
<p><font face="Arial"><br>
</font><font face="Arial" size="4"><b>2 Installation</b></font></p>
<p><font face="Arial">Extract the zip file you have downloaded into a directory 
on your<br>
hard disk e.g. c:\dosusb. This directory will then contain the<br>
following files:</font></p>
<p><font face="Courier New" size="2">DOSUSB.COM &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The 
driver<br>
dosusb.htm &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This file, the documentation for DOSUSB.COM<br>
licence.txt &nbsp;&nbsp;&nbsp;&nbsp;Licence information about DOSUSB.COM<br>
usbview.exe &nbsp;&nbsp;&nbsp;&nbsp;Application which displays the descriptors 
of<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a 
device<br>
mouse.exe &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;USB mouse demo application<br>
restart.exe &nbsp;&nbsp;&nbsp;&nbsp;Enumerates all devices connected<br>
prnusb.sys &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Device driver for printers using DosUSB<br>
lpt1usb.sys &nbsp;&nbsp;&nbsp;&nbsp;Device driver for printers replacing the 
LPT1: device<br>
hplaser.exe &nbsp;&nbsp;&nbsp;&nbsp;Prints the file dosusb.txt on a HP laserprinter<br>
usbdisk.sys &nbsp;&nbsp;&nbsp;&nbsp;Device driver for mass storage devices</font></p>
<p><font face="Arial">The subdirectory SRC will contain the source-code for 
the following samples:</font></p>
<p><font face="Courier New" size="2">usbview.bas &nbsp;&nbsp;&nbsp;&nbsp;Source 
code for usbview.exe in Powerbasic<br>
mouse.bas &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Source code for mouse.exe in Powerbasic<br>
keyboard.bas&nbsp;&nbsp;&nbsp;&nbsp;Source code for reading a USB keyboard in 
Powerbasic<br>
hplaser.bas &nbsp;&nbsp;&nbsp;&nbsp;Source for an application to print the file 
dosusb.txt<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to 
an HP Laserjet printer<br>
lq590.bas &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Source for a sample to print to 
an Epson LQ-590 printer<br>
setalt.bas &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Source code to set alternate interface 
for a device<br>
enum.c &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Turbo C program 
to retrieve a device descriptor<br>
enum.bas &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Powerbasic sample to retrieve 
a device descriptor<br>
enum.asm &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Assembler sample to retrieve 
a device descriptor<br>
hplaser.pas &nbsp;&nbsp;&nbsp;&nbsp;Pascal sample to print dosusb.txt to an 
HP Laserjet printer<br>
hplaserv.bas &nbsp;&nbsp;&nbsp;VBDOS sample to print dosusb.txt to an HP Laserjet 
printer<br>
hplaserv.mak &nbsp;&nbsp;&nbsp;VBDOS project file for hplaserv.bas<br>
hplaserq.bas &nbsp;&nbsp;&nbsp;Quickbasic sample to print dosusb.txt to an HP 
Laserjet printer<br>
reset.bas &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Powerbasic source for a reset 
command<br>
reset.pas &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pascal source for reset command<br>
restart.bas &nbsp;&nbsp;&nbsp;&nbsp;Powerbasic source for restart.exe<br>
restart.pas &nbsp;&nbsp;&nbsp;&nbsp;Pascal source for restart command<br>
icheck.bas &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Powerbasic source for an installation 
check<br>
cable.bas &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sample to send data via a PC connect 
USB cable<br>
reader.bas &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sample to read sector zero of a memory 
card<br>
stick.bas &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sample to read sector zero of 
a USB flash drive.<br>
stick.pas &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sample in Pascal to read sector 
of a USB flash drive<br>
floppy.bas &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sample to read sector zero of a floppy 
drive<br>
camera.bas &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Read isochronous traffic from a camera<br>
scanner.bas &nbsp;&nbsp;&nbsp;&nbsp;Sample which reads the identity of an Epson 
1670 scanner<br>
serial.bas &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sample terminal program using a USB/serial 
adapter<br>
prnusb.asm &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Source code for the printer device 
driver</font></p>
<p><font face="Arial"><br>
To start DosUSB enter DOSUSB.COM at the DOS prompt. DosUSB<br>
will then enumerate all the connected devices and install itself<br>
as a resident program.</font></p>
<p><font face="Arial">On laptops, the number of ports per controller may exceed 
the number of<br>
USB sockets installed. DosUSB will then show more ports than can be used<br>
with devices.</font></p>
<p><font face="Arial">DosUSB itself requires about 23k of computer memory. However, 
it<br>
also requests additional memory for each controller installed<br>
in the computer. </font></p>
<p><font face="Arial">DosUSB will work on a computer featuring UHCI or OHCI 
controllers.<br>
It will try to determine whether OHCI or UHCI controllers are installed and<br>
report this. </font></p>
<p><font face="Arial">If the PC has an Intel or VIA mainboard it will have UHCI 
controllers.<br>
These mainboards are used in most computers. If the PC has an EHCI controller<br>
for USB 2.0, DosUSB will still be able to run, since the EHCI controller<br>
works together with UHCI or OHCI controllers which DosUSB can use.</font></p>
<p><font face="Arial">Since UHCI and OHCI just support up to 12Mbit/s, this 
is the upper limit<br>
for ports supported by DosUSB. However, a 2.0 port with 480Mbit/s should also<br>
work at 12Mbit/s.<br>
&nbsp;</font></p>
<p><font face="Arial" size="4"><b>3. USB Request Block</b></font></p>
<p><font face="Arial">To request the execution of a transaction the device driver 
has<br>
to use a USB Request Block (URB) of the following structure:</font></p>
<p><font face="Courier New" size="2">urbstruc struc<br>
&nbsp;&nbsp;&nbsp;transaction_type &nbsp;byte &nbsp;;control (2Dh), in (69h), 
out (E1h) as hex code<br>
&nbsp;&nbsp;&nbsp;chain_end_flag &nbsp;&nbsp;&nbsp;byte &nbsp;;reserved<br>
&nbsp;&nbsp;&nbsp;dev_add &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;byte<br>
&nbsp;&nbsp;&nbsp;end_point &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;byte<br>
&nbsp;&nbsp;&nbsp;error_code &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;byte 
&nbsp;;returned by dosuhci<br>
&nbsp;&nbsp;&nbsp;status &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;byte 
&nbsp;;returned by dosuhci<br>
&nbsp;&nbsp;&nbsp;transaction_flags word &nbsp;;reserved<br>
&nbsp;&nbsp;&nbsp;buffer_off &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;word 
&nbsp;;for in/out<br>
&nbsp;&nbsp;&nbsp;buffer_seg &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;word 
&nbsp;;for in/out<br>
&nbsp;&nbsp;&nbsp;buffer_length &nbsp;&nbsp;&nbsp;&nbsp;word &nbsp;;for in/out<br>
&nbsp;&nbsp;&nbsp;actual_length &nbsp;&nbsp;&nbsp;&nbsp;word &nbsp;;for in/out, 
(maximum length / bytes returned)<br>
&nbsp;&nbsp;&nbsp;setup_buffer_off &nbsp;word &nbsp;;for control<br>
&nbsp;&nbsp;&nbsp;setup_buffer_seg &nbsp;word &nbsp;;for control<br>
&nbsp;&nbsp;&nbsp;start_frame &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;word &nbsp;;reserved<br>
&nbsp;&nbsp;&nbsp;nr_of_packets &nbsp;&nbsp;&nbsp;&nbsp;word &nbsp;;isochronous 
if set to one<br>
&nbsp;&nbsp;&nbsp;int_interval &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;byte &nbsp;;reserved<br>
&nbsp;&nbsp;&nbsp;error_count &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;byte &nbsp;;number 
of retries<br>
&nbsp;&nbsp;&nbsp;timeout &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;word 
&nbsp;;reserved<br>
&nbsp;&nbsp;&nbsp;next_urb_off &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;word &nbsp;;reserved<br>
&nbsp;&nbsp;&nbsp;next_urb_seg &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;word &nbsp;;reserved<br>
urbstruc ends ;32 byte long</font></p>
<p><font face="Arial">This URB structure is similar to the Linux URB.</font></p>
<p><font face="Arial">Using this URB it is possible to schedule control, input 
and output<br>
transactions. For control transactions, DosUSB can do the following<br>
in and out transactions required to retrieve the requested data.</font></p>
<p><font face="Arial"><br>
</font><font face="Arial" size="4"><b>3.1 Elements of the URB structure</b></font></p>
<p><font face="Arial"><br>
</font><font face="Arial"><b>transaction_type</b></font></p>
<p><font face="Arial">select the type of transaction scheduled, this can be 
either a<br>
control, in or out transaction. For a control transaction enter<br>
2D hex, for an in transaction enter 69 hex and for an out<br>
transaction enter E1 hex.</font></p>
<p><font face="Arial">You can also send commands to DosUHCI, if you enter FF 
hex as the<br>
transaction code. The commands available are explained below.</font></p>
<p><font face="Arial"><br>
</font><font face="Arial"><b>chain_end_flag</b></font></p>
<p><font face="Arial">this element is currently not used</font></p>
<p><font face="Arial"><br>
</font><font face="Arial"><b>dev_add</b></font></p>
<p><font face="Arial">enter the USB device address here of the device the scheduled<br>
transaction shall be send to.</font></p>
<p><font face="Arial">The device driver can either request the device descriptor 
for<br>
all addresses from one to invalid to find the device in question.<br>
Or you can use usbview to find the device manually.</font></p>
<p><font face="Arial"><br>
</font><font face="Arial"><b>end_point</b></font></p>
<p><font face="Arial">each device has several endpoints. The device driver has 
to<br>
select the right endpoint address for the control, in and out<br>
transactions. There are different endpoints for bulk, interrupt,<br>
control or isochronous transactions.</font></p>
<p><font face="Arial"><br>
</font><font face="Arial"><b>error_code</b></font></p>
<p><font face="Arial">in this element DosUSB will return an error code, if it<br>
encounters a problem with the scheduled transaction. The<br>
following codes are currently defined:<br>
1 - invalid device address, &nbsp;&nbsp;2 - internal error, <br>
3 - invalid transaction_type, 4 - invalid buffer length</font></p>
<p><font face="Arial"><br>
</font><font face="Arial"><b>status</b></font></p>
<p><font face="Arial">this is the status byte returned by the USB controller 
after<br>
executing the scheduled transaction. If a control transaction has<br>
been scheduled, this element has the status byte of the last<br>
transaction in the queue.<br>
See details about this byte in the Intel UHCI design guide. In short:<br>
Bit 0: Reserved, Bit 1: Bitstuff error, Bit 2: CRC/Timeout, Bit 3: NAK,<br>
Bit 4: Babble detected, Bit 5: Data Buffer error, Bit 6: Stalled,<br>
Bit 7: Active<br>
So e.g. 88 hex means a NAK received, since the active bit is set the data<br>
packet can be retried, 44 hex means a CRC/Timeout error which caused a stall.<br>
The device may need a reset.<br>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
天天色图综合网| 日韩视频免费直播| 久久精品夜色噜噜亚洲a∨| 一区二区三区国产豹纹内裤在线| 国产东北露脸精品视频| 日韩一区二区三区免费观看| 国产校园另类小说区| 日韩 欧美一区二区三区| 在线免费不卡电影| 亚洲在线视频免费观看| 色婷婷av一区二区三区大白胸| 中文字幕一区二区三区蜜月| 成人免费观看男女羞羞视频| 国产欧美精品一区二区色综合 | 欧美精品三级在线观看| 亚洲欧洲av一区二区三区久久| 久久国产剧场电影| 日韩片之四级片| 国产综合色视频| 欧美日韩国产免费一区二区 | 喷水一区二区三区| 在线不卡的av| 日韩专区在线视频| 日韩免费在线观看| 国产成人在线免费| 中文字幕中文字幕一区二区| 91网站在线播放| 亚洲视频在线一区二区| 欧美吻胸吃奶大尺度电影| 亚洲bt欧美bt精品777| 7777精品伊人久久久大香线蕉超级流畅| 五月天中文字幕一区二区| 91麻豆精品国产自产在线观看一区 | 欧美成人精精品一区二区频| 成人av网站免费观看| 午夜精品一区在线观看| 26uuu成人网一区二区三区| 99久久精品费精品国产一区二区| 琪琪一区二区三区| 国产精品国产三级国产aⅴ入口 | 国产女同性恋一区二区| 欧美高清激情brazzers| 丁香婷婷综合网| 免费的成人av| 亚洲免费电影在线| 精品99一区二区三区| 欧洲精品在线观看| 成人午夜在线免费| 另类小说色综合网站| 亚洲美女偷拍久久| 国产日韩影视精品| 91无套直看片红桃| 午夜精品久久久久影视| 在线播放视频一区| 首页国产欧美日韩丝袜| 久久精品99久久久| 欧美日韩国产免费| 91亚洲精华国产精华精华液| 色婷婷久久综合| 日韩av中文在线观看| 精品一区二区成人精品| 亚洲午夜精品网| 亚洲青青青在线视频| 久久久亚洲综合| 日韩欧美另类在线| 欧美精品自拍偷拍动漫精品| 在线视频国内自拍亚洲视频| av不卡免费电影| 成人自拍视频在线观看| 久久成人羞羞网站| 精品亚洲免费视频| 蜜芽一区二区三区| 日韩成人精品在线| 丝袜亚洲另类丝袜在线| 无吗不卡中文字幕| 天天影视色香欲综合网老头| 亚洲图片欧美色图| 香蕉乱码成人久久天堂爱免费| 亚洲女同女同女同女同女同69| 国产精品九色蝌蚪自拍| 国产精品色在线| 亚洲天堂久久久久久久| 亚洲天天做日日做天天谢日日欢| 国产精品灌醉下药二区| 国产精品不卡一区| 亚洲免费毛片网站| 一区二区三区免费观看| 精品在线免费视频| 青青草97国产精品免费观看 | 国产精品18久久久久| 亚洲精品一区二区精华| 久草在线在线精品观看| 国内偷窥港台综合视频在线播放| 久久精品国产成人一区二区三区| 精久久久久久久久久久| 免费观看日韩电影| 久久91精品国产91久久小草| 国产成人啪免费观看软件| 国产91精品一区二区麻豆网站| 成人在线一区二区三区| 不卡一卡二卡三乱码免费网站| 91在线无精精品入口| 欧美性视频一区二区三区| 欧美一级欧美三级在线观看| 欧美大片在线观看| 国产精品毛片高清在线完整版| 国产精品国产三级国产aⅴ中文 | 日本成人在线一区| 精品一区二区三区不卡| 国产高清亚洲一区| 色综合一个色综合| 欧美一区二区三区视频免费 | 在线观看av一区| 日韩一区二区在线播放| 国产精品热久久久久夜色精品三区 | 亚洲天堂av一区| 午夜精品视频在线观看| 国产成人三级在线观看| 色婷婷综合久久| 久久在线免费观看| 亚洲欧美另类综合偷拍| 国产一区二区看久久| 91国产视频在线观看| 精品国产一区二区三区久久久蜜月| 日韩一区中文字幕| 久久精品噜噜噜成人88aⅴ| 91免费看片在线观看| 久久品道一品道久久精品| 亚洲一二三级电影| 成人激情图片网| 欧美电影一区二区| 中文字幕欧美国产| 视频一区视频二区中文字幕| 99久久综合精品| 久久青草国产手机看片福利盒子 | 91亚洲午夜精品久久久久久| 欧美精品久久99久久在免费线| 国产精品色婷婷久久58| 热久久一区二区| 欧美系列亚洲系列| 亚洲欧洲精品成人久久奇米网| 国内精品写真在线观看| 欧美久久高跟鞋激| 亚洲男人的天堂一区二区 | 日韩av午夜在线观看| av成人动漫在线观看| 国产欧美一区二区精品性色 | 欧美午夜电影网| 日韩一区在线看| 成人一区在线看| 2023国产精华国产精品| 日韩电影在线一区| 欧美色手机在线观看| 亚洲免费看黄网站| 91蜜桃网址入口| 综合亚洲深深色噜噜狠狠网站| 国产麻豆精品一区二区| 精品999久久久| 久久成人av少妇免费| 欧美肥妇bbw| 日韩精品午夜视频| 91精品欧美福利在线观看| 天天色综合成人网| 67194成人在线观看| 亚洲成人激情自拍| 欧美三级视频在线播放| 亚洲国产中文字幕| 欧美性xxxxxx少妇| 午夜精品在线看| 欧美一区二区免费观在线| 蜜臀av性久久久久蜜臀av麻豆 | www国产精品av| 黄色日韩网站视频| 国产色产综合色产在线视频| 成人黄页在线观看| 中文字幕人成不卡一区| 91久久精品一区二区三区| 一区二区不卡在线播放 | 欧美无乱码久久久免费午夜一区| 亚洲精品国产品国语在线app| 色综合久久久久久久久久久| 亚洲综合视频在线| 欧美巨大另类极品videosbest | 91精品黄色片免费大全| 日本在线不卡视频一二三区| 欧美mv和日韩mv国产网站| 精品制服美女丁香| 国产日本欧洲亚洲| 91论坛在线播放| 日本亚洲三级在线| www久久久久| 91蝌蚪porny| 亚洲国产美女搞黄色| 日韩视频免费观看高清在线视频| 黄色日韩三级电影| 亚洲欧美一区二区三区久本道91| 在线观看av一区二区| 久久av资源站| 亚洲天堂网中文字| 5858s免费视频成人|