my gift to advanced testers lazarus / 68-Other OS ---------------------------------------------------------------------- mercurhyo · 2019-03-20 08:43 hi folks this is a little archive I made for fun on windows! but can be easily ported to linux! it contains - DOSBox-lfn (an emulated DOS working with long filenames enabled) - turbo pascal 7.1 installed (turbo7 folder) - FreePascal 3.04 preinstalled (fpdos folder) usage under windows OSes : - unzip the archive on a harddrive at root folder ("\") - go to the dosbox folder - run dosbox.exe --- edit dosbox.conf with notepad at your convenience to modify ram amount, cpu speed etc etc --- in dosbox at prompt - type "fp" to launch freepascal ide - type "turbo" to launch tp7 ide realmode ide - type "tpx" to launch tp7 protected mode ide - type "install" to reinstall freepascal --- I also chiped "cwsdpmi" protected mode driver and its "cwsparam" config tool --- note : unfortunately the help system from tp7 is french (i was looking for an english one) ... but who cares? lol download link for tp7andfp.zip (88011KB) Moderator update: link removed, please do not refer to illegal content from FPC forum. A French version had been made available for download by the copyright owner some time ago, you may be able to find it on their site and use it from there if necessary. to port on nix OSes - get DOSbox LFN enabled and install it - unzip "fpdos" and "turbo7" folders from the archive - edit "dosbox.conf"... at the end of the file to mount "fpdos" and "turbo7" as "C:" and "D:" dos drives respectively ---------------------------------------------------------------------- 440bx · 2019-03-20 09:19 Thank you ---------------------------------------------------------------------- mercurhyo · 2019-03-20 13:44 rem: I learnt something with that emulated installation. fpc ide works under 16bits dos protected mode and produces 16bits dos protected mode appz WHILE turbo pascal 7 tpx extended ide works under 32bits dos protected mode but produces dos real mode appz. I discovered that by following way dos commands => Quote- lh cwsdpmi.exe -p (* load 16bits dos protected mode driver, "-p" means stay resident TSR *) - fp (* runs FP IDE, all fine *) - tpx (* runs turbo pascal 7 ide, won't work complaining about 16bits protected mode  *) TPX says "16-bit DPMI unsupported. Loader error (0001): out of memory" DOS supports ONLY ONE dmpi driver at time ---------------------------------------------------------------------- Bart · 2019-03-20 14:28 Quote from: mercurhyo on March 20, 2019, 09:43:41 am- turbo pascal 7.1 installed (turbo7 folder) You cannot distribute that freely. It is still copyrighted material. Bart ---------------------------------------------------------------------- mercurhyo · 2019-03-20 14:30 that said... you can NOT speed benchmark the 2 compilers/environments. However you can compare pascal dialects compatibility on your owned old sources Have Fun! ---------------------------------------------------------------------- lucamar · 2019-03-20 14:47 Quote from: mercurhyo on March 20, 2019, 02:44:13 pmfpc ide works under 16bits dos protected mode and produces 16bits dos protected mode appz WHILE turbo pascal 7 tpx extended ide works under 32bits dos protected mode but produces dos real mode appz. It's just the contrary: CWSDPMI is a 32-bit extender, while Borland's extender is a 16-bit one (after all, Borland's had to work on a 80286). Quote from: mercurhyoTPX says "16-bit DPMI unsupported. Loader error (0001): out of memory" What that message is saying is that CWSDMPI doesn't suppot 16-bit DPMI, which is what TPX needs. Quote from: mercurhyoDOS supports ONLY ONE dmpi driver at time It's very tricky, but it can be made to support more than one ... provided they can be made to not interfere one with another---for example, one can use RTMRES (to pre-load Borland's extender) but launch an FPC program. Of course, it's not recommended; but it can be done. ---------------------------------------------------------------------- mercurhyo · 2019-03-20 14:53 @lucamar plz launch my dosbox install and follow what i did, you'll see i am right tp7.1 protmode is 32 bit they had to deal with win95  its NOT tp5.5 where i would have to agree with you ---------------------------------------------------------------------- lucamar · 2019-03-20 15:08 Quote from: mercurhyo on March 20, 2019, 03:53:18 pm@lucamar plz launch my dosbox install and follow what i did, you'll see i am right Don't need to, I have my own DOSBox install with quite a lot more than just TP7 and FPC, incuding Turbo Pascal from 3.02 to the full BP 7.01 Quote from: mercurhyotp7.1 protmode is 32 bit they had to work with win95  its NOT tp5.5 where i have to agree with you No, it's not. Check the documentation. By the time Win95 came about Borland was already on Delphi 2 and Turbo Pascal had been superceeded by Delphi quite a few years ago. BTW, the first TP with DMPI-extended compiler/IDE was TP6.0, not TP5.5 But the point, really, is that the message you're seeing is TPX telling you it can't initialize its 16-bit extender. Why? Because a 32-bit one, CWSDPMI, is already loaded. I've seen that kind of message before, while trying to load BP from the shell of a DJGPP program. ---------------------------------------------------------------------- Bart · 2019-03-20 15:12 Quote from: mercurhyo on March 20, 2019, 04:02:39 pmYES I PLAN TO MAKE BIG MONEY WITH DINOSAURWARE! ... AND PROMOTING JULIUS CAESAR... WHAT A JOKE! LOL Nowhere did I imply that you wanted to make money of it. Offering copyrighted software is, AFAIK, illegal. And you do this on the official forum of FreePascal/Lazarus. That could make us liable. Quote from: mercurhyo on March 20, 2019, 04:02:39 pmdear @Bart, I met so many fools along my life... do you feel you deserve a medal at that department??? bHAHAHA That is uncalled for. Bart ---------------------------------------------------------------------- ASBzone · 2019-03-20 15:51 Quote from: mercurhyo on March 20, 2019, 04:02:39 pmYES I PLAN TO MAKE BIG MONEY WITH DINOSAURWARE! ... Copyright violations do not primarily hinge on whether or not there is economic gain for you...  IOW, it doesn't cease to be a copyright violation just because you don't plan, intend or manage to make money. ---------------------------------------------------------------------- Tomas Hajny · 2019-03-20 16:54 As correctly pointed out by others, download of illegally distributed copyrighted material should not be promoted on FPC forum (on top of that, cross-posting to multiple fora should not be done either regardless of the particular content). I'm going to lock this topic now; please, start a new topic for potential continuation of discussion of running multiple DOS extenders in parallel, etc.