DPMILD32 issues (DOSX)
> - Seems DPMILD32 (and also DPMILD32.BIN, and even HDLD32.BIN) do
> unconditionally support 32-bit NE, while PE is optional
Yes.
> - - Is the 32-bit NE useful at all ? Maybe it could get kicked
> - - Seems that for a PE, DPMILD32 (if PE-enabled at all) first tries a NE
> (open file, read $40 bytes, test for MZ, read next EXE position at $3C,
> seek (and fail ) , read, compare against "NE", close file), and then
> retries with PE (reopen and repeat all the fun). This could be optimized at
> least
> - - NE code is hard-merged into main module, PE is separate - probably
> could be better also ...
NE support was first.
I'm not sure if it is worth to analyze DPMILD32 too deeply. There will be a significant change in next hx: a simplified PE loader stub - LOADPE.BIN, size just 1.25 kB. This stub will make DPMILD32.EXE obsolete for 32bit DOS applications which don't need dll support ... which are virtually all.
> - Spawning still doesn't work at all, see shot:
>
> Fails with CC386 as well as with FreeBASIC
>
> What's wrong here ?
DPMILDR=8 prevents DPMILD32 from trying to load another application, but it doesn't tell HDPMI32 to supply separate address spaces for clients. Therefore you either
a) must supply base relocations with your PE binary ("/FIXED:NO") or
b) set HDPMI=32 to tell HDPMI to supply separate address spaces.
---
MS-DOS forever!
Complete thread:
- DPMILD32 issues - DOS386, 19.02.2008, 03:06 (DOSX)
- DPMILD32 issues - Japheth, 19.02.2008, 04:25
- DPMILD32 issues - spawn trouble: solution found ??? - DOS386, 20.02.2008, 03:40
- DPMILD32 issues - spawn trouble: solution found ??? - Japheth, 20.02.2008, 12:13
- DPMILD32 issues - spawn trouble: solution found ??? - DOS386, 21.02.2008, 01:55
- DPMILD32 issues - spawn trouble: solution found ??? - Japheth, 21.02.2008, 05:32
- DPMILD32 issues - spawn trouble: solution found ??? - jaybur, 21.02.2008, 07:59
- DPMILD32 issues - spawn trouble: solution found ??? - Japheth, 21.02.2008, 10:47
- DPMILD32 issues - spawn trouble: solution found ??? - jaybur, 21.02.2008, 12:02
- DPMILD32 issues - spawn trouble: solution found ??? - Japheth, 21.02.2008, 12:42
- DPMILD32 issues - spawn trouble: solution found ??? - jaybur, 22.02.2008, 01:49
- DPMILD32 issues - spawn trouble: solution found ??? - Japheth, 21.02.2008, 12:42
- DPMILD32 issues - spawn trouble: solution found ??? - jaybur, 21.02.2008, 12:02
- DPMILD32 issues - spawn trouble: solution found ??? - Japheth, 21.02.2008, 10:47
- DPMILD32 issues - spawn trouble: solution found ??? - DOS386, 22.02.2008, 02:57
- DPMILD32 issues - spawn trouble: solution found ??? - Japheth, 22.02.2008, 07:18
- DPMILD32 issues - POASM - DOS386, 26.02.2008, 13:54
- The "million flies..." argument again? - Japheth, 26.02.2008, 16:32
- The "million flies..." argument again? - rr, 26.02.2008, 17:47
- The "million flies..." argument again? - Japheth, 27.02.2008, 07:38
- The "million flies..." argument again? - rr, 27.02.2008, 09:37
- The "million flies..." argument again? - Japheth, 27.02.2008, 07:38
- The "million flies + ONE elephant" argument again - DOS386, 01.03.2008, 02:29
- The "million flies + ONE elephant" argument again - Japheth, 01.03.2008, 05:58
- DOS386 commands! - Steve, 01.03.2008, 06:35
- The "million flies..." argument again? - rr, 26.02.2008, 17:47
- The "million flies..." argument again? - Japheth, 26.02.2008, 16:32
- [] issues (for GR keyboard users) - Rugxulo, 27.02.2008, 01:36
- [] issues - FASM riddle waiting to be solved - Japheth, 27.02.2008, 07:33
- [] issues - FASM riddle waiting to be solved - rr, 27.02.2008, 09:44
- [] issues - FASM riddle waiting to be solved - Japheth, 27.02.2008, 18:28
- [] issues - FASM riddle waiting to be solved - rr, 27.02.2008, 21:27
- [] issues - FASM riddle waiting to be solved - Rugxulo, 27.02.2008, 19:05
- [] issues - FASM riddle waiting to be solved - rr, 27.02.2008, 21:32
- [] issues - FASM riddle waiting to be solved - Rugxulo, 28.02.2008, 00:28
- [] issues - FASM riddle waiting to be solved - rr, 27.02.2008, 21:32
- [] issues - FASM riddle waiting to be solved - Japheth, 27.02.2008, 18:28
- [] issues - FASM riddle waiting to be solved - rr, 27.02.2008, 09:44
- [] issues - FASM riddle waiting to be solved - Japheth, 27.02.2008, 07:33
- DPMILD32 issues - POASM - DOS386, 26.02.2008, 13:54
- DPMILD32 issues - spawn trouble: solution found ??? - Japheth, 22.02.2008, 07:18
- DPMILD32 issues - spawn trouble: solution found ??? - jaybur, 21.02.2008, 07:59
- DPMILD32 issues - spawn trouble: solution found ??? - Japheth, 21.02.2008, 05:32
- DPMILD32 issues - spawn trouble: solution found ??? - DOS386, 21.02.2008, 01:55
- DPMILD32 issues - spawn trouble: solution found ??? - flox, 21.02.2008, 09:42
- DPMILD32 issues - spawn trouble: solution found ??? - Japheth, 20.02.2008, 12:13
- DPMILD32 issues - spawn trouble: solution found ??? - DOS386, 20.02.2008, 03:40
- DPMILD32 issues - Japheth, 19.02.2008, 04:25