To Peter: Thanks for the menu key tip.

On Thu, Feb 4, 2010 at 10:04 AM, Jan-Jaap van der Geer
<[email protected]> wrote:
> Johann "Myrkraverk" Oskarsson <[email protected]> wrote:
>> Is there a way to connect a serial port into the emulator?  That is, I
>> want to connect my serial port /dev/cua/0 to the emulator, so I can
>> use my 3 button serial mouse directly in risc os.  Pressing the mouse
>> wheel so much is starting to hurt my fingers.
>
> Isn't it possible to use the mouse directly in your host OS? I'd expect it to 
> work under RPCemu as well, then.

Yes, but there is no autodetection for a usb serial device + serial
mouse.  Plus, adding serial support is probably going to be fun, for
some value of fun.

> Windows copes fine with two mouses as well, in case you would still like to 
> use your other mouse there. I think Linux does as well, since it copes fine 
> with both touchpad and a mouse at the same time.

Two mice is not a problem.

> Hm. /dev/cua/0 - suggest you're not using Windows :)

No, and not Linux either. ;-D

As far as I've asked/googled, serial mouse support is not a problem in
risc os.  I have a 3 button logitech serial mouse.

I've already begun to look at the docs for FDC37C665GT as well as
superio.c, curtesy of filth on #playpen, freenode.

Right now I have only one question: What happens when the real UART
doesn't support the same baud rates as the chip we're emulating?  I
just checked, and according to the OpenSolaris driver sources, my UART
does not have all the speeds listed in the hw docs.  It is safe to
assume this will be the care for many real serial ports/UARTS out
there.

I'll be back with questions about code integration later. I'm sure.

Oh and I should add, that my code will be unix only to begin with.  I
have wine with mingw, so I should be able to compile a windows
version.  It is not a priority for me though.  And I have no idea how
to access serial ports in windows.  However, giving wine access to my
serial port seems trivial, according to google.  Testing on Linux will
hopefully be trivial in my Linux zone.


Johann

_______________________________________________
Rpcemu mailing list
[email protected]
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Reply via email to