我如何通过BIOS访问的USB端口16位x86实模式? [英] How do I access the USB port through the BIOS in 16-bit x86 real mode?

查看:319
本文介绍了我如何通过BIOS访问的USB端口16位x86实模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个新手到大会的世界,

I'm a newbie to the Assembly world,

我试着写一些组装codeS像串口,并口,VGA,键盘,......等等。

I'm trying to write some assembly codes to communicate with Hardware devices like Serial, Parallel, VGA, Keyboard,..etc.

我,通过从自举我亲自写来加载我的程序集code引导我的code这样做,而在英特尔的x86处理器的实模式之中。

I'm doing this while being in Real Mode of the x86 intel processor, by booting my code from a boostrap I personally wrote to load my assembly code.

嘛,据我所知,我从阅读教程云集,对我来说最简单的方法是使用BIOS INT的服务程序(ISR)和另一方面最长的方法是通过访问硬件不同的寄存器,如例如:状态寄存器和串行端口的控制寄存器....

Well, according to my knowledge that I gathered from reading tutorials, the easiest way to me was to use BIOS INTs Service Routine (ISR) and on the other hand the LONGEST way is by accessing the different registers of the hardware, like for example: Status Register and Control Registers of the Serial Port....

Q1:我说的对这个

我可以与VGA和使用BIOS INT的串行硬件沟通,但我无法找到任何BIOS中断了USB控制器..?!

I could communicate with the VGA and Serial hardwares using BIOS INTs, but I couldn't find any bios interrupts for the USB controller..?!

Q2:你可以帮我在这能够与USB端口和其他剩余端口进行通信,只是使它一般

Q2: Can you help me in this to be able to communicate with the USB port and for other remaining ports, just make it general?

Q3:

推荐答案

亚历克斯说,对于USB没有通用的BI​​OS级别的支持。然而,已经有在做实模式DOS驱动程序对USB设备的一些尝试。我发现了一个网页的一些源代码codeS,你应该能够使用:的http:// bretjohnson。美国/来源/ source.htm

As Alex says, there is no universal BIOS-level support for USB. However, there have been some attempts at making real-mode DOS drivers for USB devices. I found a page with some source codes which you should be able to use: http://bretjohnson.us/source/source.htm

这篇关于我如何通过BIOS访问的USB端口16位x86实模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆