Page 1 of 1

Help with mouse

Posted: Mon Sep 26, 2016 1:35 pm
by MrLolthe1st
Can you help me, i dont know how to work with ps/2 mouse in real mode. Can you help me with it? :roll:

Re: Help with mouse

Posted: Mon Sep 26, 2016 1:52 pm
by iansjack

Re: Help with mouse

Posted: Mon Sep 26, 2016 2:00 pm
by BrightLight
The fact that you're in real mode is irrelevant. Unlike the keyboard, AFAIK, there are no BIOS functions for the mouse.

Re: Help with mouse

Posted: Mon Sep 26, 2016 2:17 pm
by onlyonemac
omarrx024 wrote:The fact that you're in real mode is irrelevant.
Until you start dealing with IOPL. But no, the mouse doesn't work any differently in real mode vs any other mode (neither does any other hardware, really, except that most people in real mode use the BIOS to access hardware and the way you write your code for interacting with hardware directly may need to be different depending on which mode you're in).