DPMILD32 issues - spawn trouble: solution found ??? (DOSX)
> 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.
Very good news Also HDLDPE32.BIN with HDPMI32 built-in ?
This is very good for new DOS development, but won't really make DPMILD32 obsolete: for Win32 emulation, one still needs the DLL hell Thus, it might be "worth" to analyze DPMILD32 "too deeply" nevertheless ... and the questions of spawning, NE usefulness, and protection from TripleFault'ing remain open ... plus the long mode
> DPMILDR=8 prevents DPMILD32 from trying to load another application, but
> it doesn't tell HDPMI32 to supply separate address spaces for clients.
> a) must supply base relocations with your PE binary ("/FIXED:NO")
Not useful for existing Win32 stuff, since this pretty never has fixups
> or
> b) set HDPMI=32 to tell HDPMI to supply separate address spaces.
Works
In other forum you mentioned DPMILDR=8 only, so I missed the HDPMI=32
But still, it might be a good idea to have spawning working without those hacks ...
1. DPMILDR=8 : but why not suppress this hack, check for address space & fixups, and load into same if possible, and into a new one otherwise ?
2. HDPMI=32 : OK, making this the default would hog low memory But I have an other idea:
In Win32 there is true multitaxing, you can have 1'000'000 tasks, every of them has its private throne at $400000, and the space gets switched on every task switch (?), and the DLL hell ... no idea how to share it then
Anyway, in DOS there is no true multitaxing, just spawning, A spawns B, thus A is suspended while B is running, when B has done, A resumes ... and the obvious (or did I miss something ?) solution arises: when A spawns B, just allocate a memory block with size of A at highest free / some high and free address, move A there, free the famous throne at $400000, load B into there, run B, and when B has done just move A back and resume it
---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***
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