Author Topic: Dosbox And A Usb Mouse  (Read 16197 times)

dougeeebear

  • Hero Member
  • *****
  • Posts: 537
    • View Profile
    • http://
Dosbox And A Usb Mouse
« 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
Zaurus SL-C1000 and SL-5500
NetWalker PC-T1 (tablet)

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Dosbox And A Usb Mouse
« Reply #1 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?
« Last Edit: September 26, 2006, 07:41:54 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

dougeeebear

  • Hero Member
  • *****
  • Posts: 537
    • View Profile
    • http://
Dosbox And A Usb Mouse
« Reply #2 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
« Last Edit: September 26, 2006, 08:05:15 pm by dougeeebear »
Zaurus SL-C1000 and SL-5500
NetWalker PC-T1 (tablet)

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Dosbox And A Usb Mouse
« Reply #3 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
« Last Edit: September 26, 2006, 08:08:18 pm by InSearchOf »
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

dougeeebear

  • Hero Member
  • *****
  • Posts: 537
    • View Profile
    • http://
Dosbox And A Usb Mouse
« Reply #4 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"
« Last Edit: September 26, 2006, 08:16:27 pm by dougeeebear »
Zaurus SL-C1000 and SL-5500
NetWalker PC-T1 (tablet)

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Dosbox And A Usb Mouse
« Reply #5 on: September 26, 2006, 08:29:01 pm »
ahhh your not using pdaxrom... lol... sorry...

I take back everything I said...

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Dosbox And A Usb Mouse
« Reply #6 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.
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

dougeeebear

  • Hero Member
  • *****
  • Posts: 537
    • View Profile
    • http://
Dosbox And A Usb Mouse
« Reply #7 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.
« Last Edit: September 27, 2006, 08:13:59 am by dougeeebear »
Zaurus SL-C1000 and SL-5500
NetWalker PC-T1 (tablet)

dougeeebear

  • Hero Member
  • *****
  • Posts: 537
    • View Profile
    • http://
Dosbox And A Usb Mouse
« Reply #8 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
« Last Edit: September 27, 2006, 09:42:48 am by dougeeebear »
Zaurus SL-C1000 and SL-5500
NetWalker PC-T1 (tablet)