FreeDOS and Protected Mode (Users)
> So am I wrong to believe that Protected Mode would give me more Heap space?
I wouldn't think so, but perhaps certain things (static strings??) are still limited to a single 64 kb segment. Dunno.
> If I'm not then my app has other 'issues', obviously!
Most likely, but it could be a bug (in FreeDOS or BP7, as neither is perfect and known bugs do exist).
> I did a search on Google for this error and came up with a discussion of
> the same Error 0002 from about 6 years ago on the FreeDOS discussion group
> and which also mentioned BP 7. So the supplementary question is: are there
> issues with FreeDOS and/or BP 7 with respect to Protected Mode?
I wouldn't think so. But perhaps you had other conflicting software (try a cleaner boot without a lot of TSRs or drivers or memory managers). XP's NTVDM is pretty good re: 16-bit pmode (DPMI 0.9), but perhaps it couldn't handle whatever (rare but happens sometimes). But since you tested in raw DOS also, I'm skeptical. I assume you weren't shelling out from a 32-bit DPMI app or anything goofy like that, as obviously that's unsupported.
Try creating as small a testcase (source snippet) as possible and try again. Try to isolate the problem. Also be sure (in DOS) to load HDPMI16.EXE first and see if that helps. (Otherwise, sadly I can't help, I don't have BP7.)
Complete thread:
- FreeDOS and Protected Mode - paulrichards, 13.09.2011, 02:18 (Users)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- FreeDOS and Protected Mode - Rugxulo, 13.09.2011, 02:37
- FreeDOS and Protected Mode - paulrichards, 13.09.2011, 02:53
- FreeDOS and Protected Mode - Rugxulo, 13.09.2011, 05:53
- FreeDOS and Protected Mode - paulrichards, 13.09.2011, 06:48
- FreeDOS and Protected Mode - Rugxulo, 13.09.2011, 05:53
- FreeDOS and Protected Mode - paulrichards, 13.09.2011, 02:53
- FreeDOS and Protected Mode - Japheth, 13.09.2011, 07:12
- FreeDOS and Protected Mode - paulrichards, 13.09.2011, 08:24
- FreeDOS and Protected Mode - Japheth, 13.09.2011, 09:05
- FreeDOS and Protected Mode - paulrichards, 14.09.2011, 06:00
- FreeDOS and Protected Mode - Japheth, 14.09.2011, 11:03
- FreeDOS and Protected Mode - paulrichards, 14.09.2011, 11:17
- FreeDOS and Protected Mode - paulrichards, 14.09.2011, 11:12
- FreeDOS and Protected Mode - Japheth, 14.09.2011, 11:03
- FreeDOS and Protected Mode - paulrichards, 14.09.2011, 06:00
- FreeDOS and Protected Mode - Japheth, 13.09.2011, 09:05
- FreeDOS and Protected Mode - marcov, 13.09.2011, 13:35
- FreeDOS and Protected Mode - paulrichards, 14.09.2011, 04:22
- FreeDOS and Protected Mode - marcov, 14.09.2011, 11:13
- FreeDOS and Protected Mode - paulrichards, 14.09.2011, 11:42
- FreeDOS and Protected Mode - marcov, 16.09.2011, 12:52
- FreeDOS and Protected Mode - paulrichards, 16.09.2011, 14:01
- FreeDOS and Protected Mode - marcov, 16.09.2011, 17:41
- FreeDOS and Protected Mode - paulrichards, 16.09.2011, 14:01
- FreeDOS and Protected Mode - marcov, 16.09.2011, 12:52
- FreeDOS and Protected Mode - paulrichards, 14.09.2011, 11:42
- FreeDOS and Protected Mode - marcov, 14.09.2011, 11:13
- FreeDOS and Protected Mode - paulrichards, 14.09.2011, 04:22
- FreeDOS and Protected Mode - paulrichards, 13.09.2011, 08:24
- BP and Protected Mode - DOS386, 13.09.2011, 07:49
- BP and Protected Mode - paulrichards, 13.09.2011, 08:27
- BP and Protected Mode - marcov, 13.09.2011, 09:29
- BP and Protected Mode - paulrichards, 13.09.2011, 08:27
- FreeDOS and Protected Mode - Laaca, 13.09.2011, 20:19
- FreeDOS and Protected Mode - paulrichards, 14.09.2011, 04:09
- FreeDOS and Protected Mode - Rugxulo, 13.09.2011, 02:37
Mix view