Recent

Author Topic: my gift to advanced testers  (Read 7579 times)

mercurhyo

  • Sr. Member
  • ****
  • Posts: 253
my gift to advanced testers
« on: March 20, 2019, 09:43:41 am »
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
« Last Edit: March 20, 2019, 05:44:10 pm by Tomas Hajny »
DEO MERCHVRIO - Linux, Win10pro - Ryzen9XT 24threads + Geforce Rtx 3080SUPRIM
god of financial gain, commerce, eloquence (and thus poetry), messages, communication (including divination), travelers, boundaries, luck, trickery and thieves; he also serves as the guide of souls to the underworld

440bx

  • Hero Member
  • *****
  • Posts: 4740
Re: my gift to advanced testers
« Reply #1 on: March 20, 2019, 10:19:29 am »
Thank you :)
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

mercurhyo

  • Sr. Member
  • ****
  • Posts: 253
Re: my gift to advanced testers
« Reply #2 on: March 20, 2019, 02:44:13 pm »
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
« Last Edit: March 20, 2019, 02:48:55 pm by mercurhyo »
DEO MERCHVRIO - Linux, Win10pro - Ryzen9XT 24threads + Geforce Rtx 3080SUPRIM
god of financial gain, commerce, eloquence (and thus poetry), messages, communication (including divination), travelers, boundaries, luck, trickery and thieves; he also serves as the guide of souls to the underworld

Bart

  • Hero Member
  • *****
  • Posts: 5469
    • Bart en Mariska's Webstek
Re: my gift to advanced testers
« Reply #3 on: March 20, 2019, 03:28:53 pm »
- turbo pascal 7.1 installed (turbo7 folder)

You cannot distribute that freely. It is still copyrighted material.

Bart

mercurhyo

  • Sr. Member
  • ****
  • Posts: 253
Re: my gift to advanced testers
« Reply #4 on: March 20, 2019, 03:30:50 pm »
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!
DEO MERCHVRIO - Linux, Win10pro - Ryzen9XT 24threads + Geforce Rtx 3080SUPRIM
god of financial gain, commerce, eloquence (and thus poetry), messages, communication (including divination), travelers, boundaries, luck, trickery and thieves; he also serves as the guide of souls to the underworld

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: my gift to advanced testers
« Reply #5 on: March 20, 2019, 03:47:43 pm »
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.

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: mercurhyo
TPX 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: mercurhyo
DOS 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. :)
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

mercurhyo

  • Sr. Member
  • ****
  • Posts: 253
Re: my gift to advanced testers
« Reply #6 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

tp7.1 protmode is 32 bit they had to deal with win95  ;) its NOT tp5.5 where i would have to agree with you
« Last Edit: March 20, 2019, 03:57:02 pm by mercurhyo »
DEO MERCHVRIO - Linux, Win10pro - Ryzen9XT 24threads + Geforce Rtx 3080SUPRIM
god of financial gain, commerce, eloquence (and thus poetry), messages, communication (including divination), travelers, boundaries, luck, trickery and thieves; he also serves as the guide of souls to the underworld

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: my gift to advanced testers
« Reply #7 on: March 20, 2019, 04:08:47 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: mercurhyo
tp7.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.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

Bart

  • Hero Member
  • *****
  • Posts: 5469
    • Bart en Mariska's Webstek
Re: my gift to advanced testers
« Reply #8 on: March 20, 2019, 04:12:42 pm »
YES 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.

dear @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

  • Hero Member
  • *****
  • Posts: 714
  • Automation leads to relaxation...
    • Free Console Utilities for Windows (and a few for Linux) from BrainWaveCC
Re: my gift to advanced testers
« Reply #9 on: March 20, 2019, 04:51:17 pm »
YES 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.
-ASB: https://www.BrainWaveCC.com/

Lazarus v3.5.0.0 (2216170cde) / FPC v3.2.3-1387-g3795cadbc8
(Windows 64-bit install w/Win32 and Linux/Arm cross-compiles via FpcUpDeluxe on both instances)

My Systems: Windows 10/11 Pro x64 (Current)

Tomas Hajny

  • Moderator
  • New Member
  • *****
  • Posts: 45
Re: my gift to advanced testers
« Reply #10 on: March 20, 2019, 05:54:10 pm »
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.

 

TinyPortal © 2005-2018