Mail Archives: djgpp/1993/10/05/04:33:40
Quoting Skip Coombe,
> I liked Morten Welinde's suggestion since setver has caused me
> some problems in the past. I found the string "MSDOS Version 5.00"
> in EXE2BIN.EXE and changed it to "MSDOS Version 6.00", but this had
> no effect (still got "Incorrect version" message). Can anyone tell
> me what the version checking code looks like?
Grab your debugger and search for code like
mov ah,30h; int 21h; cmp ax,0005h; jne ...
where ax contains the DOS version.
Change the number or better the jump.
As a recommendable alternative, get exe2com
(e.g.: simtel:/msdos/asmutl/execom14.zip)
which replaces exe2bin and is far superior.
Finally, if you link with Borland's tlink /t
you need nothing at all.
Christian
-=-----
Christian Burger, Dept.of Phys.Chemistry, University of Marburg, Germany
e-mail: burger AT mailer DOT uni-marburg DOT de, (Phone|FAX): +49-6421-28-57(89|78)
- Raw text -