VOGONS


Turbo Pascal :-)

Topic actions

First post, by lollisoft

User metadata
Rank Newbie
Rank
Newbie

Hi,

I have got running my old turbo pascal IDE, but I don't get
compiled my code with tpcx. I have to use tpcx because of
memory problems.

Trying to activate XMS and EMS doesn't helped. Also using
CWSDPMI did not help. DOSBox always exits when I start
tpcx.

Mem shows enough memory available (aprox 48 MB extended memory)

Does someone have got running tpcx and how ?

Thanks, Lothar

Reply 1 of 15, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Hm never tried tpcx (or is it tpx?), what tp version is that?

Reply 2 of 15, by lollisoft

User metadata
Rank Newbie
Rank
Newbie

I have TP 6.0.

I know from my old MS DOS, I used EMM386 or the like and
set them up in config.sys and autoexec.bat.

Would that help ?

Lothar

Reply 3 of 15, by TeaRex

User metadata
Rank Member
Rank
Member

No, wouldn't help. An EMM386 equivalent is activated automatically when you say ems=true in dosbox.conf. There isn't any config.sys in DOSBox unless you boot it from a real DOS disk image. And the autoexec.bat equivalent is also in dosbox.conf (at the end of that file), so a separate autoexec.bat file does not exist.

tearex

Reply 4 of 15, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

What dosbox version are you using, and on what OS?

Reply 5 of 15, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

Why do you want to use DOSBox to run TP? I think it should work using the NTVDM.

On the other hand, I have TP7 and it seems to work using DOSBox 0.72 too.

Intel i7 5960X
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
8 GB GeForce GTX 1070 G1 Gaming (Gigabyte)

Reply 6 of 15, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I think it should work using the NTVDM.

Which is nice especially for the linux guys, right 😉

Reply 7 of 15, by lollisoft

User metadata
Rank Newbie
Rank
Newbie

I have tried it on Mac OS X 10.3.9.
Using DOSBox 0.72.

Reply 8 of 15, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Not sure if this is relevant, but.... From my excellent 60 seconds guide:

MiniMax wrote:
PPS: Seems like the Mac OSX version of DOSBox 0.72 ships with a non-standard DOSBox Preferences file with Expanded Memory Specif […]
Show full quote

PPS: Seems like the Mac OSX version of DOSBox 0.72 ships with a non-standard DOSBox Preferences file with Expanded Memory Specification (EMS) set to false instead of ems=true. If you are going to create your own Preferences file, you might want to set ems=true. To check the EMS setting, use the command:

Z:\>config -get dos ems

To change it temporarily (without editing the Preferences files) use:

Z:\>config -set dos ems=false

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 9 of 15, by lollisoft

User metadata
Rank Newbie
Rank
Newbie

I have switched on both as a last test.
Also I have seen on a Virtual PC installation, that tpcx
uses QUEMM/EMS or the like.

I tried to start an extra command.com, but tpcx simply exits the DOSBox (no real crash).

Ok, it was only a try. I should use fpc that comes with freeDOS and give them a try. The tpcx on FreeDOS crashes
after the memory problems gone away 😀

Thank you.

Lothar

Reply 10 of 15, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

If you are going to try VPC, be aware that you can boot DOSBox with a real MS-DOS too. Perhaps it will work better that way.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 11 of 15, by lollisoft

User metadata
Rank Newbie
Rank
Newbie

I have found a solution with tpc and using link buffer at hard disk (/L). At least I get compiled my app 😀

Lothar

Reply 12 of 15, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Try core=normal for tpcx, or maybe use loadfix.

Reply 13 of 15, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
eL_PuSHeR wrote:

Why do you want to use DOSBox to run TP? I think it should work using the NTVDM.

Don't you need the patch to fix the Runtime Error 200 problem?

Reply 14 of 15, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

No, only turbo pascal apps using the crt unit would need a fix,
yet there's even a corrected crt.tpu out there.

Reply 15 of 15, by CodeJunkie

User metadata
Rank Newbie
Rank
Newbie

If it's any help I have Turbo Pascal 7.0 and it runs great. I have compiled code and everything in it