re: Turbo C++3.0 for DOS
Eric Auer <[email protected]> Tue, 12 Nov 2002 04:27:17 +0100 (MET)
| Newsgroups | gmane.os.freedos.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, by "unstable", I meant that after a while of using the BC++3.0 IDE (hm, BC? TC? Whatever :-)), which is a DPMI application, I get errors in Dosemu. It can often handle them and just kills the IDE, but sometimes the whole simulated DOS PC crashes. The difference is that George uses a real PC which takes longer to reboot :-). I think this could be memory allocation and/or stack problems with the FreeDOS kernel and its MS compatibility or something like that, as the DPMI/EMS/XMS drivers are not the FreeDOS but the DOSEMU 1.0.2 ones. I never tried installing the IDE on plain DOS, but this is likely to cause even more memory management problems (with fdxms/himem/...), I guess. Standard suggestion: Add all kinds of EMS/XMS/UMB drivers to your config.sys, all with DEVICE?= or DEVICEHIGH?= for loading, and play the multiple-choice game until you find a working config. Anybody who owns xC++3.0 feel free to do that! PS: Alain said, FreeDOS XMS driver + (optionally, I guess) UMBPCI + EMS40 gives you EMS and protected mode at the same time in FreeDOS. This is correct, because EMS40 "translates EMS requests to XMS". Without UMBPCI you would have to have your page frame inside the 0..640k area with this method. Further, translated XMS is far slower than real EMS. But the point is that EMS40 does not lock DOS in a v86 task, so protected mode programs do not need VCPI :-)). PPS: I will not hook the timer int in LBAcache. The age is not meant in absolute clock cycles but in "times the cache gets asked for something", which I can do without the timer interrupt (IRQ). Eric