OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Hardware Mods => Topic started by: dougeeebear on September 26, 2006, 06:55:05 pm

Title: Dosbox And A Usb Mouse
Post by: dougeeebear on September 26, 2006, 06:55:05 pm
I have Dosbox up and running very nicely.

I have an old DOS Solitaire game installed that uses a mouse, and I have Windows 3.1 installed and working by using the keyboard.

I just bought a cheap USB mouse to check out mouse support on Dosbox, but so far I haven't been able to make it work.

Does anyone have any suggestions as to how I might be able to get the mouse working?

Any help will be appreciated.

Thanks, Doug
Title: Dosbox And A Usb Mouse
Post by: Jon_J on September 26, 2006, 07:35:43 pm
in DOS you will need a mouse driver.
If I recall correctly, it's called mouse.sys (or mouse.com)?
It may have to be loaded in config.sys or autoexec.bat
If you have any old DOS disks, look for mouse.sys

Windows 3.1 comes with a mouse driver for windows. (this will be on your win 3.1 disks)
I don't recall if the two are interchangable.

A lot of the files on the DOS and Windows disks will be in a compressed format, and there is a decompressor on the disk to decompress them.
The compressed files will have incomplete filenames with a _ (underscore) appended to them.
EDIT:
BTW: When DOS and Windows 3.1 were released, there were NO USB mice or peripherals.
I just realized this post is in Hardware Mods
Shouldn't it be in software or general catagory?
Title: Dosbox And A Usb Mouse
Post by: dougeeebear on September 26, 2006, 07:48:19 pm
I tried to load a mouse driver, and Dosbox told me a mouse driver is already installed (it has it's own driver).

And I figured Hardware was a good place to discuss a mouse issue -- the last I knew a mouse was hardware
Title: Dosbox And A Usb Mouse
Post by: InSearchOf on September 26, 2006, 08:05:23 pm
do a
Code: [Select]
# lsmod
do you see the mousedev module loaded?

if not do a...

Code: [Select]
# modprobe mousedev
then launch dosbox...

Quote
BTW: When DOS and Windows 3.1 were released, there were NO USB mice or peripherals.
I just realized this post is in Hardware Mods

Very very very untrue... if im understanding you correctly...

DosBox emulates a serial mouse I believe...

prior to usb mice... there were and still is ps2 mice... prior to ps2 mice there were serial mice... serial mice have been in the world since the early 90's maybe very late 80's... I can say from experience I used a mouse in the 1991 maybe 1992... in windows 3.1..

Late
Title: Dosbox And A Usb Mouse
Post by: dougeeebear on September 26, 2006, 08:14:50 pm
Quote
do a
Code: [Select]
# lsmod
do you see the mousedev module loaded?

if not do a...

Code: [Select]
# modprobe mousedev
then launch dosbox...

[div align=\"right\"][a href=\"index.php?act=findpost&pid=142418\"][{POST_SNAPBACK}][/a][/div]
# modprobe mousedev gives me "modprobe: Can't locate module mousedev"
Title: Dosbox And A Usb Mouse
Post by: InSearchOf on September 26, 2006, 08:29:01 pm
ahhh your not using pdaxrom... lol... sorry...

I take back everything I said...

Late
Title: Dosbox And A Usb Mouse
Post by: Jon_J on September 26, 2006, 11:37:06 pm
Does the mouse work in Qtopia?
I'm running Cacko and when I plug in my USB mini-mouse, it is recognised.
This is the file that I needed since I'm using Cacko Lite:
input-modules-2.4.20_1.23-lite-1_arm.ipk
It's available in the cacko feed. You could try it in Sharp ROM, but I don't know if it will work in Sharp ROM. I only used that ROM for one day.
Title: Dosbox And A Usb Mouse
Post by: dougeeebear on September 27, 2006, 07:45:38 am
Yes, the mouse does work ok (plug-n-play) in Qtopia if I install inputhelper_1.0.1-1_arm.ipk.
It has a cross-hair type of cursor.
The cursor also displays and moves around the screen in Dosbox, but pressing the buttons has no effect.
It also causes Dosbox to terminate unexpectedly.

I'll check out input-modules-2.4.20_1.23-lite-1_arm.ipk.
Thanks.

Side note...
I also have Dosbox installed on my windoze laptop, and it recognizes the touchpad, which is a PS/2 device.
If I plug in the same USB mouse, it also works fine.
Title: Dosbox And A Usb Mouse
Post by: dougeeebear on September 27, 2006, 08:31:57 am
Ok, I installed input-modules-2.4.20_1.23-lite-1_arm.ipk and my z freezes when I plug in the mouse.
Back to the drawing board