From 8e9df5624d56a91eaa71a1ceac4932b7c5c5ee48 Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 29 Nov 2026 18:01:42 +0100 Subject: w16mouse: wmake vbmouse2.drv now builds the windows2.x version --- mousew2.lnk | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 mousew2.lnk (limited to 'mousew2.lnk') 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 -- cgit v1.2.3