aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--9xsetup.inf25
-rw-r--r--README.md16
-rw-r--r--makefile5
3 files changed, 38 insertions, 8 deletions
diff --git a/9xsetup.inf b/9xsetup.inf
new file mode 100644
index 0000000..ad3df94
--- /dev/null
+++ b/9xsetup.inf
@@ -0,0 +1,25 @@
+[Version]
+Signature = "$CHICAGO$"
+
+[DestinationDirs]
+driverCopy = 11
+
+[DefaultInstall]
+CopyFiles = driverCopy
+UpdateInis = driver.Ini
+Reboot
+
+[driverCopy]
+vbmouse.drv
+
+[driver.Ini]
+system.ini,boot,"mouse.drv=mouse.drv","mouse.drv=vbmouse.drv"
+
+[SourceDisksNames]
+1 = %DrvDisk%,,1
+
+[SourceDisksFiles]
+vbmouse.drv = 1
+
+[Strings]
+DrvDisk = "VBMouse driver disk"
diff --git a/README.md b/README.md
index 89baf8d..fe1c02b 100644
--- a/README.md
+++ b/README.md
@@ -1,18 +1,20 @@
This is a mouse driver for Windows 3.x with VirtualBox mouse integration support.
-I have tested it with Windows 3.0 in real and 386 enhanced modes, Windows 3.11 in 386 enhanced mode
+I have tested it with Windows 3.0 in real and 386 enhanced modes, Windows 3.11 in 386 enhanced mode
with paging on, as well as Windows 95 (Windows 9x can use 16-bit mouse drivers).
**Note**: if you also use DOS programs, you may be more interested in my other approach:
[VBADOS](https://git.javispedro.com/cgit/vbados.git/about/), a DOS mouse driver
and a stub driver for 3.x which calls into the DOS driver.
-It actually has more features and partially works with VMware, however VBADOS is a more
+It has more features and works with VMware, however VBADOS is a more
complicated design so I'm leaving this older approach here for reference.
# Install
Download [vbmouse.flp](https://depot.javispedro.com/vbox/vbmouse1.flp)
-(a floppy image containing vbmouse.drv and oemsetup.inf) and insert it into your virtual machine.
+(a floppy image containing vbmouse.drv and related .inf files) and insert it into your virtual machine.
+
+### Windows 3.x
In the Windows Setup program (accessible either via SETUP.EXE on an installed Windows or via
the corresponding icon in Program Manager), go to
@@ -20,12 +22,16 @@ Options → Change system configuration → Mouse → Select "Other mouse..." â†
→ "VirtualBox PS/2 Mouse".
Select the "VirtualBox PS/2 Mouse" in the Mouse section again.
-Alternatively, you can copy vbmouse.drv to your WINDOWS\SYSTEM directory and edit WINDOWS\SYSTEM.INI 's mouse.drv line to point to it, e.g.
+Alternatively, you can copy vbmouse.drv to your WINDOWS\SYSTEM directory and edit WINDOWS\SYSTEM.INI mouse.drv line to point to it, e.g.
[boot]
mouse.drv = vbmouse.drv
-This later option also works with Windows 9x.
+### Windows 95
+
+Right-click on the included 9xsetup.inf file and select Install. Then reboot.
+
+Alternatively, you might also edit WINDOWS\SYSTEM.INI as in the above section. The .inf file just automates that.
# Building
diff --git a/makefile b/makefile
index c677d4d..6ed6408 100644
--- a/makefile
+++ b/makefile
@@ -21,6 +21,5 @@ vbmouse.flp:
mformat -C -f 1440 -v VBMOUSE -i $^@ ::
# Build a floppy image containing the driver
-flp: vbmouse.flp vbmouse.drv oemsetup.inf .SYMBOLIC
- mcopy -i vbmouse.flp -o oemsetup.inf vbmouse.drv ::
-
+flp: vbmouse.flp oemsetup.inf 9xsetup.inf vbmouse.drv .SYMBOLIC
+ mcopy -i vbmouse.flp -o oemsetup.inf 9xsetup.inf vbmouse.drv ::