diff options
| author | Javier <dev.git@javispedro.com> | 2026-11-30 12:53:58 +0100 |
|---|---|---|
| committer | Javier <dev.git@javispedro.com> | 2026-11-30 12:53:58 +0100 |
| commit | 9f46f39f48d3acf4806473b331b654111a6e2084 (patch) | |
| tree | 047142a32fda5820ff3f00851903afe33ec3359c /mousew2.lnk | |
| parent | 2938a67c400930d2d5e6f23bb8e13b1ec3b99000 (diff) | |
| download | vbados-9f46f39f48d3acf4806473b331b654111a6e2084.tar.gz vbados-9f46f39f48d3acf4806473b331b654111a6e2084.zip | |
mousew16: found a way to use the same binary in both 2.x and >3.x
What was missing is to use mark.exe (same as the MEMORY option in wlink)
to mark the 2.0 executable as being "protected mode compatible".
Thanks to Pietrek's Windows Internals book and their description of
what LoadModule is doing.
Diffstat (limited to 'mousew2.lnk')
| -rw-r--r-- | mousew2.lnk | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/mousew2.lnk b/mousew2.lnk deleted file mode 100644 index c0bc8b6..0000000 --- a/mousew2.lnk +++ /dev/null @@ -1,19 +0,0 @@ -# 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 |
