BTW, there are more 'fishy' things than Rich already pointed out. The DOS stub is complete bogus (Load image size, memory requirement, initial SS:SP, CS:IP). Better remove it completely instead of using invalid values.
In the LX header:
I have received a new version of pdld and produced a new pdptest.exe that should have addressed all issues except:
"The Auto DS object is only for 16-bit compatibility and is not used by 32-bit modules according to the LX specification, so I do not think it has to be set."
And ArcaOS no longer crashes.
However, even with the addresses set normally:
D:\devel\pdos\pdpclib>cvs diff
cvs diff: Diffing .
Index: makefile.sos
===================================================================
RCS file: \cvsroot/pdos/pdpclib/makefile.sos,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 makefile.sos
10,11c10,11
< # wasm -zcm -q -DOS220 ..\src\needpdos.asm
< # wlink File needpdos.obj Name needpdos.exe Form dos Option quiet,dosseg
---
> wasm -zcm -q -DOS220 ..\src\needpdos.asm
> wlink File needpdos.obj Name needpdos.exe Form dos Option quiet,dosseg
23c23
< pdld -s --oformat lx -o pdptest.exe os2strt.obj pdptest.obj pdpos2.lib os2.lib
---
> pdld --stub=needpdos.exe --image-base 0x10000 --section-alignment 0x10000 -Map map.txt -s --o
format lx -o pdptest.exe os2strt.obj pdptest.obj pdpos2.lib os2.lib
D:\devel\pdos\pdpclib>
0001 00010000 00005fad 00000001 00000006 EXECUTABLE, READABLE, 32-bit
0002 00020000 000006d8 00000007 00000001 READABLE, WRITEABLE, 32-bit
0003 00030000 000067b0 00000007 00000000 READABLE, WRITEABLE, 32-bit
0004 00040000 00008000 00000008 00000000 READABLE, WRITEABLE, 32-bit
I get:
[Z:\]pdptest
SYS0188: The operating system cannot run Z:\PDPTEST.EXE.
[Z:\]
Are you (or anyone else) able to see what still remains?
I'll produce and upload a new pdos.zip in the coming hours with the latest pdld.exe, but I don't think it is useful to anyone until it actually works (on ArcaOS - it still works on PDOS/386).
Thanks. Paul.