Compilation – How to access USB ports through BIOS in 16-bit X86 real mode?

I am a newbie in the conference world,

I am trying to write some assembly code to communicate with hardware devices, such as serial, parallel, VGA, Keyboard and so on.

I am using the real mode of the x86 Intel processor to load my assembly code by launching my code from boostrap written by myself.

Well, according to The knowledge I gathered from reading the tutorial, the easiest way is to use BIOS INTs service routines (ISR), on the other hand the longest way is to access different registers of the hardware, such as the status register and control register of the serial port…

Q1: Am I right about this?

I can use BIOS INT to communicate with VGA and serial hardware, but I cannot find any BIOS interrupts for the USB controller..? !

Q2: Can you help me solve this problem? Is it possible to communicate with the USB port and other remaining ports just to make it universal?

Q3:

As Alex said, there is no universal BIOS level for USB Yes. However, there have been some attempts to make real-mode DOS drivers for USB devices. I found a page with some source code, you should be able to use it: http://bretjohnson.us/source/source.htm

I am a newbie in the conference world,

I am trying to write some assembly code to communicate with hardware devices, such as serial, parallel, VGA, keyboard, etc. Wait.

I am using the real mode of the x86 Intel processor, and load my assembly code by launching my code from the boostrap written by myself.

Well, according to me from Reading the knowledge collected in the tutorial, the easiest way is to use BIOS INTs service routines (ISR), on the other hand the longest way is to access different registers of the hardware, such as the status register and control register of the serial port…

Q1: Am I right about this?

I can use BIOS INT to communicate with VGA and serial hardware, but I cannot find any BIOS interrupts for the USB controller..? !

Q2: Can you help me solve this problem? Is it possible to communicate with the USB port and other remaining ports just to make it universal?

Q3:

As Alex said, there is no universal BIOS level support for USB. However, there have been some attempts to make for USB devices Real-mode DOS driver. I found a page with some source code, you should be able to use it: http://bretjohnson.us/source/source.htm

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1279 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.