[Nasm-users] VxDs

A. Wik awik32 at gmail.com
Thu Sep 3 15:26:43 PDT 2020


Hi all,

I'm trying to build a Windows (3.x/95/98) VxD file.  I was unable to
find any example VxDs written in NASM.

Assembly works fine. The full source code is available on request.

>nasm -fobj testvxd.asm

I get a warning upon linking; the .def file is also available on request.

>link386 testvxd.obj,testvxd.386,,,testvxd.def
Microsoft (R) Linear-Executable Linker  Version 1.00.058
Copyright (C) Microsoft Corp 1988-1989.  All rights reserved.

testvxd.obj(testvxd.asm) : warning L4005: 32-bit fixup in 16-bit
record ignored at 18 in segment _LDATA frm seg _LTEXT, tgt seg _LTEXT,
tgt offset 0

The addhdr utility (from the Win3.1 DDK) reports an error:
>addhdr testvxd.386
Microsoft (R) Add Windows/386 Device Driver information  Version 1.01
Copyright (C) Microsoft Corp 1989.  All rights reserved.

ERROR: illegal format for driver file

Any ideas?

Regards,
Albert Wik.


More information about the Nasm-users mailing list