Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Every living thing wants to survive. -- Spock, "The Ultimate Computer", stardate 4731.3


devel / comp.os.cpm / Re: MATLAB

SubjectAuthor
* MATLABfridtjof.ma...@gmail.com
`* Re: MATLABRoss Presser
 `* Re: MATLABfridtjof.ma...@gmail.com
  `* Re: MATLABPeter Ljungberg
   `- Re: MATLABfridtjof.ma...@gmail.com

1
MATLAB

<3ae349b6-3862-49bf-9c8b-e063f3192320n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:2719:b0:69b:f3ba:3aa7 with SMTP id b25-20020a05620a271900b0069bf3ba3aa7mr6660078qkp.152.1649624850689;
Sun, 10 Apr 2022 14:07:30 -0700 (PDT)
X-Received: by 2002:a05:6808:1305:b0:2da:5086:fa34 with SMTP id
y5-20020a056808130500b002da5086fa34mr3769141oiv.230.1649624850426; Sun, 10
Apr 2022 14:07:30 -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: Sun, 10 Apr 2022 14:07:30 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2607:f2c0:9492:e900:9329:70c1:61dc:a0;
posting-account=KOfC_woAAAC0YBGf-3r2aV5g2Aifd9jO
NNTP-Posting-Host: 2607:f2c0:9492:e900:9329:70c1:61dc:a0
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3ae349b6-3862-49bf-9c8b-e063f3192320n@googlegroups.com>
Subject: MATLAB
From: fridtjof...@gmail.com (fridtjof.ma...@gmail.com)
Injection-Date: Sun, 10 Apr 2022 21:07:30 +0000
Content-Type: text/plain; charset="UTF-8"
 by: fridtjof.ma...@gmail - Sun, 10 Apr 2022 21:07 UTC

I am attempting putting MATLAB (1982 version) on the Altair-Duino.

Has anyone ever seen a CP/M-80 version of MATLAB?

Thanks
FredW

Re: MATLAB

<498f4cbb-5fd9-42e1-831c-4cd0c655d8a4n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:5dcf:0:b0:2e1:baf1:502d with SMTP id e15-20020ac85dcf000000b002e1baf1502dmr7943728qtx.635.1650307808496;
Mon, 18 Apr 2022 11:50:08 -0700 (PDT)
X-Received: by 2002:a05:6808:1203:b0:2fa:685a:babc with SMTP id
a3-20020a056808120300b002fa685ababcmr5911484oil.162.1650307808110; Mon, 18
Apr 2022 11:50:08 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.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: Mon, 18 Apr 2022 11:50:07 -0700 (PDT)
In-Reply-To: <3ae349b6-3862-49bf-9c8b-e063f3192320n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=136.226.51.19; posting-account=SOVadwoAAAB3h7W1MLW9kMYtEc2JW2L8
NNTP-Posting-Host: 136.226.51.19
References: <3ae349b6-3862-49bf-9c8b-e063f3192320n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <498f4cbb-5fd9-42e1-831c-4cd0c655d8a4n@googlegroups.com>
Subject: Re: MATLAB
From: rpres...@gmail.com (Ross Presser)
Injection-Date: Mon, 18 Apr 2022 18:50:08 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 8
 by: Ross Presser - Mon, 18 Apr 2022 18:50 UTC

On Sunday, April 10, 2022 at 5:07:31 PM UTC-4, fridtjof.ma...@gmail.com wrote:
> I am attempting putting MATLAB (1982 version) on the Altair-Duino.
>
> Has anyone ever seen a CP/M-80 version of MATLAB?
From the MATLAB history page, it does not appear that anything like MATLAB
existed before 1983 in any real form, and that the IBM PC's introduction was
the impetus to rewrite FORTRAN MATLAB in C, with the IBM PC as the first intended
target (and Unix workstations next).

Re: MATLAB

<33b8a42c-8612-4415-b5cd-0a19696dcc17n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a37:bf04:0:b0:69e:6243:f141 with SMTP id p4-20020a37bf04000000b0069e6243f141mr7734766qkf.229.1650315762976;
Mon, 18 Apr 2022 14:02:42 -0700 (PDT)
X-Received: by 2002:a54:439a:0:b0:2ef:9bf6:e702 with SMTP id
u26-20020a54439a000000b002ef9bf6e702mr8211533oiv.105.1650315762386; Mon, 18
Apr 2022 14:02:42 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.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: Mon, 18 Apr 2022 14:02:42 -0700 (PDT)
In-Reply-To: <498f4cbb-5fd9-42e1-831c-4cd0c655d8a4n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:f2c0:9492:e900:7544:8d2b:c068:763a;
posting-account=KOfC_woAAAC0YBGf-3r2aV5g2Aifd9jO
NNTP-Posting-Host: 2607:f2c0:9492:e900:7544:8d2b:c068:763a
References: <3ae349b6-3862-49bf-9c8b-e063f3192320n@googlegroups.com> <498f4cbb-5fd9-42e1-831c-4cd0c655d8a4n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <33b8a42c-8612-4415-b5cd-0a19696dcc17n@googlegroups.com>
Subject: Re: MATLAB
From: fridtjof...@gmail.com (fridtjof.ma...@gmail.com)
Injection-Date: Mon, 18 Apr 2022 21:02:42 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 18
 by: fridtjof.ma...@gmail - Mon, 18 Apr 2022 21:02 UTC

On Monday, April 18, 2022 at 2:50:09 PM UTC-4, rpre...@gmail.com wrote:
> On Sunday, April 10, 2022 at 5:07:31 PM UTC-4, fridtjof.ma...@gmail.com wrote:
> > I am attempting putting MATLAB (1982 version) on the Altair-Duino.
> >
> > Has anyone ever seen a CP/M-80 version of MATLAB?
> From the MATLAB history page, it does not appear that anything like MATLAB
> existed before 1983 in any real form, and that the IBM PC's introduction was
> the impetus to rewrite FORTRAN MATLAB in C, with the IBM PC as the first intended
> target (and Unix workstations next).

I have the FORTRAN source for MATLAB 1982 and 1988. The main difference is that
SAVE statements were introduced into the 1988 version. That version has been run on VAX,
IBM-PC and some other platforms. The help file dates from 1981 (Cleve Moler).

I have built all FORTRAN code on Microsoft FORTRAN-80, and run through about 2000 lines.

I may be able to save space by reducing DOUBLE PRECISION to REAL, and am working on overlay structure for the code. I am using Phoenix PLINK-II to provides overlays.

Just a "for fun" project.

Re: MATLAB

<906d37e0-a8f1-4374-8d7d-8015dbe1fe19n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:56:b0:2f1:fbea:c68d with SMTP id y22-20020a05622a005600b002f1fbeac68dmr868975qtw.58.1650570696708;
Thu, 21 Apr 2022 12:51:36 -0700 (PDT)
X-Received: by 2002:a05:6830:25cc:b0:5c9:5fc5:32b1 with SMTP id
d12-20020a05683025cc00b005c95fc532b1mr566986otu.138.1650570693412; Thu, 21
Apr 2022 12:51:33 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.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, 21 Apr 2022 12:51:33 -0700 (PDT)
In-Reply-To: <33b8a42c-8612-4415-b5cd-0a19696dcc17n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=92.107.230.71; posting-account=xk1ivQoAAACYhVHe0AtVzlm252SdQzfx
NNTP-Posting-Host: 92.107.230.71
References: <3ae349b6-3862-49bf-9c8b-e063f3192320n@googlegroups.com>
<498f4cbb-5fd9-42e1-831c-4cd0c655d8a4n@googlegroups.com> <33b8a42c-8612-4415-b5cd-0a19696dcc17n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <906d37e0-a8f1-4374-8d7d-8015dbe1fe19n@googlegroups.com>
Subject: Re: MATLAB
From: peter.lj...@gmail.com (Peter Ljungberg)
Injection-Date: Thu, 21 Apr 2022 19:51:36 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 22
 by: Peter Ljungberg - Thu, 21 Apr 2022 19:51 UTC

On Monday, April 18, 2022 at 11:02:44 PM UTC+2, fridtjof.ma...@gmail.com wrote:
> On Monday, April 18, 2022 at 2:50:09 PM UTC-4, rpre...@gmail.com wrote:
> > On Sunday, April 10, 2022 at 5:07:31 PM UTC-4, fridtjof.ma...@gmail.com wrote:
> > > I am attempting putting MATLAB (1982 version) on the Altair-Duino.
> > >
> > > Has anyone ever seen a CP/M-80 version of MATLAB?
> > From the MATLAB history page, it does not appear that anything like MATLAB
> > existed before 1983 in any real form, and that the IBM PC's introduction was
> > the impetus to rewrite FORTRAN MATLAB in C, with the IBM PC as the first intended
> > target (and Unix workstations next).
> I have the FORTRAN source for MATLAB 1982 and 1988. The main difference is that
> SAVE statements were introduced into the 1988 version. That version has been run on VAX,
> IBM-PC and some other platforms. The help file dates from 1981 (Cleve Moler).
>
> I have built all FORTRAN code on Microsoft FORTRAN-80, and run through about 2000 lines.
>
> I may be able to save space by reducing DOUBLE PRECISION to REAL, and am working on overlay structure for the code. I am using Phoenix PLINK-II to provides overlays.
>
> Just a "for fun" project.

VAX, is that VMS?
Would be nice to have a copy of that ;-)
^P

Re: MATLAB

<ea201204-7ce1-4f78-b6e1-105341366f9fn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:c64:b0:449:7011:569d with SMTP id t4-20020a0562140c6400b004497011569dmr962912qvj.90.1650573246196;
Thu, 21 Apr 2022 13:34:06 -0700 (PDT)
X-Received: by 2002:a05:6808:1ab4:b0:323:e309:facc with SMTP id
bm52-20020a0568081ab400b00323e309faccmr30571oib.205.1650573245898; Thu, 21
Apr 2022 13:34:05 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.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, 21 Apr 2022 13:34:05 -0700 (PDT)
In-Reply-To: <906d37e0-a8f1-4374-8d7d-8015dbe1fe19n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:f2c0:9492:e900:7544:8d2b:c068:763a;
posting-account=KOfC_woAAAC0YBGf-3r2aV5g2Aifd9jO
NNTP-Posting-Host: 2607:f2c0:9492:e900:7544:8d2b:c068:763a
References: <3ae349b6-3862-49bf-9c8b-e063f3192320n@googlegroups.com>
<498f4cbb-5fd9-42e1-831c-4cd0c655d8a4n@googlegroups.com> <33b8a42c-8612-4415-b5cd-0a19696dcc17n@googlegroups.com>
<906d37e0-a8f1-4374-8d7d-8015dbe1fe19n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ea201204-7ce1-4f78-b6e1-105341366f9fn@googlegroups.com>
Subject: Re: MATLAB
From: fridtjof...@gmail.com (fridtjof.ma...@gmail.com)
Injection-Date: Thu, 21 Apr 2022 20:34:06 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 94
 by: fridtjof.ma...@gmail - Thu, 21 Apr 2022 20:34 UTC

On Thursday, April 21, 2022 at 3:51:37 PM UTC-4, peter.lju...@gmail.com wrote:
> On Monday, April 18, 2022 at 11:02:44 PM UTC+2, fridtjof.ma...@gmail.com wrote:
> > On Monday, April 18, 2022 at 2:50:09 PM UTC-4, rpre...@gmail.com wrote:
> > > On Sunday, April 10, 2022 at 5:07:31 PM UTC-4, fridtjof.ma...@gmail.com wrote:
> > > > I am attempting putting MATLAB (1982 version) on the Altair-Duino.
> > > >
> > > > Has anyone ever seen a CP/M-80 version of MATLAB?
> > > From the MATLAB history page, it does not appear that anything like MATLAB
> > > existed before 1983 in any real form, and that the IBM PC's introduction was
> > > the impetus to rewrite FORTRAN MATLAB in C, with the IBM PC as the first intended
> > > target (and Unix workstations next).
> > I have the FORTRAN source for MATLAB 1982 and 1988. The main difference is that
> > SAVE statements were introduced into the 1988 version. That version has been run on VAX,
> > IBM-PC and some other platforms. The help file dates from 1981 (Cleve Moler).
> >
> > I have built all FORTRAN code on Microsoft FORTRAN-80, and run through about 2000 lines.
> >
> > I may be able to save space by reducing DOUBLE PRECISION to REAL, and am working on overlay structure for the code. I am using Phoenix PLINK-II to provides overlays.
> >
> > Just a "for fun" project.
> VAX, is that VMS?
> Would be nice to have a copy of that ;-)
> ^P
Peter

Yes, VAX under VMS. 50,500 elements. I have it compiling and linking:

PSA Linkage Editor II (CP/M) [P20100-0114 ]
Copyright (C) 1981 by Phoenix Software Associates Ltd.

MATLAB.PRG (C988H, 51K)

: fred@fedora src $;

And, it does run, minimally....

: fred@fedora src $; execute matlab

Overlay loader Initialized
Request to load overlay 18: read from disk
Request to load overlay 76: read from disk
Calling 3440
Request to load overlay 11: read from disk
Calling 9990
Request to load overlay 49: read from disk
Request to load overlay 18: still in memory
FILES 1
Calling 9990
Request to load overlay 49: still in memory
FILES 1

< M A T L A B >
VERSION OF 05/25/82
Calling 9990
Request to load overlay 49: still in memory
FILES 9

HELP IS AVAILABLE
Calling 9990
Request to load overlay 62: read from disk
Request to load overlay 18: still in memory
Calling 9990
Request to load overlay 48: read from disk
Request to load overlay 18: still in memory
Calling 9990
Request to load overlay 48: still in memory
Calling 9990
Request to load overlay 48: still in memory
Calling 9990
Request to load overlay 48: still in memory
PARSE 0 0 0 0
Calling 9990
Request to load overlay 53: read from disk
Request to load overlay 18: still in memory

<>
Calling 3440
Request to load overlay 10: read from disk

I am further "squeezing" the code, and optimizing the overlay
structure. When I get this to the point of inputing,
inverting and printing a matrix, I will publish the project
to github.

Right now, code and buffer with only 15 elements takes 51k of memory.
We can go to 57k, giving 6k more memory for elements. At 8 bytes per
element, that gives us 783 elements total. I am looking to reduce the
code size by 10k, which would give us a maximum of 2048 elements. This
is less than the VAX/VMS 50500 elements and less than the usual 5005
elements.

On the publish to github, I will include 1982 and 1988 source for reference, along with
source that works on CP/M-80

FredW

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor