aboutsummaryrefslogtreecommitdiff
path: root/mousew2.lnk
diff options
context:
space:
mode:
Diffstat (limited to 'mousew2.lnk')
-rw-r--r--mousew2.lnk19
1 files changed, 19 insertions, 0 deletions
diff --git a/mousew2.lnk b/mousew2.lnk
new file mode 100644
index 0000000..c0bc8b6
--- /dev/null
+++ b/mousew2.lnk
@@ -0,0 +1,19 @@
+# Additional link options for vbmouse2.drv, the version for Windows 2.x
+
+option map=mousew2.map
+option description 'VBMouse int33 absolute mouse driver for 2.x'
+
+# Sadly the 3.x/95 NE loader requires an min Windows version >=3.0,
+# while the 1.x/2.x loader requires a min Windows version <=2.0
+# so even though the code is the same, no idea how to provide
+# a single exec that satisfies both OSes.
+
+# Set min windows version required to 1.0
+option version=1.0
+
+# The 1.x/2.x loader in SETUP.EXE is also way more picky than the regular one
+# Fortunately, we have the source for SETUP.EXE, so we know what it needs:
+# Paragraph alignment, and for the NE header to start at exactly 0x400,
+# which means we need a custom stub exe that is exactly 1K long.
+option alignment=16
+option stub=dosstub.exe