Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

A programming language is low level when its programs require attention to the irrelevant.


devel / comp.os.cpm / Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

SubjectAuthor
* STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80plo...@gmail.com
`* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Nils M Holm
 `* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80plo...@gmail.com
  `* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Андрей Никитин
   +- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80plo...@gmail.com
   `* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80plo...@gmail.com
    `* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Андрей Никитин
     +* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Plo
     |`* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Plo
     | `* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80fridtjof.ma...@gmail.com
     |  `* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Plo
     |   `* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Plo
     |    `* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80fridtjof.ma...@gmail.com
     |     `* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Plo
     |      `* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Plo
     |       +* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80ladislau szilagyi
     |       |`- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Plo
     |       `* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80fridtjof.ma...@gmail.com
     |        `* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Mark Lougheed
     |         `* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Plo
     |          `* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80ladislau szilagyi
     |           `* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Plo
     |            +* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Josef Möllers
     |            |+- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Plo
     |            |+- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Plo
     |            |+- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Plo
     |            |+- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Mark Lougheed
     |            |+- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Plo
     |            |+- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Plo
     |            |+- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Plo
     |            |+- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Kurt Pieper
     |            |+- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Kurt Pieper
     |            |`- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Plo
     |            +- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80ladislau szilagyi
     |            +- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80fridtjof.ma...@gmail.com
     |            +- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80fridtjof.ma...@gmail.com
     |            +- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80fridtjof.ma...@gmail.com
     |            +- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Андрей Никитин
     |            +- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80fridtjof.ma...@gmail.com
     |            +- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80fridtjof.ma...@gmail.com
     |            +- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80fridtjof.ma...@gmail.com
     |            +- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80fridtjof.ma...@gmail.com
     |            `- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80fridtjof.ma...@gmail.com
     `* Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80fridtjof.ma...@gmail.com
      `- Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80Андрей Никитин

Pages:12
STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4088&group=comp.os.cpm#4088

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ae9:efd6:0:b0:742:986b:df9f with SMTP id d205-20020ae9efd6000000b00742986bdf9fmr3102484qkg.9.1678148139940;
Mon, 06 Mar 2023 16:15:39 -0800 (PST)
X-Received: by 2002:a05:6808:8cb:b0:384:33df:4dfc with SMTP id
k11-20020a05680808cb00b0038433df4dfcmr4162317oij.11.1678148139671; Mon, 06
Mar 2023 16:15:39 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Mon, 6 Mar 2023 16:15:39 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=181.126.168.116; posting-account=RMlmTQoAAACPlMwglZiJPNUMIMJUuH19
NNTP-Posting-Host: 181.126.168.116
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
Subject: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: plor...@gmail.com (plo...@gmail.com)
Injection-Date: Tue, 07 Mar 2023 00:15:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: plo...@gmail.com - Tue, 7 Mar 2023 00:15 UTC

Hi all, I installed the Vdos emulator on my pc (Windows 10 pro 64b) and the Z80EMU emulator inside Vdos to have a CP/M-80 environment. It all works fine. I then created a directory C:\PROSPERO in Z80EMU and copied all the Prospero PRO Fortran v. compiler files. zz 1.2 (cp/m-80 version). I tried compiling various .FOR sources and everything worked fine. I then created a simple COMPLEX.FOR program where I defined 3 variables A, B, Z of type complex and then I made the simple sum Z=A+B and then printed the result. When I launch the PROFOR compiler COMPLEX.FOR appears after Pass 1 without errors, Pass2 which gives me "Error C at address 1D5F" Continue Y/N?. This happens only if in the program there are arithmetic operations (+,-,*,/) between complex variables, if in the program operations of addition, subtraction, multiplication or division are not performed between complex variables, but all the other mathematical operations and trigronometric functions on complex variables everything compiles fine. The error appears only if there are basic arithmetic operations. Any help and suggestion is welcome from all.
PROGRAM COMPLE
IMPLICIT REAL (A-H,O-Z)
COMPLEX A,B,Z
Z = (0.0, 0.0)
A = (3.5, 3.5)
B = (4.0, 5.0)
Z = B + A
WRITE(1,10) A, B, Z
10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
PAUSE
STOP
END

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<k6ohpvFkd7rU1@mid.individual.net>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4089&group=comp.os.cpm#4089

 copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: nmh...@sraddha.local (Nils M Holm)
Newsgroups: comp.os.cpm
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
Date: 7 Mar 2023 10:26:08 GMT
Organization: TARFU
Lines: 8
Message-ID: <k6ohpvFkd7rU1@mid.individual.net>
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
X-Trace: individual.net 3tvKyMmLmlD4OcahxucEgwASEW3agsBx8BXjqZfxKyY9qirAaK
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:VZhbAeOPkY6otRkNRHkLaQeLAMA=
User-Agent: tin/2.6.1-20211226 ("Convalmore") (FreeBSD/12.4-RELEASE (amd64))
 by: Nils M Holm - Tue, 7 Mar 2023 10:26 UTC

plo...@gmail.com <plore90@gmail.com> wrote:
> 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)

It is probably unrelated, but I see two 2H with only one
subsequent blank here.

--
Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4092&group=comp.os.cpm#4092

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:aed:2789:0:b0:3bf:bf0c:8dcd with SMTP id a9-20020aed2789000000b003bfbf0c8dcdmr4483063qtd.8.1678267400827;
Wed, 08 Mar 2023 01:23:20 -0800 (PST)
X-Received: by 2002:aca:191a:0:b0:384:893:a91d with SMTP id
l26-20020aca191a000000b003840893a91dmr5093801oii.8.1678267400377; Wed, 08 Mar
2023 01:23:20 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Wed, 8 Mar 2023 01:23:20 -0800 (PST)
In-Reply-To: <k6ohpvFkd7rU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=181.126.168.116; posting-account=RMlmTQoAAACPlMwglZiJPNUMIMJUuH19
NNTP-Posting-Host: 181.126.168.116
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com> <k6ohpvFkd7rU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: plor...@gmail.com (plo...@gmail.com)
Injection-Date: Wed, 08 Mar 2023 09:23:20 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: plo...@gmail.com - Wed, 8 Mar 2023 09:23 UTC

Il giorno martedì 7 marzo 2023 alle 07:26:10 UTC-3 Nils M Holm ha scritto:
> plo...@gmail.com <plo...@gmail.com> wrote:
> > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> It is probably unrelated, but I see two 2H with only one
> subsequent blank here.
>
> --
> Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org
Thanks Nils,
But that's just my transcription error of the source. The strange thing is that in the package there is an executable file FCHECK.com which is used to check all the files in the package and when I run it, all the files are OK! that is, intact... It is very strange.

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4095&group=comp.os.cpm#4095

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:36c5:b0:742:9899:98fb with SMTP id cz5-20020a05620a36c500b00742989998fbmr1423834qkb.7.1678563553103;
Sat, 11 Mar 2023 11:39:13 -0800 (PST)
X-Received: by 2002:a05:6808:659:b0:384:a13:952a with SMTP id
z25-20020a056808065900b003840a13952amr10000713oih.11.1678563552785; Sat, 11
Mar 2023 11:39:12 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sat, 11 Mar 2023 11:39:12 -0800 (PST)
In-Reply-To: <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=77.37.209.254; posting-account=g8ksUwoAAAC0mgCsQ1LJvKj1k2HoKsbw
NNTP-Posting-Host: 77.37.209.254
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: nikitinp...@gmail.com (Андрей Никитин)
Injection-Date: Sat, 11 Mar 2023 19:39:13 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2268
 by: Андрей Ник - Sat, 11 Mar 2023 19:39 UTC

среда, 8 марта 2023 г. в 12:23:21 UTC+3, plo...@gmail.com:
> Il giorno martedì 7 marzo 2023 alle 07:26:10 UTC-3 Nils M Holm ha scritto:
> > plo...@gmail.com <plo...@gmail.com> wrote:
> > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > It is probably unrelated, but I see two 2H with only one
> > subsequent blank here.
> >
> > --
> > Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org
> Thanks Nils,
> But that's just my transcription error of the source. The strange thing is that in the package there is an executable file FCHECK.com which is used to check all the files in the package and when I run it, all the files are OK! that is, intact... It is very strange.

Is it possible to download this compiler from the Internet. If possible please send me a link to where I can do it.

Best regards
Andrey Nikitin

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<1c252585-c0f1-4c21-82ac-5ca8c594f064n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4097&group=comp.os.cpm#4097

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a7b:c2a2:0:b0:3eb:5824:f0ea with SMTP id c2-20020a7bc2a2000000b003eb5824f0eamr4777298wmk.3.1678839725480;
Tue, 14 Mar 2023 17:22:05 -0700 (PDT)
X-Received: by 2002:a05:6871:4cc8:b0:177:abbb:f222 with SMTP id
ya8-20020a0568714cc800b00177abbbf222mr4018708oab.10.1678839724831; Tue, 14
Mar 2023 17:22:04 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Tue, 14 Mar 2023 17:22:04 -0700 (PDT)
In-Reply-To: <4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=181.126.168.116; posting-account=RMlmTQoAAACPlMwglZiJPNUMIMJUuH19
NNTP-Posting-Host: 181.126.168.116
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1c252585-c0f1-4c21-82ac-5ca8c594f064n@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: plor...@gmail.com (plo...@gmail.com)
Injection-Date: Wed, 15 Mar 2023 00:22:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: plo...@gmail.com - Wed, 15 Mar 2023 00:22 UTC

Il giorno sabato 11 marzo 2023 alle 16:39:13 UTC-3 Андрей Никитин ha scritto:
> среда, 8 марта 2023 г. в 12:23:21 UTC+3, plo...@gmail.com:
> > Il giorno martedì 7 marzo 2023 alle 07:26:10 UTC-3 Nils M Holm ha scritto:
> > > plo...@gmail.com <plo...@gmail.com> wrote:
> > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > It is probably unrelated, but I see two 2H with only one
> > > subsequent blank here.
> > >
> > > --
> > > Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org
> > Thanks Nils,
> > But that's just my transcription error of the source. The strange thing is that in the package there is an executable file FCHECK.com which is used to check all the files in the package and when I run it, all the files are OK! that is, intact... It is very strange.
> Is it possible to download this compiler from the Internet. If possible please send me a link to where I can do it.
>
> Best regards
> Andrey Nikitin
https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=sharing

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4098&group=comp.os.cpm#4098

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:adf:f548:0:b0:2ce:a072:a17f with SMTP id j8-20020adff548000000b002cea072a17fmr141518wrp.5.1678839832400;
Tue, 14 Mar 2023 17:23:52 -0700 (PDT)
X-Received: by 2002:a54:4786:0:b0:386:9c6c:eb6 with SMTP id
o6-20020a544786000000b003869c6c0eb6mr285601oic.2.1678839831848; Tue, 14 Mar
2023 17:23:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Tue, 14 Mar 2023 17:23:51 -0700 (PDT)
In-Reply-To: <4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=181.126.168.116; posting-account=RMlmTQoAAACPlMwglZiJPNUMIMJUuH19
NNTP-Posting-Host: 181.126.168.116
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: plor...@gmail.com (plo...@gmail.com)
Injection-Date: Wed, 15 Mar 2023 00:23:52 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: plo...@gmail.com - Wed, 15 Mar 2023 00:23 UTC

Il giorno sabato 11 marzo 2023 alle 16:39:13 UTC-3 Андрей Никитин ha scritto:
> среда, 8 марта 2023 г. в 12:23:21 UTC+3, plo...@gmail.com:
> > Il giorno martedì 7 marzo 2023 alle 07:26:10 UTC-3 Nils M Holm ha scritto:
> > > plo...@gmail.com <plo...@gmail.com> wrote:
> > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > It is probably unrelated, but I see two 2H with only one
> > > subsequent blank here.
> > >
> > > --
> > > Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org
> > Thanks Nils,
> > But that's just my transcription error of the source. The strange thing is that in the package there is an executable file FCHECK.com which is used to check all the files in the package and when I run it, all the files are OK! that is, intact... It is very strange.
> Is it possible to download this compiler from the Internet. If possible please send me a link to where I can do it.
>
> Best regards
> Andrey Nikitin
https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=sharing

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4099&group=comp.os.cpm#4099

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:adf:e445:0:b0:2ce:92af:43eb with SMTP id t5-20020adfe445000000b002ce92af43ebmr572233wrm.0.1678885975627;
Wed, 15 Mar 2023 06:12:55 -0700 (PDT)
X-Received: by 2002:a05:6830:1614:b0:688:cf52:6e14 with SMTP id
g20-20020a056830161400b00688cf526e14mr13774099otr.0.1678885974998; Wed, 15
Mar 2023 06:12:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Wed, 15 Mar 2023 06:12:54 -0700 (PDT)
In-Reply-To: <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=77.37.209.254; posting-account=g8ksUwoAAAC0mgCsQ1LJvKj1k2HoKsbw
NNTP-Posting-Host: 77.37.209.254
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com> <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: nikitinp...@gmail.com (Андрей Никитин)
Injection-Date: Wed, 15 Mar 2023 13:12:55 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Андрей Ник - Wed, 15 Mar 2023 13:12 UTC

среда, 15 марта 2023 г. в 03:23:54 UTC+3, plo...@gmail.com:
> Il giorno sabato 11 marzo 2023 alle 16:39:13 UTC-3 Андрей Никитин ha scritto:
> > среда, 8 марта 2023 г. в 12:23:21 UTC+3, plo...@gmail.com:
> > > Il giorno martedì 7 marzo 2023 alle 07:26:10 UTC-3 Nils M Holm ha scritto:
> > > > plo...@gmail.com <plo...@gmail.com> wrote:
> > > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > > It is probably unrelated, but I see two 2H with only one
> > > > subsequent blank here.
> > > >
> > > > --
> > > > Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org
> > > Thanks Nils,
> > > But that's just my transcription error of the source. The strange thing is that in the package there is an executable file FCHECK.com which is used to check all the files in the package and when I run it, all the files are OK! that is, intact... It is very strange.
> > Is it possible to download this compiler from the Internet. If possible please send me a link to where I can do it.
> >
> > Best regards
> > Andrey Nikitin
> https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=sharing

Thanks for the link to the compiler.
This compiler is less common among CP/M users and almost unavailable. It is a pity that there is no user manual for it.
I was able to compile the test programs and get object files, but I could not get executable files out of them. When I run the linker and specify an object file name and then a library name, the program crashes. Maybe you have solved this problem in some other way, and generate an executable file. I will be happy to get any information on this matter.

regards,
Andrey

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<a0bcefdc-1673-4b7c-96b3-b8ef40230af1n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4100&group=comp.os.cpm#4100

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:182a:b0:3c0:1010:8d39 with SMTP id t42-20020a05622a182a00b003c010108d39mr912262qtc.2.1678965760553;
Thu, 16 Mar 2023 04:22:40 -0700 (PDT)
X-Received: by 2002:a05:6870:808c:b0:17a:bae5:fa7e with SMTP id
q12-20020a056870808c00b0017abae5fa7emr3439526oab.10.1678965760236; Thu, 16
Mar 2023 04:22:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!3.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 16 Mar 2023 04:22:39 -0700 (PDT)
In-Reply-To: <b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=181.126.168.116; posting-account=RMlmTQoAAACPlMwglZiJPNUMIMJUuH19
NNTP-Posting-Host: 181.126.168.116
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com> <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
<b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a0bcefdc-1673-4b7c-96b3-b8ef40230af1n@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: plor...@gmail.com (Plo)
Injection-Date: Thu, 16 Mar 2023 11:22:40 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 44
 by: Plo - Thu, 16 Mar 2023 11:22 UTC

Il giorno mercoledì 15 marzo 2023 alle 10:12:57 UTC-3 Андрей Никитин ha scritto:
> среда, 15 марта 2023 г. в 03:23:54 UTC+3, plo...@gmail.com:
> > Il giorno sabato 11 marzo 2023 alle 16:39:13 UTC-3 Андрей Никитин ha scritto:
> > > среда, 8 марта 2023 г. в 12:23:21 UTC+3, plo...@gmail.com:
> > > > Il giorno martedì 7 marzo 2023 alle 07:26:10 UTC-3 Nils M Holm ha scritto:
> > > > > plo...@gmail.com <plo...@gmail.com> wrote:
> > > > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > > > It is probably unrelated, but I see two 2H with only one
> > > > > subsequent blank here.
> > > > >
> > > > > --
> > > > > Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org
> > > > Thanks Nils,
> > > > But that's just my transcription error of the source. The strange thing is that in the package there is an executable file FCHECK.com which is used to check all the files in the package and when I run it, all the files are OK! that is, intact... It is very strange.
> > > Is it possible to download this compiler from the Internet. If possible please send me a link to where I can do it.
> > >
> > > Best regards
> > > Andrey Nikitin
> > https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=sharing
> Thanks for the link to the compiler.
> This compiler is less common among CP/M users and almost unavailable. It is a pity that there is no user manual for it.
> I was able to compile the test programs and get object files, but I could not get executable files out of them. When I run the linker and specify an object file name and then a library name, the program crashes. Maybe you have solved this problem in some other way, and generate an executable file. I will be happy to get any information on this matter.
>
> regards,
> Andrey
Hi Andrey,
I want to verify that the files I uploaded in the folder are correct...then I'll let you know...

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<9133490c-1f87-4a17-938d-514ba2a4f873n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4101&group=comp.os.cpm#4101

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:7006:0:b0:3c0:2b0b:84c with SMTP id x6-20020ac87006000000b003c02b0b084cmr1018082qtm.6.1678977164124;
Thu, 16 Mar 2023 07:32:44 -0700 (PDT)
X-Received: by 2002:a05:6870:f21a:b0:177:b694:724c with SMTP id
t26-20020a056870f21a00b00177b694724cmr6448215oao.1.1678977163761; Thu, 16 Mar
2023 07:32:43 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 16 Mar 2023 07:32:43 -0700 (PDT)
In-Reply-To: <a0bcefdc-1673-4b7c-96b3-b8ef40230af1n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=181.126.168.116; posting-account=RMlmTQoAAACPlMwglZiJPNUMIMJUuH19
NNTP-Posting-Host: 181.126.168.116
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com> <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
<b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com> <a0bcefdc-1673-4b7c-96b3-b8ef40230af1n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9133490c-1f87-4a17-938d-514ba2a4f873n@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: plor...@gmail.com (Plo)
Injection-Date: Thu, 16 Mar 2023 14:32:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4498
 by: Plo - Thu, 16 Mar 2023 14:32 UTC

Il giorno giovedì 16 marzo 2023 alle 08:22:41 UTC-3 Plo ha scritto:
> Il giorno mercoledì 15 marzo 2023 alle 10:12:57 UTC-3 Андрей Никитин ha scritto:
> > среда, 15 марта 2023 г. в 03:23:54 UTC+3, plo...@gmail.com:
> > > Il giorno sabato 11 marzo 2023 alle 16:39:13 UTC-3 Андрей Никитин ha scritto:
> > > > среда, 8 марта 2023 г. в 12:23:21 UTC+3, plo...@gmail.com:
> > > > > Il giorno martedì 7 marzo 2023 alle 07:26:10 UTC-3 Nils M Holm ha scritto:
> > > > > > plo...@gmail.com <plo...@gmail.com> wrote:
> > > > > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > > > > It is probably unrelated, but I see two 2H with only one
> > > > > > subsequent blank here.
> > > > > >
> > > > > > --
> > > > > > Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org
> > > > > Thanks Nils,
> > > > > But that's just my transcription error of the source. The strange thing is that in the package there is an executable file FCHECK.com which is used to check all the files in the package and when I run it, all the files are OK! that is, intact... It is very strange.
> > > > Is it possible to download this compiler from the Internet. If possible please send me a link to where I can do it.
> > > >
> > > > Best regards
> > > > Andrey Nikitin
> > > https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=sharing
> > Thanks for the link to the compiler.
> > This compiler is less common among CP/M users and almost unavailable. It is a pity that there is no user manual for it.
> > I was able to compile the test programs and get object files, but I could not get executable files out of them. When I run the linker and specify an object file name and then a library name, the program crashes. Maybe you have solved this problem in some other way, and generate an executable file. I will be happy to get any information on this matter.
> >
> > regards,
> > Andrey
> Hi Andrey,
> I want to verify that the files I uploaded in the folder are correct...then I'll let you know...
I have inserted the ProsFor.rar file which contains the complete compiler and linker files. To compile:>PROFOR and follow compiler prompts. For the LINKER :>Prolink and follow the linker requests (xxx1.rel,xxx2.rel....,FORLIB..rel) The COMPLEX.FOR source generates an incomprehensible error during the PASS 2 of the compiler and if you always confirm to go to the end of the compilation and then do the LINK you will notice that when you run the complex.com executable which sums A+B=C and prints , it doesn't calculate the sum... very strange...

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<729d8fa4-0948-4849-ab73-2d249629061bn@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4103&group=comp.os.cpm#4103

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a37:aa03:0:b0:745:92d6:d1a0 with SMTP id t3-20020a37aa03000000b0074592d6d1a0mr23821qke.7.1678986411506;
Thu, 16 Mar 2023 10:06:51 -0700 (PDT)
X-Received: by 2002:a05:6870:1186:b0:177:a0bc:98a9 with SMTP id
6-20020a056870118600b00177a0bc98a9mr7686763oau.9.1678986410882; Thu, 16 Mar
2023 10:06:50 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 16 Mar 2023 10:06:50 -0700 (PDT)
In-Reply-To: <b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:f2c0:92d6:4400:82a5:f7a1:fa8a:2fd1;
posting-account=KOfC_woAAAC0YBGf-3r2aV5g2Aifd9jO
NNTP-Posting-Host: 2607:f2c0:92d6:4400:82a5:f7a1:fa8a:2fd1
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com> <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
<b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <729d8fa4-0948-4849-ab73-2d249629061bn@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: fridtjof...@gmail.com (fridtjof.ma...@gmail.com)
Injection-Date: Thu, 16 Mar 2023 17:06:51 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 7968
 by: fridtjof.ma...@gmail - Thu, 16 Mar 2023 17:06 UTC

On Wednesday, March 15, 2023 at 9:12:57 AM UTC-4, Андрей Никитин wrote:
> среда, 15 марта 2023 г. в 03:23:54 UTC+3, plo...@gmail.com:
> > Il giorno sabato 11 marzo 2023 alle 16:39:13 UTC-3 Андрей Никитин ha scritto:
> > > среда, 8 марта 2023 г. в 12:23:21 UTC+3, plo...@gmail.com:
> > > > Il giorno martedì 7 marzo 2023 alle 07:26:10 UTC-3 Nils M Holm ha scritto:
> > > > > plo...@gmail.com <plo...@gmail.com> wrote:
> > > > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > > > It is probably unrelated, but I see two 2H with only one
> > > > > subsequent blank here.
> > > > >
> > > > > --
> > > > > Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org
> > > > Thanks Nils,
> > > > But that's just my transcription error of the source. The strange thing is that in the package there is an executable file FCHECK.com which is used to check all the files in the package and when I run it, all the files are OK! that is, intact... It is very strange.
> > > Is it possible to download this compiler from the Internet. If possible please send me a link to where I can do it.
> > >
> > > Best regards
> > > Andrey Nikitin
> > https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=sharing
> Thanks for the link to the compiler.
> This compiler is less common among CP/M users and almost unavailable. It is a pity that there is no user manual for it.
> I was able to compile the test programs and get object files, but I could not get executable files out of them. When I run the linker and specify an object file name and then a library name, the program crashes. Maybe you have solved this problem in some other way, and generate an executable file. I will be happy to get any information on this matter.
>
> regards,
> Andrey
Andrey

Played with this: (on CP/M emulator -- haven't tried on "real" CP/M 2.2 yet):

: fred@llana prospero $; cpm profor

Pro Fortran Compiler - Version zz 1.2
Copyright (C) 1983 Prospero Software
Serial No: 63

Source filename - maze.for

Source listing ? (Y/N/.) Y
Map ? (Y/N/.) Y
Compact object code ? (Y/N/.) N
Restricted-width integer arithmetic ? (Y/N/.) N
Maintain source line numbers at run time ? (Y/N/.) Y
Range checks on subscripts ? (Y/N/.) N
Range checks on assignments ? (Y/N/.) N
Hold before .REL output ? (Y/N/.) Y
Accept only ANSI Standard Fortran ? (Y/N/.) N
Console output to .LOG file ? (Y/N/.) Y

NOTE: looks like just running the profor.com without command line arguments prompts for arguments.

Pass 1

Unit MAZE
17726 bytes free at end

Pass 2

Holding for REL - press any key to continue

Unit: Code: Data:

MAZE 3372 1385

Total source lines: 226

23378 bytes free at end

NOTE: Two compile passes! Yeah us!

: fred@llana prospero $; dir
copytx.for forlib.rel maze.for maze.prn profor2.com prolib.com
fcheck.com g1lib.mac maze.log maze.rel profor.com prolink.com
fconfig.com g2lib.mac maze.map prime.for profor.err read.me

NOTE: and we see maze.log, maze.map maze.prn and maze.rel have been generated. If we display maze.log:

: fred@llana prospero $; cat maze.log

Options: LMNHG

Pass 1

Unit MAZE
17726 bytes free at end

Pass 2

Holding for REL - press any key to continue

Unit: Code: Data:

MAZE 3372 1385

Total source lines: 226

23378 bytes free at end
�: fred@llana prospero $;

NOTE: We see that the compiler likely supports LMNHG switches.
Most likely one letter for each question... by running 10 times we could find out which switch is for each question!

NOTE: Now, we link. The compiler supports MAC files, so Microsoft M80, and comes with FORLIB.REL (not the same as Microsoft FORLIB.REL). So, I decided to try to link with L80:
: fred@llana prospero $; l80

Link-80 3.44 09-Dec-81 Copyright (c) 1981 Microsoft

*maze
Data 0103 1398 < 4757>

-$BMUL 095B -$DENT 06AC -$DEXI 06D5
-$DIN 06DE -$DSLIN 1394 -$EFMT 1383
-$EIRF 08BE -$EIWF 1386 -$ERFI1 08C5
-$ETRF 08C8 -$ETWF 1389 -$EUNIT 137C
-$EWFR 1339 -$GCGT 0E61 -$GINIT 06DB
-$HBNG 0BF7 -$HBPS 069A -$HBZR 12A9
-$HINVS 136D -$HST4T 12F1 -$LDEC 0B8E
-$LINC 1027 -$RFLT 06C6 -$RMUL 06C9
-$TRUNC 06CE -$WWMUL 1295 -RANDOM 06BA
27 Undefined Global(s)
48837 Bytes Free

*forlib/s

*maze/n/e

Data 0103 3248 <12613>

39888 Bytes Free
[06D7 3248 50]

NOTE: And we end up with MAZE.COM!!! Yeah us!

NOTE: And, the COM file is runnable:

: fred@llana prospero $; cpm maze

THIS PROGRAM WILL PRINT OUT A DIFFERENT MAZE EVERY TIME IT
IS RUN AND GUARANTEES ONLY ONE PATH THROUGH. YOU CAN
CHOOSE THE DIMENSIONS OF THE MAZE, I.E. THE NUMBER OF
SQUARES LONG AND THE NUMBER OF SQUARES WIDE.
A 25 BY 25 MAZE IS THE MAXIMUM, AND ANY DIMENSIONS UP TO
THESE LIMITS ARE O.K.

LENGTH: 10
....SNIP...

Notes: The PRN (listing) file correlates line number with object code address -- useful if
we want the code productions. The MAP file produces a variable map - name/kind/type/offset
These could be very useful if debugging.

Questions:

1 - Can Prospero be linked with Microsoft FORLIB.REL? If this is done, what is the result?
2 - Related to (1), Microsoft never supported COMPLEX, could this be the root of the problem?
3 - I do not see names for compiler aid functions that make sense (from a Microsoft perspective.
This leads me to think that Microsoft FORLIB.REL and Prospero FORLIB.REL are not compatible.
4 - From file PROFOR.ERR, we see:

223Illegal type mixture with COMPLEX
224COMPLEX expression in arithmetic IF
225COMPLEX operand in relational expression
234DATA: illegal occurrence of COMPLEX type
236Assignment: illegal use of COMPLEX type
320Error in COMPLEX constant

So,COMPLEX support appears somewhat special (error 223). *When/If* I get time, I will scratch further
(Note that I am not bothering with PROLINK or PROLIB)

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<a2bfc97f-263d-4f0b-bfe6-63c4c06df4a5n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4104&group=comp.os.cpm#4104

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:6152:0:b0:3d3:2437:ddb1 with SMTP id d18-20020ac86152000000b003d32437ddb1mr1065418qtm.7.1678990164565;
Thu, 16 Mar 2023 11:09:24 -0700 (PDT)
X-Received: by 2002:a05:6830:1494:b0:69e:24a7:e042 with SMTP id
s20-20020a056830149400b0069e24a7e042mr107996otq.3.1678990164161; Thu, 16 Mar
2023 11:09:24 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer02.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 16 Mar 2023 11:09:23 -0700 (PDT)
In-Reply-To: <729d8fa4-0948-4849-ab73-2d249629061bn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=77.37.209.254; posting-account=g8ksUwoAAAC0mgCsQ1LJvKj1k2HoKsbw
NNTP-Posting-Host: 77.37.209.254
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com> <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
<b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com> <729d8fa4-0948-4849-ab73-2d249629061bn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a2bfc97f-263d-4f0b-bfe6-63c4c06df4a5n@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: nikitinp...@gmail.com (Андрей Никитин)
Injection-Date: Thu, 16 Mar 2023 18:09:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 14976
 by: Андрей Ник - Thu, 16 Mar 2023 18:09 UTC

четверг, 16 марта 2023 г. в 20:06:52 UTC+3, fridtjof.ma...@gmail.com:
> On Wednesday, March 15, 2023 at 9:12:57 AM UTC-4, Андрей Никитин wrote:
> > среда, 15 марта 2023 г. в 03:23:54 UTC+3, plo...@gmail.com:
> > > Il giorno sabato 11 marzo 2023 alle 16:39:13 UTC-3 Андрей Никитин ha scritto:
> > > > среда, 8 марта 2023 г. в 12:23:21 UTC+3, plo...@gmail.com:
> > > > > Il giorno martedì 7 marzo 2023 alle 07:26:10 UTC-3 Nils M Holm ha scritto:
> > > > > > plo...@gmail.com <plo...@gmail.com> wrote:
> > > > > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > > > > It is probably unrelated, but I see two 2H with only one
> > > > > > subsequent blank here.
> > > > > >
> > > > > > --
> > > > > > Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org
> > > > > Thanks Nils,
> > > > > But that's just my transcription error of the source. The strange thing is that in the package there is an executable file FCHECK.com which is used to check all the files in the package and when I run it, all the files are OK! that is, intact... It is very strange.
> > > > Is it possible to download this compiler from the Internet. If possible please send me a link to where I can do it.
> > > >
> > > > Best regards
> > > > Andrey Nikitin
> > > https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=sharing
> > Thanks for the link to the compiler.
> > This compiler is less common among CP/M users and almost unavailable. It is a pity that there is no user manual for it.
> > I was able to compile the test programs and get object files, but I could not get executable files out of them. When I run the linker and specify an object file name and then a library name, the program crashes. Maybe you have solved this problem in some other way, and generate an executable file. I will be happy to get any information on this matter.
> >
> > regards,
> > Andrey
> Andrey
>
> Played with this: (on CP/M emulator -- haven't tried on "real" CP/M 2.2 yet):
>
> : fred@llana prospero $; cpm profor
>
> Pro Fortran Compiler - Version zz 1.2
> Copyright (C) 1983 Prospero Software
> Serial No: 63
>
> Source filename - maze.for
>
> Source listing ? (Y/N/.) Y
> Map ? (Y/N/.) Y
> Compact object code ? (Y/N/.) N
> Restricted-width integer arithmetic ? (Y/N/.) N
> Maintain source line numbers at run time ? (Y/N/.) Y
> Range checks on subscripts ? (Y/N/.) N
> Range checks on assignments ? (Y/N/.) N
> Hold before .REL output ? (Y/N/.) Y
> Accept only ANSI Standard Fortran ? (Y/N/.) N
> Console output to .LOG file ? (Y/N/.) Y
>
> NOTE: looks like just running the profor.com without command line arguments prompts for arguments.
>
> Pass 1
>
> Unit MAZE
> 17726 bytes free at end
>
> Pass 2
>
> Holding for REL - press any key to continue
>
>
> Unit: Code: Data:
>
> MAZE 3372 1385
>
> Total source lines: 226
>
> 23378 bytes free at end
>
> NOTE: Two compile passes! Yeah us!
>
> : fred@llana prospero $; dir
> copytx.for forlib.rel maze.for maze.prn profor2.com prolib.com
> fcheck.com g1lib.mac maze.log maze.rel profor.com prolink.com
> fconfig.com g2lib.mac maze.map prime.for profor.err read.me
>
> NOTE: and we see maze.log, maze.map maze.prn and maze.rel have been generated. If we display maze.log:
>
> : fred@llana prospero $; cat maze.log
>
> Options: LMNHG
>
> Pass 1
>
> Unit MAZE
> 17726 bytes free at end
>
> Pass 2
>
> Holding for REL - press any key to continue
>
> Unit: Code: Data:
>
> MAZE 3372 1385
>
> Total source lines: 226
>
> 23378 bytes free at end
> �: fred@llana prospero $;
>
> NOTE: We see that the compiler likely supports LMNHG switches.
> Most likely one letter for each question... by running 10 times we could find out which switch is for each question!
>
> NOTE: Now, we link. The compiler supports MAC files, so Microsoft M80, and comes with FORLIB.REL (not the same as Microsoft FORLIB.REL). So, I decided to try to link with L80:
> : fred@llana prospero $; l80
>
> Link-80 3.44 09-Dec-81 Copyright (c) 1981 Microsoft
>
> *maze
> Data 0103 1398 < 4757>
>
> -$BMUL 095B -$DENT 06AC -$DEXI 06D5
> -$DIN 06DE -$DSLIN 1394 -$EFMT 1383
> -$EIRF 08BE -$EIWF 1386 -$ERFI1 08C5
> -$ETRF 08C8 -$ETWF 1389 -$EUNIT 137C
> -$EWFR 1339 -$GCGT 0E61 -$GINIT 06DB
> -$HBNG 0BF7 -$HBPS 069A -$HBZR 12A9
> -$HINVS 136D -$HST4T 12F1 -$LDEC 0B8E
> -$LINC 1027 -$RFLT 06C6 -$RMUL 06C9
> -$TRUNC 06CE -$WWMUL 1295 -RANDOM 06BA
> 27 Undefined Global(s)
> 48837 Bytes Free
>
> *forlib/s
>
> *maze/n/e
>
> Data 0103 3248 <12613>
>
> 39888 Bytes Free
> [06D7 3248 50]
>
> NOTE: And we end up with MAZE.COM!!! Yeah us!
>
> NOTE: And, the COM file is runnable:
>
> : fred@llana prospero $; cpm maze
>
>
> THIS PROGRAM WILL PRINT OUT A DIFFERENT MAZE EVERY TIME IT
> IS RUN AND GUARANTEES ONLY ONE PATH THROUGH. YOU CAN
> CHOOSE THE DIMENSIONS OF THE MAZE, I.E. THE NUMBER OF
> SQUARES LONG AND THE NUMBER OF SQUARES WIDE.
> A 25 BY 25 MAZE IS THE MAXIMUM, AND ANY DIMENSIONS UP TO
> THESE LIMITS ARE O.K.
>
> LENGTH: 10
> ...SNIP...
>
> Notes: The PRN (listing) file correlates line number with object code address -- useful if
> we want the code productions. The MAP file produces a variable map - name/kind/type/offset
> These could be very useful if debugging.
>
> Questions:
>
> 1 - Can Prospero be linked with Microsoft FORLIB.REL? If this is done, what is the result?
> 2 - Related to (1), Microsoft never supported COMPLEX, could this be the root of the problem?
> 3 - I do not see names for compiler aid functions that make sense (from a Microsoft perspective.
> This leads me to think that Microsoft FORLIB.REL and Prospero FORLIB.REL are not compatible.
> 4 - From file PROFOR.ERR, we see:
>
> 223Illegal type mixture with COMPLEX
> 224COMPLEX expression in arithmetic IF
> 225COMPLEX operand in relational expression
> 234DATA: illegal occurrence of COMPLEX type
> 236Assignment: illegal use of COMPLEX type
> 320Error in COMPLEX constant
>
> So,COMPLEX support appears somewhat special (error 223). *When/If* I get time, I will scratch further
> (Note that I am not bothering with PROLINK or PROLIB)

I tried to run Pro Fortran Compiler - Version zz 1.2 under several CP/M emulators:
1.cpm
2.iz-cpm
3.zxcc
4. tnylpo
5. RunCPM

Initially, I decided to check the correctness of the distribution files from the point of view of the FCHECK.COM program.
Only two emulators (iz-cpm and zxcc) were able to execute the program and both reported that all files were checked successfully.

Previously, I have successfully used these emulators to run programs for CP / M and did not encounter obvious errors in their work. From the results, I concluded that Pro Fortran Compiler programs are more picky about the runtime environment and, if they work, then only under the control of some of the emulators.

I tested further with iz-cpm. It emulated the CP/M environment better than others, and there were fewer errors when running programs to compile source codes.

In the absence of a user manual, it is difficult to find the necessary command line options expected by the compiler. Compilation takes place in several passes. The PROFOR.COM program reads the source file and starts processing it, creating intermediate files as output. This is the first pass. After completion of this stage, the program of the second pass PROFOR2.COM is automatically called, which reads the intermediate files created on the first pass and tries to create an object file from them with the code of the program to be compiled. The extension of the object file is .REL, and the file name corresponds to the name of the file with the source code of the program being compiled. At this point in my research, I've only tried to compile one Fortran file. Moreover, a very simple file that the compiler has to deal with. I used the source code of the COMPLEX.FOR program in which I changed the type of variables A, B and Z from COMPLEX to REAL, assigned values to variables A and B, and adjusted the FORMAT statement with label 10 to display variables of type REAL.
After that, I started compiling the modified file using the following command:

bash-3.2$ iz-cpm profor.com


Click here to read the complete article
Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<1eacd6ce-2d88-4f60-9a02-ac993c7b59d2n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4105&group=comp.os.cpm#4105

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:2044:b0:745:6dae:e5bf with SMTP id d4-20020a05620a204400b007456daee5bfmr2412002qka.15.1678990959916;
Thu, 16 Mar 2023 11:22:39 -0700 (PDT)
X-Received: by 2002:a9d:806:0:b0:698:f988:7c30 with SMTP id
6-20020a9d0806000000b00698f9887c30mr2785513oty.2.1678990959506; Thu, 16 Mar
2023 11:22:39 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 16 Mar 2023 11:22:39 -0700 (PDT)
In-Reply-To: <9133490c-1f87-4a17-938d-514ba2a4f873n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:f2c0:92d6:4400:82a5:f7a1:fa8a:2fd1;
posting-account=KOfC_woAAAC0YBGf-3r2aV5g2Aifd9jO
NNTP-Posting-Host: 2607:f2c0:92d6:4400:82a5:f7a1:fa8a:2fd1
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com> <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
<b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com> <a0bcefdc-1673-4b7c-96b3-b8ef40230af1n@googlegroups.com>
<9133490c-1f87-4a17-938d-514ba2a4f873n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1eacd6ce-2d88-4f60-9a02-ac993c7b59d2n@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: fridtjof...@gmail.com (fridtjof.ma...@gmail.com)
Injection-Date: Thu, 16 Mar 2023 18:22:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: fridtjof.ma...@gmail - Thu, 16 Mar 2023 18:22 UTC

On Thursday, March 16, 2023 at 10:32:44 AM UTC-4, Plo wrote:
> Il giorno giovedì 16 marzo 2023 alle 08:22:41 UTC-3 Plo ha scritto:
> > Il giorno mercoledì 15 marzo 2023 alle 10:12:57 UTC-3 Андрей Никитин ha scritto:
> > > среда, 15 марта 2023 г. в 03:23:54 UTC+3, plo...@gmail.com:
> > > > Il giorno sabato 11 marzo 2023 alle 16:39:13 UTC-3 Андрей Никитин ha scritto:
> > > > > среда, 8 марта 2023 г. в 12:23:21 UTC+3, plo...@gmail.com:
> > > > > > Il giorno martedì 7 marzo 2023 alle 07:26:10 UTC-3 Nils M Holm ha scritto:
> > > > > > > plo...@gmail.com <plo...@gmail.com> wrote:
> > > > > > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > > > > > It is probably unrelated, but I see two 2H with only one
> > > > > > > subsequent blank here.
> > > > > > >
> > > > > > > --
> > > > > > > Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org
> > > > > > Thanks Nils,
> > > > > > But that's just my transcription error of the source. The strange thing is that in the package there is an executable file FCHECK.com which is used to check all the files in the package and when I run it, all the files are OK! that is, intact... It is very strange.
> > > > > Is it possible to download this compiler from the Internet. If possible please send me a link to where I can do it.
> > > > >
> > > > > Best regards
> > > > > Andrey Nikitin
> > > > https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=sharing
> > > Thanks for the link to the compiler.
> > > This compiler is less common among CP/M users and almost unavailable. It is a pity that there is no user manual for it.
> > > I was able to compile the test programs and get object files, but I could not get executable files out of them. When I run the linker and specify an object file name and then a library name, the program crashes. Maybe you have solved this problem in some other way, and generate an executable file. I will be happy to get any information on this matter.
> > >
> > > regards,
> > > Andrey
> > Hi Andrey,
> > I want to verify that the files I uploaded in the folder are correct...then I'll let you know...
> I have inserted the ProsFor.rar file which contains the complete compiler and linker files. To compile:>PROFOR and follow compiler prompts. For the LINKER :>Prolink and follow the linker requests (xxx1.rel,xxx2.rel....,FORLIB.rel) The COMPLEX.FOR source generates an incomprehensible error during the PASS 2 of the compiler and if you always confirm to go to the end of the compilation and then do the LINK you will notice that when you run the complex.com executable which sums A+B=C and prints , it doesn't calculate the sum... very strange...

I confirm your error:

Error C at address 1D5F
Continue ? (Y/N) y

FCHECK seems to like the compiler parts
: fred@llana prospero $; cpm fcheck

PROFOR2.COM - checks OK

PROFOR.ERR - checks OK

FORLIB.REL - checks OK

FCONFIG.COM - checks OK

G1LIB.MAC - checks OK

G2LIB.MAC - checks OK

PRIME.FOR - checks OK

COPYTX.FOR - checks OK

MAZE.FOR - checks OK

Is it possible that COMPLEX support is simply "not there"?

: fred@llana prospero $; cat complex.map
Pro Fortran Compiler - Version zz 1.2

Map of: complex.FOR

****************
* Unit COMPLE *
****************

Name Kind Type Area Offset

A Variable Comp Data 0008 (8)
B Variable Comp Data 0010 (16)
Z Variable Comp Data 0000 (0)

Sizes:-

Data 0018 (24)

So, the MAP file indicates that complex is there... 8 bytes is correct. I thought that maybe the IMPLICIT was interfering, and that's not it. Nor is it the variable layout - commenting out Z = makes A 0, B 8 and Z 16 (offset). Same error.

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<aa2d1889-9304-4942-a95f-8cb79cf775b9n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4106&group=comp.os.cpm#4106

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:22d5:b0:745:bd3d:51df with SMTP id o21-20020a05620a22d500b00745bd3d51dfmr122489qki.3.1678994381168;
Thu, 16 Mar 2023 12:19:41 -0700 (PDT)
X-Received: by 2002:a9d:4b8f:0:b0:696:f275:a60d with SMTP id
k15-20020a9d4b8f000000b00696f275a60dmr3594179otf.7.1678994380913; Thu, 16 Mar
2023 12:19:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 16 Mar 2023 12:19:40 -0700 (PDT)
In-Reply-To: <1eacd6ce-2d88-4f60-9a02-ac993c7b59d2n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=181.126.168.116; posting-account=RMlmTQoAAACPlMwglZiJPNUMIMJUuH19
NNTP-Posting-Host: 181.126.168.116
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com> <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
<b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com> <a0bcefdc-1673-4b7c-96b3-b8ef40230af1n@googlegroups.com>
<9133490c-1f87-4a17-938d-514ba2a4f873n@googlegroups.com> <1eacd6ce-2d88-4f60-9a02-ac993c7b59d2n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <aa2d1889-9304-4942-a95f-8cb79cf775b9n@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: plor...@gmail.com (Plo)
Injection-Date: Thu, 16 Mar 2023 19:19:41 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 7092
 by: Plo - Thu, 16 Mar 2023 19:19 UTC

Il giorno giovedì 16 marzo 2023 alle 15:22:40 UTC-3 fridtjof.ma...@gmail.com ha scritto:
> On Thursday, March 16, 2023 at 10:32:44 AM UTC-4, Plo wrote:
> > Il giorno giovedì 16 marzo 2023 alle 08:22:41 UTC-3 Plo ha scritto:
> > > Il giorno mercoledì 15 marzo 2023 alle 10:12:57 UTC-3 Андрей Никитин ha scritto:
> > > > среда, 15 марта 2023 г. в 03:23:54 UTC+3, plo...@gmail.com:
> > > > > Il giorno sabato 11 marzo 2023 alle 16:39:13 UTC-3 Андрей Никитин ha scritto:
> > > > > > среда, 8 марта 2023 г. в 12:23:21 UTC+3, plo...@gmail.com:
> > > > > > > Il giorno martedì 7 marzo 2023 alle 07:26:10 UTC-3 Nils M Holm ha scritto:
> > > > > > > > plo...@gmail.com <plo...@gmail.com> wrote:
> > > > > > > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > > > > > > It is probably unrelated, but I see two 2H with only one
> > > > > > > > subsequent blank here.
> > > > > > > >
> > > > > > > > --
> > > > > > > > Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org
> > > > > > > Thanks Nils,
> > > > > > > But that's just my transcription error of the source. The strange thing is that in the package there is an executable file FCHECK.com which is used to check all the files in the package and when I run it, all the files are OK! that is, intact... It is very strange.
> > > > > > Is it possible to download this compiler from the Internet. If possible please send me a link to where I can do it.
> > > > > >
> > > > > > Best regards
> > > > > > Andrey Nikitin
> > > > > https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=sharing
> > > > Thanks for the link to the compiler.
> > > > This compiler is less common among CP/M users and almost unavailable. It is a pity that there is no user manual for it.
> > > > I was able to compile the test programs and get object files, but I could not get executable files out of them. When I run the linker and specify an object file name and then a library name, the program crashes. Maybe you have solved this problem in some other way, and generate an executable file. I will be happy to get any information on this matter.
> > > >
> > > > regards,
> > > > Andrey
> > > Hi Andrey,
> > > I want to verify that the files I uploaded in the folder are correct....then I'll let you know...
> > I have inserted the ProsFor.rar file which contains the complete compiler and linker files. To compile:>PROFOR and follow compiler prompts. For the LINKER :>Prolink and follow the linker requests (xxx1.rel,xxx2.rel....,FORLIB.rel) The COMPLEX.FOR source generates an incomprehensible error during the PASS 2 of the compiler and if you always confirm to go to the end of the compilation and then do the LINK you will notice that when you run the complex.com executable which sums A+B=C and prints , it doesn't calculate the sum... very strange...
> I confirm your error:
> Error C at address 1D5F
> Continue ? (Y/N) y
>
> FCHECK seems to like the compiler parts
> : fred@llana prospero $; cpm fcheck
>
> PROFOR2.COM - checks OK
>
> PROFOR.ERR - checks OK
>
> FORLIB.REL - checks OK
>
> FCONFIG.COM - checks OK
>
> G1LIB.MAC - checks OK
>
> G2LIB.MAC - checks OK
>
> PRIME.FOR - checks OK
>
> COPYTX.FOR - checks OK
>
> MAZE.FOR - checks OK
>
>
> Is it possible that COMPLEX support is simply "not there"?
>
> : fred@llana prospero $; cat complex.map
> Pro Fortran Compiler - Version zz 1.2
> Map of: complex.FOR
>
>
>
> ****************
> * Unit COMPLE *
> ****************
>
> Name Kind Type Area Offset
>
> A Variable Comp Data 0008 (8)
> B Variable Comp Data 0010 (16)
> Z Variable Comp Data 0000 (0)
>
>
> Sizes:-
>
> Data 0018 (24)
>
>
> So, the MAP file indicates that complex is there... 8 bytes is correct. I thought that maybe the IMPLICIT was interfering, and that's not it. Nor is it the variable >layout - commenting out Z = makes A 0, B 8 and Z 16 (offset). Same error.
Why doesn't the compiler (PROFOR2) give an error with exponential complex function? In the algebraic sum Z=A+B it gives the error!! I can't understand this...
PROGRAM COMPLE
IMPLICIT REAL (A-H,O-Z)
COMPLEX A,B,Z
C Z = CMPLX(0.0, 0.0)
A = CMPLX(3.5, 3.5)
B = CMPLX(4.0, 5.0)
Z = B**2
WRITE(1,10) A, B, Z
10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
PAUSE
STOP
END
No compiler error!!!
++++++++++++++++++++++++++++++
Pass 2
Unit: Code: Data:
COMPLE 153 24
Total source lines 12
Prolink.........
Linking:
COMPLEX.REL
FORLIB.REL
Data:.......
................
...............
Executable File: COMPLEX.COM

>COMPLEX
3.500 3.500 4.000 5.000 -9.000 40.000
A complex B complex Z=B**2 EXACT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Why??????????????????????

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<badf8c21-7a23-4d3b-ab4b-0c17e4a24aa1n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4107&group=comp.os.cpm#4107

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:aed:27d5:0:b0:3d4:4b5d:1fe1 with SMTP id m21-20020aed27d5000000b003d44b5d1fe1mr1335803qtg.6.1678994622807;
Thu, 16 Mar 2023 12:23:42 -0700 (PDT)
X-Received: by 2002:a05:6870:808c:b0:17a:bae5:fa7e with SMTP id
q12-20020a056870808c00b0017abae5fa7emr4157113oab.10.1678994622533; Thu, 16
Mar 2023 12:23:42 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 16 Mar 2023 12:23:42 -0700 (PDT)
In-Reply-To: <aa2d1889-9304-4942-a95f-8cb79cf775b9n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=181.126.168.116; posting-account=RMlmTQoAAACPlMwglZiJPNUMIMJUuH19
NNTP-Posting-Host: 181.126.168.116
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com> <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
<b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com> <a0bcefdc-1673-4b7c-96b3-b8ef40230af1n@googlegroups.com>
<9133490c-1f87-4a17-938d-514ba2a4f873n@googlegroups.com> <1eacd6ce-2d88-4f60-9a02-ac993c7b59d2n@googlegroups.com>
<aa2d1889-9304-4942-a95f-8cb79cf775b9n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <badf8c21-7a23-4d3b-ab4b-0c17e4a24aa1n@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: plor...@gmail.com (Plo)
Injection-Date: Thu, 16 Mar 2023 19:23:42 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 7495
 by: Plo - Thu, 16 Mar 2023 19:23 UTC

Il giorno giovedì 16 marzo 2023 alle 16:19:41 UTC-3 Plo ha scritto:
> Il giorno giovedì 16 marzo 2023 alle 15:22:40 UTC-3 fridtjof.ma...@gmail.com ha scritto:
> > On Thursday, March 16, 2023 at 10:32:44 AM UTC-4, Plo wrote:
> > > Il giorno giovedì 16 marzo 2023 alle 08:22:41 UTC-3 Plo ha scritto:
> > > > Il giorno mercoledì 15 marzo 2023 alle 10:12:57 UTC-3 Андрей Никитин ha scritto:
> > > > > среда, 15 марта 2023 г. в 03:23:54 UTC+3, plo...@gmail.com:
> > > > > > Il giorno sabato 11 marzo 2023 alle 16:39:13 UTC-3 Андрей Никитин ha scritto:
> > > > > > > среда, 8 марта 2023 г. в 12:23:21 UTC+3, plo...@gmail.com:
> > > > > > > > Il giorno martedì 7 marzo 2023 alle 07:26:10 UTC-3 Nils M Holm ha scritto:
> > > > > > > > > plo...@gmail.com <plo...@gmail.com> wrote:
> > > > > > > > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > > > > > > > It is probably unrelated, but I see two 2H with only one
> > > > > > > > > subsequent blank here.
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org
> > > > > > > > Thanks Nils,
> > > > > > > > But that's just my transcription error of the source. The strange thing is that in the package there is an executable file FCHECK.com which is used to check all the files in the package and when I run it, all the files are OK! that is, intact... It is very strange.
> > > > > > > Is it possible to download this compiler from the Internet. If possible please send me a link to where I can do it.
> > > > > > >
> > > > > > > Best regards
> > > > > > > Andrey Nikitin
> > > > > > https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=sharing
> > > > > Thanks for the link to the compiler.
> > > > > This compiler is less common among CP/M users and almost unavailable. It is a pity that there is no user manual for it.
> > > > > I was able to compile the test programs and get object files, but I could not get executable files out of them. When I run the linker and specify an object file name and then a library name, the program crashes. Maybe you have solved this problem in some other way, and generate an executable file. I will be happy to get any information on this matter.
> > > > >
> > > > > regards,
> > > > > Andrey
> > > > Hi Andrey,
> > > > I want to verify that the files I uploaded in the folder are correct...then I'll let you know...
> > > I have inserted the ProsFor.rar file which contains the complete compiler and linker files. To compile:>PROFOR and follow compiler prompts. For the LINKER :>Prolink and follow the linker requests (xxx1.rel,xxx2.rel....,FORLIB.rel) The COMPLEX.FOR source generates an incomprehensible error during the PASS 2 of the compiler and if you always confirm to go to the end of the compilation and then do the LINK you will notice that when you run the complex.com executable which sums A+B=C and prints , it doesn't calculate the sum... very strange...
> > I confirm your error:
> > Error C at address 1D5F
> > Continue ? (Y/N) y
> >
> > FCHECK seems to like the compiler parts
> > : fred@llana prospero $; cpm fcheck
> >
> > PROFOR2.COM - checks OK
> >
> > PROFOR.ERR - checks OK
> >
> > FORLIB.REL - checks OK
> >
> > FCONFIG.COM - checks OK
> >
> > G1LIB.MAC - checks OK
> >
> > G2LIB.MAC - checks OK
> >
> > PRIME.FOR - checks OK
> >
> > COPYTX.FOR - checks OK
> >
> > MAZE.FOR - checks OK
> >
> >
> > Is it possible that COMPLEX support is simply "not there"?
> >
> > : fred@llana prospero $; cat complex.map
> > Pro Fortran Compiler - Version zz 1.2
> > Map of: complex.FOR
> >
> >
> >
> > ****************
> > * Unit COMPLE *
> > ****************
> >
> > Name Kind Type Area Offset
> >
> > A Variable Comp Data 0008 (8)
> > B Variable Comp Data 0010 (16)
> > Z Variable Comp Data 0000 (0)
> >
> >
> > Sizes:-
> >
> > Data 0018 (24)
> >
> >
> > So, the MAP file indicates that complex is there... 8 bytes is correct. I thought that maybe the IMPLICIT was interfering, and that's not it. Nor is it the variable >layout - commenting out Z = makes A 0, B 8 and Z 16 (offset). Same error.
> Why doesn't the compiler (PROFOR2) give an error with exponential complex function? In the algebraic sum Z=A+B it gives the error!! I can't understand this...
> PROGRAM COMPLE
> IMPLICIT REAL (A-H,O-Z)
> COMPLEX A,B,Z
> C Z = CMPLX(0.0, 0.0)
> A = CMPLX(3.5, 3.5)
> B = CMPLX(4.0, 5.0)
> Z = B**2
> WRITE(1,10) A, B, Z
> 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> PAUSE
> STOP
> END
> No compiler error!!!
> ++++++++++++++++++++++++++++++
> Pass 2
> Unit: Code: Data:
> COMPLE 153 24
> Total source lines 12
> Prolink.........
> Linking:
> COMPLEX.REL
> FORLIB.REL
> Data:.......
> ...............
> ..............
> Executable File: COMPLEX.COM
>
> >COMPLEX
> 3.500 3.500 4.000 5.000 -9.000 40.000
> A complex B complex Z=B**2 EXACT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> Why??????????????????????
C Z = CMPLX(0.0, 0.0) Comment in column 1 ==>>...... C Z=CMPLX(0.0, 0.0)

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<a6d20cae-0fb3-4db4-9494-10639fb83109n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4108&group=comp.os.cpm#4108

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:c:b0:3bf:baab:bf95 with SMTP id x12-20020a05622a000c00b003bfbaabbf95mr285668qtw.4.1678997616175;
Thu, 16 Mar 2023 13:13:36 -0700 (PDT)
X-Received: by 2002:a05:6808:f15:b0:386:a3ff:1f56 with SMTP id
m21-20020a0568080f1500b00386a3ff1f56mr360787oiw.0.1678997615791; Thu, 16 Mar
2023 13:13:35 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 16 Mar 2023 13:13:35 -0700 (PDT)
In-Reply-To: <badf8c21-7a23-4d3b-ab4b-0c17e4a24aa1n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:f2c0:92d6:4400:82a5:f7a1:fa8a:2fd1;
posting-account=KOfC_woAAAC0YBGf-3r2aV5g2Aifd9jO
NNTP-Posting-Host: 2607:f2c0:92d6:4400:82a5:f7a1:fa8a:2fd1
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com> <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
<b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com> <a0bcefdc-1673-4b7c-96b3-b8ef40230af1n@googlegroups.com>
<9133490c-1f87-4a17-938d-514ba2a4f873n@googlegroups.com> <1eacd6ce-2d88-4f60-9a02-ac993c7b59d2n@googlegroups.com>
<aa2d1889-9304-4942-a95f-8cb79cf775b9n@googlegroups.com> <badf8c21-7a23-4d3b-ab4b-0c17e4a24aa1n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a6d20cae-0fb3-4db4-9494-10639fb83109n@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: fridtjof...@gmail.com (fridtjof.ma...@gmail.com)
Injection-Date: Thu, 16 Mar 2023 20:13:36 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 8069
 by: fridtjof.ma...@gmail - Thu, 16 Mar 2023 20:13 UTC

On Thursday, March 16, 2023 at 3:23:43 PM UTC-4, Plo wrote:
> Il giorno giovedì 16 marzo 2023 alle 16:19:41 UTC-3 Plo ha scritto:
> > Il giorno giovedì 16 marzo 2023 alle 15:22:40 UTC-3 fridtjof.ma...@gmail.com ha scritto:
> > > On Thursday, March 16, 2023 at 10:32:44 AM UTC-4, Plo wrote:
> > > > Il giorno giovedì 16 marzo 2023 alle 08:22:41 UTC-3 Plo ha scritto:
> > > > > Il giorno mercoledì 15 marzo 2023 alle 10:12:57 UTC-3 Андрей Никитин ha scritto:
> > > > > > среда, 15 марта 2023 г. в 03:23:54 UTC+3, plo...@gmail.com:
> > > > > > > Il giorno sabato 11 marzo 2023 alle 16:39:13 UTC-3 Андрей Никитин ha scritto:
> > > > > > > > среда, 8 марта 2023 г. в 12:23:21 UTC+3, plo...@gmail.com:
> > > > > > > > > Il giorno martedì 7 marzo 2023 alle 07:26:10 UTC-3 Nils M Holm ha scritto:
> > > > > > > > > > plo...@gmail.com <plo...@gmail.com> wrote:
> > > > > > > > > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > > > > > > > > It is probably unrelated, but I see two 2H with only one
> > > > > > > > > > subsequent blank here.
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org
> > > > > > > > > Thanks Nils,
> > > > > > > > > But that's just my transcription error of the source. The strange thing is that in the package there is an executable file FCHECK.com which is used to check all the files in the package and when I run it, all the files are OK! that is, intact... It is very strange.
> > > > > > > > Is it possible to download this compiler from the Internet. If possible please send me a link to where I can do it.
> > > > > > > >
> > > > > > > > Best regards
> > > > > > > > Andrey Nikitin
> > > > > > > https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=sharing
> > > > > > Thanks for the link to the compiler.
> > > > > > This compiler is less common among CP/M users and almost unavailable. It is a pity that there is no user manual for it.
> > > > > > I was able to compile the test programs and get object files, but I could not get executable files out of them. When I run the linker and specify an object file name and then a library name, the program crashes. Maybe you have solved this problem in some other way, and generate an executable file. I will be happy to get any information on this matter.
> > > > > >
> > > > > > regards,
> > > > > > Andrey
> > > > > Hi Andrey,
> > > > > I want to verify that the files I uploaded in the folder are correct...then I'll let you know...
> > > > I have inserted the ProsFor.rar file which contains the complete compiler and linker files. To compile:>PROFOR and follow compiler prompts. For the LINKER :>Prolink and follow the linker requests (xxx1.rel,xxx2.rel.....,FORLIB.rel) The COMPLEX.FOR source generates an incomprehensible error during the PASS 2 of the compiler and if you always confirm to go to the end of the compilation and then do the LINK you will notice that when you run the complex.com executable which sums A+B=C and prints , it doesn't calculate the sum... very strange...
> > > I confirm your error:
> > > Error C at address 1D5F
> > > Continue ? (Y/N) y
> > >
> > > FCHECK seems to like the compiler parts
> > > : fred@llana prospero $; cpm fcheck
> > >
> > > PROFOR2.COM - checks OK
> > >
> > > PROFOR.ERR - checks OK
> > >
> > > FORLIB.REL - checks OK
> > >
> > > FCONFIG.COM - checks OK
> > >
> > > G1LIB.MAC - checks OK
> > >
> > > G2LIB.MAC - checks OK
> > >
> > > PRIME.FOR - checks OK
> > >
> > > COPYTX.FOR - checks OK
> > >
> > > MAZE.FOR - checks OK
> > >
> > >
> > > Is it possible that COMPLEX support is simply "not there"?
> > >
> > > : fred@llana prospero $; cat complex.map
> > > Pro Fortran Compiler - Version zz 1.2
> > > Map of: complex.FOR
> > >
> > >
> > >
> > > ****************
> > > * Unit COMPLE *
> > > ****************
> > >
> > > Name Kind Type Area Offset
> > >
> > > A Variable Comp Data 0008 (8)
> > > B Variable Comp Data 0010 (16)
> > > Z Variable Comp Data 0000 (0)
> > >
> > >
> > > Sizes:-
> > >
> > > Data 0018 (24)
> > >
> > >
> > > So, the MAP file indicates that complex is there... 8 bytes is correct. I thought that maybe the IMPLICIT was interfering, and that's not it. Nor is it the variable >layout - commenting out Z = makes A 0, B 8 and Z 16 (offset). Same error.
> > Why doesn't the compiler (PROFOR2) give an error with exponential complex function? In the algebraic sum Z=A+B it gives the error!! I can't understand this...
> > PROGRAM COMPLE
> > IMPLICIT REAL (A-H,O-Z)
> > COMPLEX A,B,Z
> > C Z = CMPLX(0.0, 0.0)
> > A = CMPLX(3.5, 3.5)
> > B = CMPLX(4.0, 5.0)
> > Z = B**2
> > WRITE(1,10) A, B, Z
> > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > PAUSE
> > STOP
> > END
> > No compiler error!!!
> > ++++++++++++++++++++++++++++++
> > Pass 2
> > Unit: Code: Data:
> > COMPLE 153 24
> > Total source lines 12
> > Prolink.........
> > Linking:
> > COMPLEX.REL
> > FORLIB.REL
> > Data:.......
> > ...............
> > ..............
> > Executable File: COMPLEX.COM
> >
> > >COMPLEX
> > 3.500 3.500 4.000 5.000 -9.000 40.000
> > A complex B complex Z=B**2 EXACT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > Why??????????????????????
> C Z = CMPLX(0.0, 0.0) Comment in column 1 ==>>...... C Z=CMPLX(0.0, 0.0)
And, just for fun - the error is in both COMPLEX + COMPLEX *and* COMPLEX + REAL. Now, I am "nerd-sniped"

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<451df5b5-6db7-40b9-9f97-428b74467ba4n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4109&group=comp.os.cpm#4109

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:1929:b0:3d3:c5ab:7abc with SMTP id w41-20020a05622a192900b003d3c5ab7abcmr356951qtc.5.1679009567960;
Thu, 16 Mar 2023 16:32:47 -0700 (PDT)
X-Received: by 2002:a05:6808:3b0:b0:386:cb70:3828 with SMTP id
n16-20020a05680803b000b00386cb703828mr498989oie.4.1679009567672; Thu, 16 Mar
2023 16:32:47 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 16 Mar 2023 16:32:47 -0700 (PDT)
In-Reply-To: <a6d20cae-0fb3-4db4-9494-10639fb83109n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=181.126.168.116; posting-account=RMlmTQoAAACPlMwglZiJPNUMIMJUuH19
NNTP-Posting-Host: 181.126.168.116
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com> <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
<b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com> <a0bcefdc-1673-4b7c-96b3-b8ef40230af1n@googlegroups.com>
<9133490c-1f87-4a17-938d-514ba2a4f873n@googlegroups.com> <1eacd6ce-2d88-4f60-9a02-ac993c7b59d2n@googlegroups.com>
<aa2d1889-9304-4942-a95f-8cb79cf775b9n@googlegroups.com> <badf8c21-7a23-4d3b-ab4b-0c17e4a24aa1n@googlegroups.com>
<a6d20cae-0fb3-4db4-9494-10639fb83109n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <451df5b5-6db7-40b9-9f97-428b74467ba4n@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: plor...@gmail.com (Plo)
Injection-Date: Thu, 16 Mar 2023 23:32:47 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Plo - Thu, 16 Mar 2023 23:32 UTC

Il giorno giovedì 16 marzo 2023 alle 17:13:37 UTC-3 fridtjof.ma...@gmail.com ha scritto:
> On Thursday, March 16, 2023 at 3:23:43 PM UTC-4, Plo wrote:
> > Il giorno giovedì 16 marzo 2023 alle 16:19:41 UTC-3 Plo ha scritto:
> > > Il giorno giovedì 16 marzo 2023 alle 15:22:40 UTC-3 fridtjof.ma....@gmail.com ha scritto:
> > > > On Thursday, March 16, 2023 at 10:32:44 AM UTC-4, Plo wrote:
> > > > > Il giorno giovedì 16 marzo 2023 alle 08:22:41 UTC-3 Plo ha scritto:
> > > > > > Il giorno mercoledì 15 marzo 2023 alle 10:12:57 UTC-3 Андрей Никитин ha scritto:
> > > > > > > среда, 15 марта 2023 г. в 03:23:54 UTC+3, plo...@gmail.com:
> > > > > > > > Il giorno sabato 11 marzo 2023 alle 16:39:13 UTC-3 Андрей Никитин ha scritto:
> > > > > > > > > среда, 8 марта 2023 г. в 12:23:21 UTC+3, plo...@gmail.com:
> > > > > > > > > > Il giorno martedì 7 marzo 2023 alle 07:26:10 UTC-3 Nils M Holm ha scritto:
> > > > > > > > > > > plo...@gmail.com <plo...@gmail.com> wrote:
> > > > > > > > > > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > > > > > > > > > It is probably unrelated, but I see two 2H with only one
> > > > > > > > > > > subsequent blank here.
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org
> > > > > > > > > > Thanks Nils,
> > > > > > > > > > But that's just my transcription error of the source. The strange thing is that in the package there is an executable file FCHECK.com which is used to check all the files in the package and when I run it, all the files are OK! that is, intact... It is very strange.
> > > > > > > > > Is it possible to download this compiler from the Internet. If possible please send me a link to where I can do it.
> > > > > > > > >
> > > > > > > > > Best regards
> > > > > > > > > Andrey Nikitin
> > > > > > > > https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=sharing
> > > > > > > Thanks for the link to the compiler.
> > > > > > > This compiler is less common among CP/M users and almost unavailable. It is a pity that there is no user manual for it.
> > > > > > > I was able to compile the test programs and get object files, but I could not get executable files out of them. When I run the linker and specify an object file name and then a library name, the program crashes. Maybe you have solved this problem in some other way, and generate an executable file. I will be happy to get any information on this matter.
> > > > > > >
> > > > > > > regards,
> > > > > > > Andrey
> > > > > > Hi Andrey,
> > > > > > I want to verify that the files I uploaded in the folder are correct...then I'll let you know...
> > > > > I have inserted the ProsFor.rar file which contains the complete compiler and linker files. To compile:>PROFOR and follow compiler prompts. For the LINKER :>Prolink and follow the linker requests (xxx1.rel,xxx2.rel.....,FORLIB.rel) The COMPLEX.FOR source generates an incomprehensible error during the PASS 2 of the compiler and if you always confirm to go to the end of the compilation and then do the LINK you will notice that when you run the complex.com executable which sums A+B=C and prints , it doesn't calculate the sum... very strange...
> > > > I confirm your error:
> > > > Error C at address 1D5F
> > > > Continue ? (Y/N) y
> > > >
> > > > FCHECK seems to like the compiler parts
> > > > : fred@llana prospero $; cpm fcheck
> > > >
> > > > PROFOR2.COM - checks OK
> > > >
> > > > PROFOR.ERR - checks OK
> > > >
> > > > FORLIB.REL - checks OK
> > > >
> > > > FCONFIG.COM - checks OK
> > > >
> > > > G1LIB.MAC - checks OK
> > > >
> > > > G2LIB.MAC - checks OK
> > > >
> > > > PRIME.FOR - checks OK
> > > >
> > > > COPYTX.FOR - checks OK
> > > >
> > > > MAZE.FOR - checks OK
> > > >
> > > >
> > > > Is it possible that COMPLEX support is simply "not there"?
> > > >
> > > > : fred@llana prospero $; cat complex.map
> > > > Pro Fortran Compiler - Version zz 1.2
> > > > Map of: complex.FOR
> > > >
> > > >
> > > >
> > > > ****************
> > > > * Unit COMPLE *
> > > > ****************
> > > >
> > > > Name Kind Type Area Offset
> > > >
> > > > A Variable Comp Data 0008 (8)
> > > > B Variable Comp Data 0010 (16)
> > > > Z Variable Comp Data 0000 (0)
> > > >
> > > >
> > > > Sizes:-
> > > >
> > > > Data 0018 (24)
> > > >
> > > >
> > > > So, the MAP file indicates that complex is there... 8 bytes is correct. I thought that maybe the IMPLICIT was interfering, and that's not it. Nor is it the variable >layout - commenting out Z = makes A 0, B 8 and Z 16 (offset). Same error.
> > > Why doesn't the compiler (PROFOR2) give an error with exponential complex function? In the algebraic sum Z=A+B it gives the error!! I can't understand this...
> > > PROGRAM COMPLE
> > > IMPLICIT REAL (A-H,O-Z)
> > > COMPLEX A,B,Z
> > > C Z = CMPLX(0.0, 0.0)
> > > A = CMPLX(3.5, 3.5)
> > > B = CMPLX(4.0, 5.0)
> > > Z = B**2
> > > WRITE(1,10) A, B, Z
> > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > PAUSE
> > > STOP
> > > END
> > > No compiler error!!!
> > > ++++++++++++++++++++++++++++++
> > > Pass 2
> > > Unit: Code: Data:
> > > COMPLE 153 24
> > > Total source lines 12
> > > Prolink.........
> > > Linking:
> > > COMPLEX.REL
> > > FORLIB.REL
> > > Data:.......
> > > ...............
> > > ..............
> > > Executable File: COMPLEX.COM
> > >
> > > >COMPLEX
> > > 3.500 3.500 4.000 5.000 -9.000 40.000
> > > A complex B complex Z=B**2 EXACT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > > Why??????????????????????
> > C Z = CMPLX(0.0, 0.0) Comment in column 1 ==>>...... C Z=CMPLX(0.0, 0.0)
> And, just for fun - the error is in both COMPLEX + COMPLEX *and* COMPLEX + REAL. Now, I am "nerd-sniped"
Strangely, the compile error "pass 2" DOES NOT APPEAR only when there is only one intrinsic function of a only complex variable i.e. Csin(z), Ccos(z), z**constant, etc. etc, when there are two or more complex operands, then the error appears!!!!

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<dae320ed-0209-42e3-8937-e9f0a6131ed9n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4110&group=comp.os.cpm#4110

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ad4:4e6d:0:b0:570:bd60:e1d7 with SMTP id ec13-20020ad44e6d000000b00570bd60e1d7mr5087475qvb.8.1679009940285;
Thu, 16 Mar 2023 16:39:00 -0700 (PDT)
X-Received: by 2002:a4a:ae84:0:b0:525:270c:25e with SMTP id
u4-20020a4aae84000000b00525270c025emr14827664oon.1.1679009940004; Thu, 16 Mar
2023 16:39:00 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 16 Mar 2023 16:38:59 -0700 (PDT)
In-Reply-To: <451df5b5-6db7-40b9-9f97-428b74467ba4n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=181.126.168.116; posting-account=RMlmTQoAAACPlMwglZiJPNUMIMJUuH19
NNTP-Posting-Host: 181.126.168.116
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com> <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
<b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com> <a0bcefdc-1673-4b7c-96b3-b8ef40230af1n@googlegroups.com>
<9133490c-1f87-4a17-938d-514ba2a4f873n@googlegroups.com> <1eacd6ce-2d88-4f60-9a02-ac993c7b59d2n@googlegroups.com>
<aa2d1889-9304-4942-a95f-8cb79cf775b9n@googlegroups.com> <badf8c21-7a23-4d3b-ab4b-0c17e4a24aa1n@googlegroups.com>
<a6d20cae-0fb3-4db4-9494-10639fb83109n@googlegroups.com> <451df5b5-6db7-40b9-9f97-428b74467ba4n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dae320ed-0209-42e3-8937-e9f0a6131ed9n@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: plor...@gmail.com (Plo)
Injection-Date: Thu, 16 Mar 2023 23:39:00 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 9134
 by: Plo - Thu, 16 Mar 2023 23:38 UTC

Il giorno giovedì 16 marzo 2023 alle 20:32:48 UTC-3 Plo ha scritto:
> Il giorno giovedì 16 marzo 2023 alle 17:13:37 UTC-3 fridtjof.ma...@gmail.com ha scritto:
> > On Thursday, March 16, 2023 at 3:23:43 PM UTC-4, Plo wrote:
> > > Il giorno giovedì 16 marzo 2023 alle 16:19:41 UTC-3 Plo ha scritto:
> > > > Il giorno giovedì 16 marzo 2023 alle 15:22:40 UTC-3 fridtjof.ma...@gmail.com ha scritto:
> > > > > On Thursday, March 16, 2023 at 10:32:44 AM UTC-4, Plo wrote:
> > > > > > Il giorno giovedì 16 marzo 2023 alle 08:22:41 UTC-3 Plo ha scritto:
> > > > > > > Il giorno mercoledì 15 marzo 2023 alle 10:12:57 UTC-3 Андрей Никитин ha scritto:
> > > > > > > > среда, 15 марта 2023 г. в 03:23:54 UTC+3, plo...@gmail.com:
> > > > > > > > > Il giorno sabato 11 marzo 2023 alle 16:39:13 UTC-3 Андрей Никитин ha scritto:
> > > > > > > > > > среда, 8 марта 2023 г. в 12:23:21 UTC+3, plo...@gmail.com:
> > > > > > > > > > > Il giorno martedì 7 marzo 2023 alle 07:26:10 UTC-3 Nils M Holm ha scritto:
> > > > > > > > > > > > plo...@gmail.com <plo...@gmail.com> wrote:
> > > > > > > > > > > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > > > > > > > > > > It is probably unrelated, but I see two 2H with only one
> > > > > > > > > > > > subsequent blank here.
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org
> > > > > > > > > > > Thanks Nils,
> > > > > > > > > > > But that's just my transcription error of the source. The strange thing is that in the package there is an executable file FCHECK.com which is used to check all the files in the package and when I run it, all the files are OK! that is, intact... It is very strange.
> > > > > > > > > > Is it possible to download this compiler from the Internet. If possible please send me a link to where I can do it.
> > > > > > > > > >
> > > > > > > > > > Best regards
> > > > > > > > > > Andrey Nikitin
> > > > > > > > > https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=sharing
> > > > > > > > Thanks for the link to the compiler.
> > > > > > > > This compiler is less common among CP/M users and almost unavailable. It is a pity that there is no user manual for it.
> > > > > > > > I was able to compile the test programs and get object files, but I could not get executable files out of them. When I run the linker and specify an object file name and then a library name, the program crashes. Maybe you have solved this problem in some other way, and generate an executable file. I will be happy to get any information on this matter.
> > > > > > > >
> > > > > > > > regards,
> > > > > > > > Andrey
> > > > > > > Hi Andrey,
> > > > > > > I want to verify that the files I uploaded in the folder are correct...then I'll let you know...
> > > > > > I have inserted the ProsFor.rar file which contains the complete compiler and linker files. To compile:>PROFOR and follow compiler prompts.. For the LINKER :>Prolink and follow the linker requests (xxx1.rel,xxx2.rel....,FORLIB.rel) The COMPLEX.FOR source generates an incomprehensible error during the PASS 2 of the compiler and if you always confirm to go to the end of the compilation and then do the LINK you will notice that when you run the complex.com executable which sums A+B=C and prints , it doesn't calculate the sum... very strange...
> > > > > I confirm your error:
> > > > > Error C at address 1D5F
> > > > > Continue ? (Y/N) y
> > > > >
> > > > > FCHECK seems to like the compiler parts
> > > > > : fred@llana prospero $; cpm fcheck
> > > > >
> > > > > PROFOR2.COM - checks OK
> > > > >
> > > > > PROFOR.ERR - checks OK
> > > > >
> > > > > FORLIB.REL - checks OK
> > > > >
> > > > > FCONFIG.COM - checks OK
> > > > >
> > > > > G1LIB.MAC - checks OK
> > > > >
> > > > > G2LIB.MAC - checks OK
> > > > >
> > > > > PRIME.FOR - checks OK
> > > > >
> > > > > COPYTX.FOR - checks OK
> > > > >
> > > > > MAZE.FOR - checks OK
> > > > >
> > > > >
> > > > > Is it possible that COMPLEX support is simply "not there"?
> > > > >
> > > > > : fred@llana prospero $; cat complex.map
> > > > > Pro Fortran Compiler - Version zz 1.2
> > > > > Map of: complex.FOR
> > > > >
> > > > >
> > > > >
> > > > > ****************
> > > > > * Unit COMPLE *
> > > > > ****************
> > > > >
> > > > > Name Kind Type Area Offset
> > > > >
> > > > > A Variable Comp Data 0008 (8)
> > > > > B Variable Comp Data 0010 (16)
> > > > > Z Variable Comp Data 0000 (0)
> > > > >
> > > > >
> > > > > Sizes:-
> > > > >
> > > > > Data 0018 (24)
> > > > >
> > > > >
> > > > > So, the MAP file indicates that complex is there... 8 bytes is correct. I thought that maybe the IMPLICIT was interfering, and that's not it.. Nor is it the variable >layout - commenting out Z = makes A 0, B 8 and Z 16 (offset). Same error.
> > > > Why doesn't the compiler (PROFOR2) give an error with exponential complex function? In the algebraic sum Z=A+B it gives the error!! I can't understand this...
> > > > PROGRAM COMPLE
> > > > IMPLICIT REAL (A-H,O-Z)
> > > > COMPLEX A,B,Z
> > > > C Z = CMPLX(0.0, 0.0)
> > > > A = CMPLX(3.5, 3.5)
> > > > B = CMPLX(4.0, 5.0)
> > > > Z = B**2
> > > > WRITE(1,10) A, B, Z
> > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > > PAUSE
> > > > STOP
> > > > END
> > > > No compiler error!!!
> > > > ++++++++++++++++++++++++++++++
> > > > Pass 2
> > > > Unit: Code: Data:
> > > > COMPLE 153 24
> > > > Total source lines 12
> > > > Prolink.........
> > > > Linking:
> > > > COMPLEX.REL
> > > > FORLIB.REL
> > > > Data:.......
> > > > ...............
> > > > ..............
> > > > Executable File: COMPLEX.COM
> > > >
> > > > >COMPLEX
> > > > 3.500 3.500 4.000 5.000 -9.000 40.000
> > > > A complex B complex Z=B**2 EXACT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > > > Why??????????????????????
> > > C Z = CMPLX(0.0, 0.0) Comment in column 1 ==>>...... C Z=CMPLX(0.0, 0.0)
> > And, just for fun - the error is in both COMPLEX + COMPLEX *and* COMPLEX + REAL. Now, I am "nerd-sniped"
> Strangely, the compile error "pass 2" DOES NOT APPEAR only when there is only one intrinsic function of a only complex variable i.e. Csin(z), Ccos(z), z**constant, etc. etc, when there are two or more complex operands, then the error appears!!!!
I'm going crazy!!!!! And I'm sorry because it's the only Fortran Compiler under CP/M-80 with COMPLEX data Type

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<385bdb19-322f-47ee-b336-387828384351n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4111&group=comp.os.cpm#4111

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ad4:59c7:0:b0:56f:3e5:850e with SMTP id el7-20020ad459c7000000b0056f03e5850emr5137173qvb.3.1679037026415;
Fri, 17 Mar 2023 00:10:26 -0700 (PDT)
X-Received: by 2002:a05:6870:bb0a:b0:17a:b1f4:860b with SMTP id
nw10-20020a056870bb0a00b0017ab1f4860bmr880064oab.2.1679037026104; Fri, 17 Mar
2023 00:10:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Fri, 17 Mar 2023 00:10:25 -0700 (PDT)
In-Reply-To: <dae320ed-0209-42e3-8937-e9f0a6131ed9n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=86.125.83.230; posting-account=Zav8fAoAAACRqOOZYggbw7GhvvIJEzFn
NNTP-Posting-Host: 86.125.83.230
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com> <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
<b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com> <a0bcefdc-1673-4b7c-96b3-b8ef40230af1n@googlegroups.com>
<9133490c-1f87-4a17-938d-514ba2a4f873n@googlegroups.com> <1eacd6ce-2d88-4f60-9a02-ac993c7b59d2n@googlegroups.com>
<aa2d1889-9304-4942-a95f-8cb79cf775b9n@googlegroups.com> <badf8c21-7a23-4d3b-ab4b-0c17e4a24aa1n@googlegroups.com>
<a6d20cae-0fb3-4db4-9494-10639fb83109n@googlegroups.com> <451df5b5-6db7-40b9-9f97-428b74467ba4n@googlegroups.com>
<dae320ed-0209-42e3-8937-e9f0a6131ed9n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <385bdb19-322f-47ee-b336-387828384351n@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: ladislau...@euroqst.ro (ladislau szilagyi)
Injection-Date: Fri, 17 Mar 2023 07:10:26 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: ladislau szilagyi - Fri, 17 Mar 2023 07:10 UTC

Pe vineri, 17 martie 2023, la 01:39:01 UTC+2, Plo a scris:
> Il giorno giovedì 16 marzo 2023 alle 20:32:48 UTC-3 Plo ha scritto:
> > Il giorno giovedì 16 marzo 2023 alle 17:13:37 UTC-3 fridtjof.ma...@gmail.com ha scritto:
> > > On Thursday, March 16, 2023 at 3:23:43 PM UTC-4, Plo wrote:
> > > > Il giorno giovedì 16 marzo 2023 alle 16:19:41 UTC-3 Plo ha scritto:
> > > > > Il giorno giovedì 16 marzo 2023 alle 15:22:40 UTC-3 fridtjof..ma...@gmail.com ha scritto:
> > > > > > On Thursday, March 16, 2023 at 10:32:44 AM UTC-4, Plo wrote:
> > > > > > > Il giorno giovedì 16 marzo 2023 alle 08:22:41 UTC-3 Plo ha scritto:
> > > > > > > > Il giorno mercoledì 15 marzo 2023 alle 10:12:57 UTC-3 Андрей Никитин ha scritto:
> > > > > > > > > среда, 15 марта 2023 г. в 03:23:54 UTC+3, plo...@gmail.com:
> > > > > > > > > > Il giorno sabato 11 marzo 2023 alle 16:39:13 UTC-3 Андрей Никитин ha scritto:
> > > > > > > > > > > среда, 8 марта 2023 г. в 12:23:21 UTC+3, plo...@gmail.com:
> > > > > > > > > > > > Il giorno martedì 7 marzo 2023 alle 07:26:10 UTC-3 Nils M Holm ha scritto:
> > > > > > > > > > > > > plo...@gmail.com <plo...@gmail.com> wrote:
> > > > > > > > > > > > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > > > > > > > > > > > It is probably unrelated, but I see two 2H with only one
> > > > > > > > > > > > > subsequent blank here.
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org
> > > > > > > > > > > > Thanks Nils,
> > > > > > > > > > > > But that's just my transcription error of the source. The strange thing is that in the package there is an executable file FCHECK.com which is used to check all the files in the package and when I run it, all the files are OK! that is, intact... It is very strange.
> > > > > > > > > > > Is it possible to download this compiler from the Internet. If possible please send me a link to where I can do it.
> > > > > > > > > > >
> > > > > > > > > > > Best regards
> > > > > > > > > > > Andrey Nikitin
> > > > > > > > > > https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=sharing
> > > > > > > > > Thanks for the link to the compiler.
> > > > > > > > > This compiler is less common among CP/M users and almost unavailable. It is a pity that there is no user manual for it.
> > > > > > > > > I was able to compile the test programs and get object files, but I could not get executable files out of them. When I run the linker and specify an object file name and then a library name, the program crashes. Maybe you have solved this problem in some other way, and generate an executable file. I will be happy to get any information on this matter.
> > > > > > > > >
> > > > > > > > > regards,
> > > > > > > > > Andrey
> > > > > > > > Hi Andrey,
> > > > > > > > I want to verify that the files I uploaded in the folder are correct...then I'll let you know...
> > > > > > > I have inserted the ProsFor.rar file which contains the complete compiler and linker files. To compile:>PROFOR and follow compiler prompts. For the LINKER :>Prolink and follow the linker requests (xxx1.rel,xxx2.rel....,FORLIB.rel) The COMPLEX.FOR source generates an incomprehensible error during the PASS 2 of the compiler and if you always confirm to go to the end of the compilation and then do the LINK you will notice that when you run the complex.com executable which sums A+B=C and prints , it doesn't calculate the sum... very strange...
> > > > > > I confirm your error:
> > > > > > Error C at address 1D5F
> > > > > > Continue ? (Y/N) y
> > > > > >
> > > > > > FCHECK seems to like the compiler parts
> > > > > > : fred@llana prospero $; cpm fcheck
> > > > > >
> > > > > > PROFOR2.COM - checks OK
> > > > > >
> > > > > > PROFOR.ERR - checks OK
> > > > > >
> > > > > > FORLIB.REL - checks OK
> > > > > >
> > > > > > FCONFIG.COM - checks OK
> > > > > >
> > > > > > G1LIB.MAC - checks OK
> > > > > >
> > > > > > G2LIB.MAC - checks OK
> > > > > >
> > > > > > PRIME.FOR - checks OK
> > > > > >
> > > > > > COPYTX.FOR - checks OK
> > > > > >
> > > > > > MAZE.FOR - checks OK
> > > > > >
> > > > > >
> > > > > > Is it possible that COMPLEX support is simply "not there"?
> > > > > >
> > > > > > : fred@llana prospero $; cat complex.map
> > > > > > Pro Fortran Compiler - Version zz 1.2
> > > > > > Map of: complex.FOR
> > > > > >
> > > > > >
> > > > > >
> > > > > > ****************
> > > > > > * Unit COMPLE *
> > > > > > ****************
> > > > > >
> > > > > > Name Kind Type Area Offset
> > > > > >
> > > > > > A Variable Comp Data 0008 (8)
> > > > > > B Variable Comp Data 0010 (16)
> > > > > > Z Variable Comp Data 0000 (0)
> > > > > >
> > > > > >
> > > > > > Sizes:-
> > > > > >
> > > > > > Data 0018 (24)
> > > > > >
> > > > > >
> > > > > > So, the MAP file indicates that complex is there... 8 bytes is correct. I thought that maybe the IMPLICIT was interfering, and that's not it. Nor is it the variable >layout - commenting out Z = makes A 0, B 8 and Z 16 (offset). Same error.
> > > > > Why doesn't the compiler (PROFOR2) give an error with exponential complex function? In the algebraic sum Z=A+B it gives the error!! I can't understand this...
> > > > > PROGRAM COMPLE
> > > > > IMPLICIT REAL (A-H,O-Z)
> > > > > COMPLEX A,B,Z
> > > > > C Z = CMPLX(0.0, 0.0)
> > > > > A = CMPLX(3.5, 3.5)
> > > > > B = CMPLX(4.0, 5.0)
> > > > > Z = B**2
> > > > > WRITE(1,10) A, B, Z
> > > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > > > PAUSE
> > > > > STOP
> > > > > END
> > > > > No compiler error!!!
> > > > > ++++++++++++++++++++++++++++++
> > > > > Pass 2
> > > > > Unit: Code: Data:
> > > > > COMPLE 153 24
> > > > > Total source lines 12
> > > > > Prolink.........
> > > > > Linking:
> > > > > COMPLEX.REL
> > > > > FORLIB.REL
> > > > > Data:.......
> > > > > ...............
> > > > > ..............
> > > > > Executable File: COMPLEX.COM
> > > > >
> > > > > >COMPLEX
> > > > > 3.500 3.500 4.000 5.000 -9.000 40.000
> > > > > A complex B complex Z=B**2 EXACT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > > > > Why??????????????????????
> > > > C Z = CMPLX(0.0, 0.0) Comment in column 1 ==>>...... C Z=CMPLX(0.0, 0.0)
> > > And, just for fun - the error is in both COMPLEX + COMPLEX *and* COMPLEX + REAL. Now, I am "nerd-sniped"
> > Strangely, the compile error "pass 2" DOES NOT APPEAR only when there is only one intrinsic function of a only complex variable i.e. Csin(z), Ccos(z), z**constant, etc. etc, when there are two or more complex operands, then the error appears!!!!
> I'm going crazy!!!!! And I'm sorry because it's the only Fortran Compiler under CP/M-80 with COMPLEX data Type

Perhaps this would help: I found a link for the PROSPERO PROFORTRAN manual : http://www.dilwyn.me.uk/language/ProsperoQlFortran77UM3.pdf


Click here to read the complete article
Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<087f82a4-545a-4ff7-996e-9bf97f6298een@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4112&group=comp.os.cpm#4112

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a37:385:0:b0:745:7df3:66ca with SMTP id 127-20020a370385000000b007457df366camr4174239qkd.5.1679046276784;
Fri, 17 Mar 2023 02:44:36 -0700 (PDT)
X-Received: by 2002:a05:6870:b00a:b0:176:50be:85b4 with SMTP id
y10-20020a056870b00a00b0017650be85b4mr18968051oae.8.1679046276421; Fri, 17
Mar 2023 02:44:36 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Fri, 17 Mar 2023 02:44:36 -0700 (PDT)
In-Reply-To: <385bdb19-322f-47ee-b336-387828384351n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=181.126.168.116; posting-account=RMlmTQoAAACPlMwglZiJPNUMIMJUuH19
NNTP-Posting-Host: 181.126.168.116
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com> <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
<b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com> <a0bcefdc-1673-4b7c-96b3-b8ef40230af1n@googlegroups.com>
<9133490c-1f87-4a17-938d-514ba2a4f873n@googlegroups.com> <1eacd6ce-2d88-4f60-9a02-ac993c7b59d2n@googlegroups.com>
<aa2d1889-9304-4942-a95f-8cb79cf775b9n@googlegroups.com> <badf8c21-7a23-4d3b-ab4b-0c17e4a24aa1n@googlegroups.com>
<a6d20cae-0fb3-4db4-9494-10639fb83109n@googlegroups.com> <451df5b5-6db7-40b9-9f97-428b74467ba4n@googlegroups.com>
<dae320ed-0209-42e3-8937-e9f0a6131ed9n@googlegroups.com> <385bdb19-322f-47ee-b336-387828384351n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <087f82a4-545a-4ff7-996e-9bf97f6298een@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: plor...@gmail.com (Plo)
Injection-Date: Fri, 17 Mar 2023 09:44:36 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 10099
 by: Plo - Fri, 17 Mar 2023 09:44 UTC

Il giorno venerdì 17 marzo 2023 alle 04:10:27 UTC-3 ladislau szilagyi ha scritto:
> Pe vineri, 17 martie 2023, la 01:39:01 UTC+2, Plo a scris:
> > Il giorno giovedì 16 marzo 2023 alle 20:32:48 UTC-3 Plo ha scritto:
> > > Il giorno giovedì 16 marzo 2023 alle 17:13:37 UTC-3 fridtjof.ma....@gmail.com ha scritto:
> > > > On Thursday, March 16, 2023 at 3:23:43 PM UTC-4, Plo wrote:
> > > > > Il giorno giovedì 16 marzo 2023 alle 16:19:41 UTC-3 Plo ha scritto:
> > > > > > Il giorno giovedì 16 marzo 2023 alle 15:22:40 UTC-3 fridtjof.ma...@gmail.com ha scritto:
> > > > > > > On Thursday, March 16, 2023 at 10:32:44 AM UTC-4, Plo wrote:
> > > > > > > > Il giorno giovedì 16 marzo 2023 alle 08:22:41 UTC-3 Plo ha scritto:
> > > > > > > > > Il giorno mercoledì 15 marzo 2023 alle 10:12:57 UTC-3 Андрей Никитин ha scritto:
> > > > > > > > > > среда, 15 марта 2023 г. в 03:23:54 UTC+3, plo...@gmail.com:
> > > > > > > > > > > Il giorno sabato 11 marzo 2023 alle 16:39:13 UTC-3 Андрей Никитин ha scritto:
> > > > > > > > > > > > среда, 8 марта 2023 г. в 12:23:21 UTC+3, plo...@gmail.com:
> > > > > > > > > > > > > Il giorno martedì 7 marzo 2023 alle 07:26:10 UTC-3 Nils M Holm ha scritto:
> > > > > > > > > > > > > > plo...@gmail.com <plo...@gmail.com> wrote:
> > > > > > > > > > > > > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > > > > > > > > > > > > It is probably unrelated, but I see two 2H with only one
> > > > > > > > > > > > > > subsequent blank here.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org
> > > > > > > > > > > > > Thanks Nils,
> > > > > > > > > > > > > But that's just my transcription error of the source. The strange thing is that in the package there is an executable file FCHECK.com which is used to check all the files in the package and when I run it, all the files are OK! that is, intact... It is very strange.
> > > > > > > > > > > > Is it possible to download this compiler from the Internet. If possible please send me a link to where I can do it.
> > > > > > > > > > > >
> > > > > > > > > > > > Best regards
> > > > > > > > > > > > Andrey Nikitin
> > > > > > > > > > > https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=sharing
> > > > > > > > > > Thanks for the link to the compiler.
> > > > > > > > > > This compiler is less common among CP/M users and almost unavailable. It is a pity that there is no user manual for it.
> > > > > > > > > > I was able to compile the test programs and get object files, but I could not get executable files out of them. When I run the linker and specify an object file name and then a library name, the program crashes. Maybe you have solved this problem in some other way, and generate an executable file. I will be happy to get any information on this matter.
> > > > > > > > > >
> > > > > > > > > > regards,
> > > > > > > > > > Andrey
> > > > > > > > > Hi Andrey,
> > > > > > > > > I want to verify that the files I uploaded in the folder are correct...then I'll let you know...
> > > > > > > > I have inserted the ProsFor.rar file which contains the complete compiler and linker files. To compile:>PROFOR and follow compiler prompts. For the LINKER :>Prolink and follow the linker requests (xxx1.rel,xxx2.rel....,FORLIB.rel) The COMPLEX.FOR source generates an incomprehensible error during the PASS 2 of the compiler and if you always confirm to go to the end of the compilation and then do the LINK you will notice that when you run the complex.com executable which sums A+B=C and prints , it doesn't calculate the sum... very strange...
> > > > > > > I confirm your error:
> > > > > > > Error C at address 1D5F
> > > > > > > Continue ? (Y/N) y
> > > > > > >
> > > > > > > FCHECK seems to like the compiler parts
> > > > > > > : fred@llana prospero $; cpm fcheck
> > > > > > >
> > > > > > > PROFOR2.COM - checks OK
> > > > > > >
> > > > > > > PROFOR.ERR - checks OK
> > > > > > >
> > > > > > > FORLIB.REL - checks OK
> > > > > > >
> > > > > > > FCONFIG.COM - checks OK
> > > > > > >
> > > > > > > G1LIB.MAC - checks OK
> > > > > > >
> > > > > > > G2LIB.MAC - checks OK
> > > > > > >
> > > > > > > PRIME.FOR - checks OK
> > > > > > >
> > > > > > > COPYTX.FOR - checks OK
> > > > > > >
> > > > > > > MAZE.FOR - checks OK
> > > > > > >
> > > > > > >
> > > > > > > Is it possible that COMPLEX support is simply "not there"?
> > > > > > >
> > > > > > > : fred@llana prospero $; cat complex.map
> > > > > > > Pro Fortran Compiler - Version zz 1.2
> > > > > > > Map of: complex.FOR
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > ****************
> > > > > > > * Unit COMPLE *
> > > > > > > ****************
> > > > > > >
> > > > > > > Name Kind Type Area Offset
> > > > > > >
> > > > > > > A Variable Comp Data 0008 (8)
> > > > > > > B Variable Comp Data 0010 (16)
> > > > > > > Z Variable Comp Data 0000 (0)
> > > > > > >
> > > > > > >
> > > > > > > Sizes:-
> > > > > > >
> > > > > > > Data 0018 (24)
> > > > > > >
> > > > > > >
> > > > > > > So, the MAP file indicates that complex is there... 8 bytes is correct. I thought that maybe the IMPLICIT was interfering, and that's not it. Nor is it the variable >layout - commenting out Z = makes A 0, B 8 and Z 16 (offset). Same error.
> > > > > > Why doesn't the compiler (PROFOR2) give an error with exponential complex function? In the algebraic sum Z=A+B it gives the error!! I can't understand this...
> > > > > > PROGRAM COMPLE
> > > > > > IMPLICIT REAL (A-H,O-Z)
> > > > > > COMPLEX A,B,Z
> > > > > > C Z = CMPLX(0.0, 0.0)
> > > > > > A = CMPLX(3.5, 3.5)
> > > > > > B = CMPLX(4.0, 5.0)
> > > > > > Z = B**2
> > > > > > WRITE(1,10) A, B, Z
> > > > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > > > > PAUSE
> > > > > > STOP
> > > > > > END
> > > > > > No compiler error!!!
> > > > > > ++++++++++++++++++++++++++++++
> > > > > > Pass 2
> > > > > > Unit: Code: Data:
> > > > > > COMPLE 153 24
> > > > > > Total source lines 12
> > > > > > Prolink.........
> > > > > > Linking:
> > > > > > COMPLEX.REL
> > > > > > FORLIB.REL
> > > > > > Data:.......
> > > > > > ...............
> > > > > > ..............
> > > > > > Executable File: COMPLEX.COM
> > > > > >
> > > > > > >COMPLEX
> > > > > > 3.500 3.500 4.000 5.000 -9.000 40.000
> > > > > > A complex B complex Z=B**2 EXACT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > > > > > Why??????????????????????
> > > > > C Z = CMPLX(0.0, 0.0) Comment in column 1 ==>>...... C Z=CMPLX(0.0, 0.0)
> > > > And, just for fun - the error is in both COMPLEX + COMPLEX *and* COMPLEX + REAL. Now, I am "nerd-sniped"
> > > Strangely, the compile error "pass 2" DOES NOT APPEAR only when there is only one intrinsic function of a only complex variable i.e. Csin(z), Ccos(z), z**constant, etc. etc, when there are two or more complex operands, then the error appears!!!!
> > I'm going crazy!!!!! And I'm sorry because it's the only Fortran Compiler under CP/M-80 with COMPLEX data Type
> Perhaps this would help: I found a link for the PROSPERO PROFORTRAN manual : http://www.dilwyn.me.uk/language/ProsperoQlFortran77UM3.pdf
>
> Ladislau
Thank-You!!!


Click here to read the complete article
Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<22a359fe-a8c4-497d-bd8d-9d2c0542951fn@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4113&group=comp.os.cpm#4113

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:149:0:b0:3d5:b891:13ec with SMTP id f9-20020ac80149000000b003d5b89113ecmr2013422qtg.1.1679068156223;
Fri, 17 Mar 2023 08:49:16 -0700 (PDT)
X-Received: by 2002:a05:6830:32aa:b0:690:c81f:d459 with SMTP id
m42-20020a05683032aa00b00690c81fd459mr12566ott.3.1679068155814; Fri, 17 Mar
2023 08:49:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Fri, 17 Mar 2023 08:49:15 -0700 (PDT)
In-Reply-To: <dae320ed-0209-42e3-8937-e9f0a6131ed9n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:f2c0:92d6:4400:82a5:f7a1:fa8a:2fd1;
posting-account=KOfC_woAAAC0YBGf-3r2aV5g2Aifd9jO
NNTP-Posting-Host: 2607:f2c0:92d6:4400:82a5:f7a1:fa8a:2fd1
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com> <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
<b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com> <a0bcefdc-1673-4b7c-96b3-b8ef40230af1n@googlegroups.com>
<9133490c-1f87-4a17-938d-514ba2a4f873n@googlegroups.com> <1eacd6ce-2d88-4f60-9a02-ac993c7b59d2n@googlegroups.com>
<aa2d1889-9304-4942-a95f-8cb79cf775b9n@googlegroups.com> <badf8c21-7a23-4d3b-ab4b-0c17e4a24aa1n@googlegroups.com>
<a6d20cae-0fb3-4db4-9494-10639fb83109n@googlegroups.com> <451df5b5-6db7-40b9-9f97-428b74467ba4n@googlegroups.com>
<dae320ed-0209-42e3-8937-e9f0a6131ed9n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <22a359fe-a8c4-497d-bd8d-9d2c0542951fn@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: fridtjof...@gmail.com (fridtjof.ma...@gmail.com)
Injection-Date: Fri, 17 Mar 2023 15:49:16 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 9739
 by: fridtjof.ma...@gmail - Fri, 17 Mar 2023 15:49 UTC

On Thursday, March 16, 2023 at 7:39:01 PM UTC-4, Plo wrote:
> Il giorno giovedì 16 marzo 2023 alle 20:32:48 UTC-3 Plo ha scritto:
> > Il giorno giovedì 16 marzo 2023 alle 17:13:37 UTC-3 fridtjof.ma...@gmail.com ha scritto:
> > > On Thursday, March 16, 2023 at 3:23:43 PM UTC-4, Plo wrote:
> > > > Il giorno giovedì 16 marzo 2023 alle 16:19:41 UTC-3 Plo ha scritto:
> > > > > Il giorno giovedì 16 marzo 2023 alle 15:22:40 UTC-3 fridtjof..ma...@gmail.com ha scritto:
> > > > > > On Thursday, March 16, 2023 at 10:32:44 AM UTC-4, Plo wrote:
> > > > > > > Il giorno giovedì 16 marzo 2023 alle 08:22:41 UTC-3 Plo ha scritto:
> > > > > > > > Il giorno mercoledì 15 marzo 2023 alle 10:12:57 UTC-3 Андрей Никитин ha scritto:
> > > > > > > > > среда, 15 марта 2023 г. в 03:23:54 UTC+3, plo...@gmail.com:
> > > > > > > > > > Il giorno sabato 11 marzo 2023 alle 16:39:13 UTC-3 Андрей Никитин ha scritto:
> > > > > > > > > > > среда, 8 марта 2023 г. в 12:23:21 UTC+3, plo...@gmail.com:
> > > > > > > > > > > > Il giorno martedì 7 marzo 2023 alle 07:26:10 UTC-3 Nils M Holm ha scritto:
> > > > > > > > > > > > > plo...@gmail.com <plo...@gmail.com> wrote:
> > > > > > > > > > > > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > > > > > > > > > > > It is probably unrelated, but I see two 2H with only one
> > > > > > > > > > > > > subsequent blank here.
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org
> > > > > > > > > > > > Thanks Nils,
> > > > > > > > > > > > But that's just my transcription error of the source. The strange thing is that in the package there is an executable file FCHECK.com which is used to check all the files in the package and when I run it, all the files are OK! that is, intact... It is very strange.
> > > > > > > > > > > Is it possible to download this compiler from the Internet. If possible please send me a link to where I can do it.
> > > > > > > > > > >
> > > > > > > > > > > Best regards
> > > > > > > > > > > Andrey Nikitin
> > > > > > > > > > https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=sharing
> > > > > > > > > Thanks for the link to the compiler.
> > > > > > > > > This compiler is less common among CP/M users and almost unavailable. It is a pity that there is no user manual for it.
> > > > > > > > > I was able to compile the test programs and get object files, but I could not get executable files out of them. When I run the linker and specify an object file name and then a library name, the program crashes. Maybe you have solved this problem in some other way, and generate an executable file. I will be happy to get any information on this matter.
> > > > > > > > >
> > > > > > > > > regards,
> > > > > > > > > Andrey
> > > > > > > > Hi Andrey,
> > > > > > > > I want to verify that the files I uploaded in the folder are correct...then I'll let you know...
> > > > > > > I have inserted the ProsFor.rar file which contains the complete compiler and linker files. To compile:>PROFOR and follow compiler prompts. For the LINKER :>Prolink and follow the linker requests (xxx1.rel,xxx2.rel....,FORLIB.rel) The COMPLEX.FOR source generates an incomprehensible error during the PASS 2 of the compiler and if you always confirm to go to the end of the compilation and then do the LINK you will notice that when you run the complex.com executable which sums A+B=C and prints , it doesn't calculate the sum... very strange...
> > > > > > I confirm your error:
> > > > > > Error C at address 1D5F
> > > > > > Continue ? (Y/N) y
> > > > > >
> > > > > > FCHECK seems to like the compiler parts
> > > > > > : fred@llana prospero $; cpm fcheck
> > > > > >
> > > > > > PROFOR2.COM - checks OK
> > > > > >
> > > > > > PROFOR.ERR - checks OK
> > > > > >
> > > > > > FORLIB.REL - checks OK
> > > > > >
> > > > > > FCONFIG.COM - checks OK
> > > > > >
> > > > > > G1LIB.MAC - checks OK
> > > > > >
> > > > > > G2LIB.MAC - checks OK
> > > > > >
> > > > > > PRIME.FOR - checks OK
> > > > > >
> > > > > > COPYTX.FOR - checks OK
> > > > > >
> > > > > > MAZE.FOR - checks OK
> > > > > >
> > > > > >
> > > > > > Is it possible that COMPLEX support is simply "not there"?
> > > > > >
> > > > > > : fred@llana prospero $; cat complex.map
> > > > > > Pro Fortran Compiler - Version zz 1.2
> > > > > > Map of: complex.FOR
> > > > > >
> > > > > >
> > > > > >
> > > > > > ****************
> > > > > > * Unit COMPLE *
> > > > > > ****************
> > > > > >
> > > > > > Name Kind Type Area Offset
> > > > > >
> > > > > > A Variable Comp Data 0008 (8)
> > > > > > B Variable Comp Data 0010 (16)
> > > > > > Z Variable Comp Data 0000 (0)
> > > > > >
> > > > > >
> > > > > > Sizes:-
> > > > > >
> > > > > > Data 0018 (24)
> > > > > >
> > > > > >
> > > > > > So, the MAP file indicates that complex is there... 8 bytes is correct. I thought that maybe the IMPLICIT was interfering, and that's not it. Nor is it the variable >layout - commenting out Z = makes A 0, B 8 and Z 16 (offset). Same error.
> > > > > Why doesn't the compiler (PROFOR2) give an error with exponential complex function? In the algebraic sum Z=A+B it gives the error!! I can't understand this...
> > > > > PROGRAM COMPLE
> > > > > IMPLICIT REAL (A-H,O-Z)
> > > > > COMPLEX A,B,Z
> > > > > C Z = CMPLX(0.0, 0.0)
> > > > > A = CMPLX(3.5, 3.5)
> > > > > B = CMPLX(4.0, 5.0)
> > > > > Z = B**2
> > > > > WRITE(1,10) A, B, Z
> > > > > 10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3)
> > > > > PAUSE
> > > > > STOP
> > > > > END
> > > > > No compiler error!!!
> > > > > ++++++++++++++++++++++++++++++
> > > > > Pass 2
> > > > > Unit: Code: Data:
> > > > > COMPLE 153 24
> > > > > Total source lines 12
> > > > > Prolink.........
> > > > > Linking:
> > > > > COMPLEX.REL
> > > > > FORLIB.REL
> > > > > Data:.......
> > > > > ...............
> > > > > ..............
> > > > > Executable File: COMPLEX.COM
> > > > >
> > > > > >COMPLEX
> > > > > 3.500 3.500 4.000 5.000 -9.000 40.000
> > > > > A complex B complex Z=B**2 EXACT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > > > > Why??????????????????????
> > > > C Z = CMPLX(0.0, 0.0) Comment in column 1 ==>>...... C Z=CMPLX(0.0, 0.0)
> > > And, just for fun - the error is in both COMPLEX + COMPLEX *and* COMPLEX + REAL. Now, I am "nerd-sniped"
> > Strangely, the compile error "pass 2" DOES NOT APPEAR only when there is only one intrinsic function of a only complex variable i.e. Csin(z), Ccos(z), z**constant, etc. etc, when there are two or more complex operands, then the error appears!!!!
> I'm going crazy!!!!! And I'm sorry because it's the only Fortran Compiler under CP/M-80 with COMPLEX data Type
The SuperSoft FORTRAN (version 3.2) supports COMPLEX as well. But I would love to see the Prospero FORTRAN "brought back to life"


Click here to read the complete article
Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<a4d962fe-b5c6-47b9-8db9-7b3be3f93bd3n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4119&group=comp.os.cpm#4119

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ad4:4e50:0:b0:5a2:29c1:b553 with SMTP id eb16-20020ad44e50000000b005a229c1b553mr5874355qvb.4.1679162357387;
Sat, 18 Mar 2023 10:59:17 -0700 (PDT)
X-Received: by 2002:a54:4418:0:b0:384:389a:1add with SMTP id
k24-20020a544418000000b00384389a1addmr4434092oiw.1.1679162357151; Sat, 18 Mar
2023 10:59:17 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sat, 18 Mar 2023 10:59:16 -0700 (PDT)
In-Reply-To: <22a359fe-a8c4-497d-bd8d-9d2c0542951fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=184.65.199.217; posting-account=-IIShgoAAABn3OBN6yyn_j_cvr-dTEQg
NNTP-Posting-Host: 184.65.199.217
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com> <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
<b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com> <a0bcefdc-1673-4b7c-96b3-b8ef40230af1n@googlegroups.com>
<9133490c-1f87-4a17-938d-514ba2a4f873n@googlegroups.com> <1eacd6ce-2d88-4f60-9a02-ac993c7b59d2n@googlegroups.com>
<aa2d1889-9304-4942-a95f-8cb79cf775b9n@googlegroups.com> <badf8c21-7a23-4d3b-ab4b-0c17e4a24aa1n@googlegroups.com>
<a6d20cae-0fb3-4db4-9494-10639fb83109n@googlegroups.com> <451df5b5-6db7-40b9-9f97-428b74467ba4n@googlegroups.com>
<dae320ed-0209-42e3-8937-e9f0a6131ed9n@googlegroups.com> <22a359fe-a8c4-497d-bd8d-9d2c0542951fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a4d962fe-b5c6-47b9-8db9-7b3be3f93bd3n@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: mdlough...@gmail.com (Mark Lougheed)
Injection-Date: Sat, 18 Mar 2023 17:59:17 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2405
 by: Mark Lougheed - Sat, 18 Mar 2023 17:59 UTC

> > I'm going crazy!!!!! And I'm sorry because it's the only Fortran Compiler under CP/M-80 with COMPLEX data Type
> The SuperSoft FORTRAN (version 3.2) supports COMPLEX as well. But I would love to see the Prospero FORTRAN "brought back to life"

+1 with regard to SuperSoft FORTRAN - For Z-80. I don't recall an 8080 targeted CP/M-80 FORTRAN compiler that had COMPLEX data types - certainly not Microsoft F-80 or Nevada FORTRAN.
http://www.z80.eu/for-compiler.html

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<03a9332a-3578-4c7c-91b5-15a209efb3f6n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4125&group=comp.os.cpm#4125

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:18a6:b0:3de:748e:fd30 with SMTP id v38-20020a05622a18a600b003de748efd30mr1454344qtc.10.1679265779554;
Sun, 19 Mar 2023 15:42:59 -0700 (PDT)
X-Received: by 2002:a05:6830:39ce:b0:697:bd4c:1574 with SMTP id
bt14-20020a05683039ce00b00697bd4c1574mr1819284otb.4.1679265779200; Sun, 19
Mar 2023 15:42:59 -0700 (PDT)
Path: i2pn2.org!i2pn.org!diablo1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sun, 19 Mar 2023 15:42:58 -0700 (PDT)
In-Reply-To: <a4d962fe-b5c6-47b9-8db9-7b3be3f93bd3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=181.126.168.116; posting-account=RMlmTQoAAACPlMwglZiJPNUMIMJUuH19
NNTP-Posting-Host: 181.126.168.116
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com> <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
<b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com> <a0bcefdc-1673-4b7c-96b3-b8ef40230af1n@googlegroups.com>
<9133490c-1f87-4a17-938d-514ba2a4f873n@googlegroups.com> <1eacd6ce-2d88-4f60-9a02-ac993c7b59d2n@googlegroups.com>
<aa2d1889-9304-4942-a95f-8cb79cf775b9n@googlegroups.com> <badf8c21-7a23-4d3b-ab4b-0c17e4a24aa1n@googlegroups.com>
<a6d20cae-0fb3-4db4-9494-10639fb83109n@googlegroups.com> <451df5b5-6db7-40b9-9f97-428b74467ba4n@googlegroups.com>
<dae320ed-0209-42e3-8937-e9f0a6131ed9n@googlegroups.com> <22a359fe-a8c4-497d-bd8d-9d2c0542951fn@googlegroups.com>
<a4d962fe-b5c6-47b9-8db9-7b3be3f93bd3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <03a9332a-3578-4c7c-91b5-15a209efb3f6n@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: plor...@gmail.com (Plo)
Injection-Date: Sun, 19 Mar 2023 22:42:59 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3422
 by: Plo - Sun, 19 Mar 2023 22:42 UTC

Il giorno sabato 18 marzo 2023 alle 14:59:18 UTC-3 Mark Lougheed ha scritto:
> > > I'm going crazy!!!!! And I'm sorry because it's the only Fortran Compiler under CP/M-80 with COMPLEX data Type
> > The SuperSoft FORTRAN (version 3.2) supports COMPLEX as well. But I would love to see the Prospero FORTRAN "brought back to life"
> +1 with regard to SuperSoft FORTRAN - For Z-80. I don't recall an 8080 targeted CP/M-80 FORTRAN compiler that had COMPLEX data types - certainly not Microsoft F-80 or Nevada FORTRAN.
> http://www.z80.eu/for-compiler.html
There is also a version of Prospero PRO Fortran CP/m-80 specific for Amstrad CPC9512 which is distributed with the same files and which works perfectly without any compilation errors under CP/M-80. But if I try to use the compiler in my Z80 CP/m emulator it tells me that the pc is not Amstrad PC!!!! and exits compilation. The files are the same as the generic CP/M-80 distribution. If you want to have fun, install the Amstrad Jocelyne emulator and after booting with the CP/M image disks and loading the PRO FORTRAN fortran compiler on disk B: and run the compilation of the same source COMPLEX.FOR everything works!!! But only for Amstrad !!!!
You can find everything in my previous link..... https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=share_link

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<70743305-d3ef-4bee-8256-1ea2e8f92c75n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4127&group=comp.os.cpm#4127

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:1138:b0:745:7790:7c52 with SMTP id p24-20020a05620a113800b0074577907c52mr5719997qkk.2.1679297669977;
Mon, 20 Mar 2023 00:34:29 -0700 (PDT)
X-Received: by 2002:a9d:6e02:0:b0:69b:cbec:e882 with SMTP id
e2-20020a9d6e02000000b0069bcbece882mr2539884otr.7.1679297669663; Mon, 20 Mar
2023 00:34:29 -0700 (PDT)
Path: i2pn2.org!i2pn.org!diablo1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Mon, 20 Mar 2023 00:34:29 -0700 (PDT)
In-Reply-To: <03a9332a-3578-4c7c-91b5-15a209efb3f6n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=86.125.83.230; posting-account=Zav8fAoAAACRqOOZYggbw7GhvvIJEzFn
NNTP-Posting-Host: 86.125.83.230
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com> <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
<b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com> <a0bcefdc-1673-4b7c-96b3-b8ef40230af1n@googlegroups.com>
<9133490c-1f87-4a17-938d-514ba2a4f873n@googlegroups.com> <1eacd6ce-2d88-4f60-9a02-ac993c7b59d2n@googlegroups.com>
<aa2d1889-9304-4942-a95f-8cb79cf775b9n@googlegroups.com> <badf8c21-7a23-4d3b-ab4b-0c17e4a24aa1n@googlegroups.com>
<a6d20cae-0fb3-4db4-9494-10639fb83109n@googlegroups.com> <451df5b5-6db7-40b9-9f97-428b74467ba4n@googlegroups.com>
<dae320ed-0209-42e3-8937-e9f0a6131ed9n@googlegroups.com> <22a359fe-a8c4-497d-bd8d-9d2c0542951fn@googlegroups.com>
<a4d962fe-b5c6-47b9-8db9-7b3be3f93bd3n@googlegroups.com> <03a9332a-3578-4c7c-91b5-15a209efb3f6n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <70743305-d3ef-4bee-8256-1ea2e8f92c75n@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: ladislau...@euroqst.ro (ladislau szilagyi)
Injection-Date: Mon, 20 Mar 2023 07:34:29 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4271
 by: ladislau szilagyi - Mon, 20 Mar 2023 07:34 UTC

Pe luni, 20 martie 2023, la 00:43:00 UTC+2, Plo a scris:
> Il giorno sabato 18 marzo 2023 alle 14:59:18 UTC-3 Mark Lougheed ha scritto:
> > > > I'm going crazy!!!!! And I'm sorry because it's the only Fortran Compiler under CP/M-80 with COMPLEX data Type
> > > The SuperSoft FORTRAN (version 3.2) supports COMPLEX as well. But I would love to see the Prospero FORTRAN "brought back to life"
> > +1 with regard to SuperSoft FORTRAN - For Z-80. I don't recall an 8080 targeted CP/M-80 FORTRAN compiler that had COMPLEX data types - certainly not Microsoft F-80 or Nevada FORTRAN.
> > http://www.z80.eu/for-compiler.html
> There is also a version of Prospero PRO Fortran CP/m-80 specific for Amstrad CPC9512 which is distributed with the same files and which works perfectly without any compilation errors under CP/M-80. But if I try to use the compiler in my Z80 CP/m emulator it tells me that the pc is not Amstrad PC!!!! and exits compilation. The files are the same as the generic CP/M-80 distribution. If you want to have fun, install the Amstrad Jocelyne emulator and after booting with the CP/M image disks and loading the PRO FORTRAN fortran compiler on disk B: and run the compilation of the same source COMPLEX.FOR everything works!!! But only for Amstrad !!!!
> You can find everything in my previous link..... https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=share_link

(@Plo)

Hi,

it seems that the Amstrad Fortran runs only on CPM 3...

A quick check of the code ( PROFOR.COM ) shows that there is code that checks this:

sub_8aadh:
ld c,00ch ;8aad GET CP/M VERSION
call 00005h ;8aaf
cp 030h ;8ab2 COMPARE WITH 3
jr c,l8ac8h ;8ab4 IF LESS, ISSUE ERROR MESSAGE: "This is Amstrad version"

l8ac8h:
ld c,009h ;8ac8
ld de,l8ad3h ;8aca SEE BELOW THE ERROR MESSAGE
call 00005h ;8acd
jp 00000h ;8ad0

8AD0 : C3 00 00 54 68 69 73 20 69 73 20 41 6D 73 74 72 : ...This is Amstr
8AE0 : 61 64 20 76 65 72 73 69 6F 6E 24 00 00 00 00 00 : ad version$.....

Ladislau

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<47ca8fc4-cc82-431c-b5cb-ba8f16c09775n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4128&group=comp.os.cpm#4128

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:1484:0:b0:3d5:759b:522e with SMTP id l4-20020ac81484000000b003d5759b522emr4603898qtj.7.1679306659237;
Mon, 20 Mar 2023 03:04:19 -0700 (PDT)
X-Received: by 2002:a05:6820:1aa6:b0:525:1c3a:f785 with SMTP id
bt38-20020a0568201aa600b005251c3af785mr2441109oob.0.1679306658839; Mon, 20
Mar 2023 03:04:18 -0700 (PDT)
Path: i2pn2.org!i2pn.org!diablo1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Mon, 20 Mar 2023 03:04:18 -0700 (PDT)
In-Reply-To: <70743305-d3ef-4bee-8256-1ea2e8f92c75n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=181.126.168.116; posting-account=RMlmTQoAAACPlMwglZiJPNUMIMJUuH19
NNTP-Posting-Host: 181.126.168.116
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<k6ohpvFkd7rU1@mid.individual.net> <a5768018-5fed-40b8-a4f0-f1fb14e54c3cn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com> <685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
<b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com> <a0bcefdc-1673-4b7c-96b3-b8ef40230af1n@googlegroups.com>
<9133490c-1f87-4a17-938d-514ba2a4f873n@googlegroups.com> <1eacd6ce-2d88-4f60-9a02-ac993c7b59d2n@googlegroups.com>
<aa2d1889-9304-4942-a95f-8cb79cf775b9n@googlegroups.com> <badf8c21-7a23-4d3b-ab4b-0c17e4a24aa1n@googlegroups.com>
<a6d20cae-0fb3-4db4-9494-10639fb83109n@googlegroups.com> <451df5b5-6db7-40b9-9f97-428b74467ba4n@googlegroups.com>
<dae320ed-0209-42e3-8937-e9f0a6131ed9n@googlegroups.com> <22a359fe-a8c4-497d-bd8d-9d2c0542951fn@googlegroups.com>
<a4d962fe-b5c6-47b9-8db9-7b3be3f93bd3n@googlegroups.com> <03a9332a-3578-4c7c-91b5-15a209efb3f6n@googlegroups.com>
<70743305-d3ef-4bee-8256-1ea2e8f92c75n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <47ca8fc4-cc82-431c-b5cb-ba8f16c09775n@googlegroups.com>
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
From: plor...@gmail.com (Plo)
Injection-Date: Mon, 20 Mar 2023 10:04:19 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4672
 by: Plo - Mon, 20 Mar 2023 10:04 UTC

Il giorno lunedì 20 marzo 2023 alle 04:34:31 UTC-3 ladislau szilagyi ha scritto:
> Pe luni, 20 martie 2023, la 00:43:00 UTC+2, Plo a scris:
> > Il giorno sabato 18 marzo 2023 alle 14:59:18 UTC-3 Mark Lougheed ha scritto:
> > > > > I'm going crazy!!!!! And I'm sorry because it's the only Fortran Compiler under CP/M-80 with COMPLEX data Type
> > > > The SuperSoft FORTRAN (version 3.2) supports COMPLEX as well. But I would love to see the Prospero FORTRAN "brought back to life"
> > > +1 with regard to SuperSoft FORTRAN - For Z-80. I don't recall an 8080 targeted CP/M-80 FORTRAN compiler that had COMPLEX data types - certainly not Microsoft F-80 or Nevada FORTRAN.
> > > http://www.z80.eu/for-compiler.html
> > There is also a version of Prospero PRO Fortran CP/m-80 specific for Amstrad CPC9512 which is distributed with the same files and which works perfectly without any compilation errors under CP/M-80. But if I try to use the compiler in my Z80 CP/m emulator it tells me that the pc is not Amstrad PC!!!! and exits compilation. The files are the same as the generic CP/M-80 distribution. If you want to have fun, install the Amstrad Jocelyne emulator and after booting with the CP/M image disks and loading the PRO FORTRAN fortran compiler on disk B: and run the compilation of the same source COMPLEX.FOR everything works!!! But only for Amstrad !!!!
> > You can find everything in my previous link..... https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=share_link
> (@Plo)
>
> Hi,
>
> it seems that the Amstrad Fortran runs only on CPM 3...
>
> A quick check of the code ( PROFOR.COM ) shows that there is code that checks this:
>
> sub_8aadh:
> ld c,00ch ;8aad GET CP/M VERSION
> call 00005h ;8aaf
> cp 030h ;8ab2 COMPARE WITH 3
> jr c,l8ac8h ;8ab4 IF LESS, ISSUE ERROR MESSAGE: "This is Amstrad version"
>
> l8ac8h:
> ld c,009h ;8ac8
> ld de,l8ad3h ;8aca SEE BELOW THE ERROR MESSAGE
> call 00005h ;8acd
> jp 00000h ;8ad0
>
> 8AD0 : C3 00 00 54 68 69 73 20 69 73 20 41 6D 73 74 72 : ...This is Amstr
> 8AE0 : 61 64 20 76 65 72 73 69 6F 6E 24 00 00 00 00 00 : ad version$.....
>
> Ladislau
Wonderful analysis!!!
Is it possible to disassemble Amstrad's PROFOR.COM and remove the version check? It would be a resounding success to be able to use it also on other platforms and versions of CP/M-80!!!

Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

<k7qq1bFsr5gU1@mid.individual.net>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4129&group=comp.os.cpm#4129

 copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: jos...@invalid.invalid (Josef Möllers)
Newsgroups: comp.os.cpm
Subject: Re: STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80
Date: Mon, 20 Mar 2023 11:15:07 +0100
Lines: 51
Message-ID: <k7qq1bFsr5gU1@mid.individual.net>
References: <662ff4f7-12c7-489f-9086-ec7c0603a18bn@googlegroups.com>
<4356e6c8-ef5f-4e8c-a572-acc77cc6aea3n@googlegroups.com>
<685dd155-01f8-439c-bc82-800106602565n@googlegroups.com>
<b33b275c-9e35-4fe4-a1cd-5edcb33e6cc8n@googlegroups.com>
<a0bcefdc-1673-4b7c-96b3-b8ef40230af1n@googlegroups.com>
<9133490c-1f87-4a17-938d-514ba2a4f873n@googlegroups.com>
<1eacd6ce-2d88-4f60-9a02-ac993c7b59d2n@googlegroups.com>
<aa2d1889-9304-4942-a95f-8cb79cf775b9n@googlegroups.com>
<badf8c21-7a23-4d3b-ab4b-0c17e4a24aa1n@googlegroups.com>
<a6d20cae-0fb3-4db4-9494-10639fb83109n@googlegroups.com>
<451df5b5-6db7-40b9-9f97-428b74467ba4n@googlegroups.com>
<dae320ed-0209-42e3-8937-e9f0a6131ed9n@googlegroups.com>
<22a359fe-a8c4-497d-bd8d-9d2c0542951fn@googlegroups.com>
<a4d962fe-b5c6-47b9-8db9-7b3be3f93bd3n@googlegroups.com>
<03a9332a-3578-4c7c-91b5-15a209efb3f6n@googlegroups.com>
<70743305-d3ef-4bee-8256-1ea2e8f92c75n@googlegroups.com>
<47ca8fc4-cc82-431c-b5cb-ba8f16c09775n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 4zYn/3tHkDaBCEDodtl+egJhDkQtorsBjINMBEwu/wioEc2BLd
Cancel-Lock: sha1:GtlFhU4xXiCYp2WGndAjLF8jCXw=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Content-Language: en-US
In-Reply-To: <47ca8fc4-cc82-431c-b5cb-ba8f16c09775n@googlegroups.com>
 by: Josef Möllers - Mon, 20 Mar 2023 10:15 UTC

On 20.03.23 11:04, Plo wrote:
> Il giorno lunedì 20 marzo 2023 alle 04:34:31 UTC-3 ladislau szilagyi ha scritto:
>> Pe luni, 20 martie 2023, la 00:43:00 UTC+2, Plo a scris:
>>> Il giorno sabato 18 marzo 2023 alle 14:59:18 UTC-3 Mark Lougheed ha scritto:
>>>>>> I'm going crazy!!!!! And I'm sorry because it's the only Fortran Compiler under CP/M-80 with COMPLEX data Type
>>>>> The SuperSoft FORTRAN (version 3.2) supports COMPLEX as well. But I would love to see the Prospero FORTRAN "brought back to life"
>>>> +1 with regard to SuperSoft FORTRAN - For Z-80. I don't recall an 8080 targeted CP/M-80 FORTRAN compiler that had COMPLEX data types - certainly not Microsoft F-80 or Nevada FORTRAN.
>>>> http://www.z80.eu/for-compiler.html
>>> There is also a version of Prospero PRO Fortran CP/m-80 specific for Amstrad CPC9512 which is distributed with the same files and which works perfectly without any compilation errors under CP/M-80. But if I try to use the compiler in my Z80 CP/m emulator it tells me that the pc is not Amstrad PC!!!! and exits compilation. The files are the same as the generic CP/M-80 distribution. If you want to have fun, install the Amstrad Jocelyne emulator and after booting with the CP/M image disks and loading the PRO FORTRAN fortran compiler on disk B: and run the compilation of the same source COMPLEX.FOR everything works!!! But only for Amstrad !!!!
>>> You can find everything in my previous link..... https://drive.google.com/drive/folders/1ms1yidXdQswVCvs0yU63sCnLTX6HhzKr?usp=share_link
>> (@Plo)
>>
>> Hi,
>>
>> it seems that the Amstrad Fortran runs only on CPM 3...
>>
>> A quick check of the code ( PROFOR.COM ) shows that there is code that checks this:
>>
>> sub_8aadh:
>> ld c,00ch ;8aad GET CP/M VERSION
>> call 00005h ;8aaf
>> cp 030h ;8ab2 COMPARE WITH 3
>> jr c,l8ac8h ;8ab4 IF LESS, ISSUE ERROR MESSAGE: "This is Amstrad version"
>>
>> l8ac8h:
>> ld c,009h ;8ac8
>> ld de,l8ad3h ;8aca SEE BELOW THE ERROR MESSAGE
>> call 00005h ;8acd
>> jp 00000h ;8ad0
>>
>> 8AD0 : C3 00 00 54 68 69 73 20 69 73 20 41 6D 73 74 72 : ...This is Amstr
>> 8AE0 : 61 64 20 76 65 72 73 69 6F 6E 24 00 00 00 00 00 : ad version$.....
>>
>> Ladislau
> Wonderful analysis!!!
> Is it possible to disassemble Amstrad's PROFOR.COM and remove the version check? It would be a resounding success to be able to use it also on other platforms and versions of CP/M-80!!!

You can always replace at least the "jr c,l8ac8h" with two NOPs to
neverever jump to the error message. BTDT(*)

Josef

(*) When I got my SB180FX, I wanted to add a hard disk (10MB!!!!!
Yeah!") which I bought second-hand from my employer. Unfortunately the
formatting program refused to format the disk, so I assumed it was
defective and gave it back in exchange for another one, which ... also
did not work. An analysis of the formatting program revealed that it
first checked the existing format and refused to format the disk it it
didn't have 512 byte sectors ;-) I then just over-wrote the check with
NOPs and ... voila ... the disk was successfully formatted to 512
bytes/sector.

Pages:12
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor