Bochs and serial mice...

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
ComputerPsi
Member
Member
Posts: 83
Joined: Fri Oct 22, 2004 11:00 pm

Bochs and serial mice...

Post by ComputerPsi »

Recently, I enable my OS to be able to get signals from a serial mouse, on ports COM1 and COM2. Now, I was able to emulate the OS to work on Bochs.. but the mouse isn't configured to be a serial mouse.. Does anybody know how to configure that on Bochs?
User avatar
chase
Site Admin
Posts: 710
Joined: Wed Oct 20, 2004 10:46 pm
Libera.chat IRC: chase_osdev
Location: Texas
Discord: chase/matt.heimer
Contact:

Re: Bochs and serial mice...

Post by chase »

(Disclamer: I haven't done this yet)

I think mouse support under bochs works two ways:

1)Mouse emulation - If you have this setup from what I can tell bochs can capture mouse movement under Windows or Linux and turn it into mouse input but from what I can tell it only does ps2 emulation.

2)If you have a serial mouse hooked up to your physical machine you should be able to read it under bochs. You'll have to map your bochs serial ports to you host OSes serial devices. Under Linux you may have to make sure nothing else is grabbing the real serial device, like gpm.
ComputerPsi
Member
Member
Posts: 83
Joined: Fri Oct 22, 2004 11:00 pm

Re: Bochs and serial mice...

Post by ComputerPsi »

Well.. 1 only seems to support a ps2 mouse, and 2, I tried it, but it doesn't work.
Anything is possible if you put your mind to it.
ComputerPsi
Post Reply