Real mode assembly III: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content added Content deleted
(New page: {{Rating|1}} ''In installment number three of the real mode assembly bare bones series, we're covering x and doing a quick skim of the PS/2 mouse interrupt calls on INT 15h.'' =This arti...)
 
mNo edit summary
Line 13: Line 13:
You'll have to [http://www.ctyme.com/intr/int-15.htm look for stuff] on these controls to really learn how to use them though.
You'll have to [http://www.ctyme.com/intr/int-15.htm look for stuff] on these controls to really learn how to use them though.


[[Category:Bare bones tutorials]]
[[Category:Real mode assembly]]
<- [[Real mode assembly II]] | none ->
<- [[Real mode assembly II]] | none ->

Revision as of 04:17, 9 January 2009

Difficulty level

Beginner

In installment number three of the real mode assembly bare bones series, we're covering x and doing a quick skim of the PS/2 mouse interrupt calls on INT 15h.

This article is incomplete!!!

Interrupt 15h, AH=0xC2 - PS/2 Mouse

INT 15h does some nifty stuff. Originally meant for accessing the cassette tape system on the original PC and more obscure PCjr, most if not all systems since the mid '80s don't have tape drives, and any BIOS since the PS/2 uses this int (at least AH=0xC2) for the PS/2 mouse. The full range of calls on INT 15h are available at your nearest RBIL, but the mouse calls are discussed briefly here.

There are two extremely simple calls: AX=0xC200, which enables or disables the mouse (BH=01h for enabled, 00h for disabled), and AX=0xC201, which simply resets the mouse regardless of what's in BX.

You'll have to look for stuff on these controls to really learn how to use them though.

<- Real mode assembly II  |  none ->