aboutsummaryrefslogtreecommitdiff
path: root/mousew2.lnk
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2026-11-29 18:01:42 +0100
committerJavier <dev.git@javispedro.com>2026-11-29 18:01:42 +0100
commit8e9df5624d56a91eaa71a1ceac4932b7c5c5ee48 (patch)
tree706626bebee8e67ddc3d500dd36c99ff1220140f /mousew2.lnk
parent25777cb272ed89e2dc7e4f7680540407417bb2bb (diff)
downloadvbados-8e9df5624d56a91eaa71a1ceac4932b7c5c5ee48.tar.gz
vbados-8e9df5624d56a91eaa71a1ceac4932b7c5c5ee48.zip
w16mouse: wmake vbmouse2.drv now builds the windows2.x version
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