| paulrichards 13.09.2011, 02:18 | FreeDOS and Protected Mode (Users) | 
| I'm having a bit of a problem with Protected Mode DOS. I have developed an application using Borland Pascal 7.01 + Turbo Vision. Initially I compiled for Real Mode (but running in an XP command prompt) and I started getting a stack overflow error. So I doubled the stack size with no change except I then got a heap overflow error. --- | 
| Rugxulo  Usono, 13.09.2011, 02:37 @ paulrichards | FreeDOS and Protected Mode | 
| > So am I wrong to believe that Protected Mode would give me more Heap space? | 
| paulrichards 13.09.2011, 02:53 @ Rugxulo | FreeDOS and Protected Mode | 
| Rugxulo:  --- | 
| Rugxulo  Usono, 13.09.2011, 05:53 @ paulrichards | FreeDOS and Protected Mode | 
| > >Also be sure (in DOS) to load HDPMI16.EXE first and see if that helps.  | 
| paulrichards 13.09.2011, 06:48 @ Rugxulo | FreeDOS and Protected Mode | 
| > Just load it manually before running the app (or use "-r" for resident use --- | 
| Japheth  Germany (South), 13.09.2011, 07:12 @ paulrichards | FreeDOS and Protected Mode | 
| > So am I wrong to believe that Protected Mode would give me more Heap space? --- | 
| paulrichards 13.09.2011, 08:24 @ Japheth | FreeDOS and Protected Mode | 
| > > So am I wrong to believe that Protected Mode would give me more Heap --- | 
| Japheth  Germany (South), 13.09.2011, 09:05 @ paulrichards | FreeDOS and Protected Mode | 
| > Japheth: I probably need to check and clarify with ex-Borlanders on the --- | 
| paulrichards 14.09.2011, 06:00 @ Japheth | FreeDOS and Protected Mode | 
| > > Japheth: I probably need to check and clarify with ex-Borlanders on the --- | 
| Japheth  Germany (South), 14.09.2011, 11:03 @ paulrichards | FreeDOS and Protected Mode | 
| > Japheth: no obvious answers from Borland/Delphi people. I have a TDUMP --- | 
| paulrichards 14.09.2011, 11:17 @ Japheth | FreeDOS and Protected Mode | 
| >  --- | 
| paulrichards 14.09.2011, 11:12 @ paulrichards | FreeDOS and Protected Mode | 
| OK, I think I've found the cause of the problem. I'm using a 3rd party B-Tree database system which has a heap setting to reserve space for its own use. I've experimented with this setting and minimized the B-Tree's use of the heap which resulted in avoiding an 'out of memory' error which I was receiving previously. --- | 
| marcov 13.09.2011, 13:35 @ Japheth | FreeDOS and Protected Mode | 
| > > So am I wrong to believe that Protected Mode would give me more Heap | 
| paulrichards 14.09.2011, 04:22 @ marcov | FreeDOS and Protected Mode | 
| > I don't know TP, but it might very well be that stack and (local) heap --- | 
| marcov 14.09.2011, 11:13 @ paulrichards | FreeDOS and Protected Mode | 
| > Marcov: it may well be that I have too much data. At this stage I'm  not | 
| paulrichards 14.09.2011, 11:42 @ marcov | FreeDOS and Protected Mode | 
| > You didn't reply what went wrong with FPC (e.g. was it runtime or while --- | 
| marcov 16.09.2011, 12:52 @ paulrichards | FreeDOS and Protected Mode | 
| > > You didn't reply what went wrong with FPC (e.g. was it runtime or while | 
| paulrichards 16.09.2011, 14:01 @ marcov | FreeDOS and Protected Mode | 
| > Yeah, those boards are not terribly popular. I looked it up, but it is --- | 
| marcov 16.09.2011, 17:41 @ paulrichards | FreeDOS and Protected Mode | 
| > > Partially that is because it is compatible enough to use BP's. | 
| DOS386 13.09.2011, 07:49 @ paulrichards | BP and Protected Mode | 
| > are there issues with FreeDOS and/or BP 7 with respect to Protected Mode? --- | 
| paulrichards 13.09.2011, 08:27 @ DOS386 | BP and Protected Mode | 
| > The issue is about BP's 16-bit DPMI only ... ever considered FreePASCAL ? --- | 
| marcov 13.09.2011, 09:29 @ paulrichards | BP and Protected Mode | 
| > > The issue is about BP's 16-bit DPMI only ... ever considered FreePASCAL | 
| Laaca  Czech republic, 13.09.2011, 20:19 @ paulrichards | FreeDOS and Protected Mode | 
| 1) It seems you do some invalid manipulations with pointers to variables. --- | 
| paulrichards 14.09.2011, 04:09 @ Laaca | FreeDOS and Protected Mode | 
| > 1) It seems you do some invalid manipulations with pointers to variables. --- | 
 Thread view
Thread view Board view
Board view
