Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

MSDOS 4.0 (Announce)

posted by kerravon E-mail, Sydney, Free World South, 29.04.2025, 08:14

And now I would like to try running an NE executable.

I took makefile.wcd and changed "Form dos" to "Form windows"
to get an NE executable created.

But DOS4MT still runs the DOS stub.

Sniffing about here:

http://www.retroarchive.org/swag/WIN-OS2/0025.PAS.html

I tried various zaps:

zap pdptest.exe 0xa6 0x03

zap pdptest.exe 0x70 0x4d
zap pdptest.exe 0x71 0x5a

So I have something like this:

D:\devel\pdos\pdpclib>hexdump pdptest.exe 0 500
000000 4D5A8000 01000000 04000000 FFFF0000 MZ..............
000010 B8000000 00000000 40000000 00000000 ........@.......
000020 00000000 00000000 00000000 00000000 ................
000030 00000000 00000000 00000000 70000000 ............p...
000040 0E1FBA0E 00B409CD 21B8014C CD215468 ........!..L.!Th
000050 69732069 73206120 57696E64 6F777320 is is a Windows
000060 65786563 75746162 6C650D0A 24000000 executable..$...
000070 4D5A0501 5C000200 00000000 02020200 MZ..\...........
000080 00000020 00000100 00000200 02000000 ... ............
000090 0F004000 50005000 5B005B00 CE000000 ..@.P.P.[.[.....
0000A0 00000100 00000300 00000000 00000003 ................
0000B0 6F002877 400D2877 103CF609 410D0071 o.(w@.(w.<..A..q
0000C0 07706470 74657374 00000000 00000B70 .pdptest.......p
0000D0 64707465 73742E65 78650000 00009090 dptest.exe......
0000E0 9090068B C4B104D3 E88CD303 C383C002 ................
0000F0 8CDB2BC3 8BD8B44A CD21BAFF FF8EDA8C ..+....J.!......


And other variations:

D:\>fc /b pdptest.exe pdptest2.exe
Comparing files pdptest.exe and PDPTEST2.EXE
000000A6: 03 02

D:\>fc /b pdptest.exe pdptest3.exe
Comparing files pdptest.exe and PDPTEST3.EXE
00000070: 4E 4D
00000071: 45 5A


But this DOS4MT isn't accepting any of them, and just runs the stub.

Anyone know what's happening? ie how do I create an NE executable that is acceptable to DOS4MT?

I have a theory that this is a very old version of DOS4MT, and NE support was added later, and that version is not available so that's why it isn't working.

Thanks. Paul.

 

Complete thread:

Back to the forum
Board view  Mix view
22552 Postings in 2097 Threads, 401 registered users, 49 users online (2 registered, 47 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum