Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Kleeneness is next to Godelness.


devel / comp.os.cpm / Making a CPM3 BIOS CPM3.SYS File

SubjectAuthor
* Making a CPM3 BIOS CPM3.SYS FileJohn Monahan
+* Re: Making a CPM3 BIOS CPM3.SYS FileDouglas Miller
|`* Re: Making a CPM3 BIOS CPM3.SYS FileDouglas Miller
| `* Re: Making a CPM3 BIOS CPM3.SYS FileJohn Monahan
|  `* Re: Making a CPM3 BIOS CPM3.SYS FileDouglas Miller
|   `* Re: Making a CPM3 BIOS CPM3.SYS FileJohn Monahan
|    +* Re: Making a CPM3 BIOS CPM3.SYS FileJohn Monahan
|    |`* Re: Making a CPM3 BIOS CPM3.SYS FileDouglas Miller
|    | `* Re: Making a CPM3 BIOS CPM3.SYS FileJohn Monahan
|    |  `* Re: Making a CPM3 BIOS CPM3.SYS FileDouglas Miller
|    |   `- Re: Making a CPM3 BIOS CPM3.SYS FileJohn Monahan
|    `- Re: Making a CPM3 BIOS CPM3.SYS FileDouglas Miller
`* Re: Making a CPM3 BIOS CPM3.SYS FileFritz
 `* Re: Making a CPM3 BIOS CPM3.SYS FileJohn Monahan
  `* Re: Making a CPM3 BIOS CPM3.SYS FileUdo Munk
   `- Re: Making a CPM3 BIOS CPM3.SYS Filedxforth

1
Making a CPM3 BIOS CPM3.SYS File

<9d792d4a-2917-4fd8-ac7f-c3a838107d92n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:1305:: with SMTP id v5mr7355258qtk.62.1635007599421;
Sat, 23 Oct 2021 09:46:39 -0700 (PDT)
X-Received: by 2002:aca:1e05:: with SMTP id m5mr4852104oic.168.1635007599171;
Sat, 23 Oct 2021 09:46:39 -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: Sat, 23 Oct 2021 09:46:38 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2601:644:8400:5120:a53d:c83d:c734:2c23;
posting-account=w1LzOwoAAAAld8hhWGrGBML8Vk3f4xmN
NNTP-Posting-Host: 2601:644:8400:5120:a53d:c83d:c734:2c23
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9d792d4a-2917-4fd8-ac7f-c3a838107d92n@googlegroups.com>
Subject: Making a CPM3 BIOS CPM3.SYS File
From: monahan9...@gmail.com (John Monahan)
Injection-Date: Sat, 23 Oct 2021 16:46:39 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 21
 by: John Monahan - Sat, 23 Oct 2021 16:46 UTC

It's years ago since I made CPM3.SYS files for my hardware. I now need to relearn the build process for a new Disk Controller board BIOS.

The Digital Research supplied GENCPM submit file is great for taking all the drudgery out of building a CPM3 BIOS.

I'm stuck however at one point in the process for a banked system for
the "Enter memory segment table".....
I have Common memory base page C0
Number of memory segments 3

Gencpm comes back with (8B, 35, 00)
Enter memory segment table:
Base, size, bank (00,8B,00)?
Base, size, bank (0D,B3,02)?
Base, size, bank (00,C0,03)?

My question is where did the D3 and B3 come from
This user group does not allow me to post a picture but one can be seen here:-
https://groups.google.com/g/s100computers/c/KKAeRhJwQII

John

Re: Making a CPM3 BIOS CPM3.SYS File

<b4543415-febc-4cbd-a9ca-1be45e429666n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:5bcd:: with SMTP id b13mr7478070qtb.297.1635009833164;
Sat, 23 Oct 2021 10:23:53 -0700 (PDT)
X-Received: by 2002:aca:3555:: with SMTP id c82mr15380801oia.29.1635009832971;
Sat, 23 Oct 2021 10:23:52 -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: Sat, 23 Oct 2021 10:23:52 -0700 (PDT)
In-Reply-To: <9d792d4a-2917-4fd8-ac7f-c3a838107d92n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.42.194.246; posting-account=5XW4vgoAAADMD8xScYja8bdzAXoYQrTS
NNTP-Posting-Host: 96.42.194.246
References: <9d792d4a-2917-4fd8-ac7f-c3a838107d92n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b4543415-febc-4cbd-a9ca-1be45e429666n@googlegroups.com>
Subject: Re: Making a CPM3 BIOS CPM3.SYS File
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Sat, 23 Oct 2021 17:23:53 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 7
 by: Douglas Miller - Sat, 23 Oct 2021 17:23 UTC

Generically speaking, GENCPM has two basic modes. One is where GENCPM does nothing (little) more than assemble the system SPR files into a CPM3.SYS image. The other is where GENCPM is responsible for allocating buffers, etc, and needs to know the banked memory table. That depends on your BIOS. I forget how that is determined, aside from certain "magic" values in the DPH that indicate GENCPM must assign memory. The system I generate never asks for memory segment tables, presumably because the BIOS allocates the memory itself.

Re: Making a CPM3 BIOS CPM3.SYS File

<146728ca-f268-4742-9813-9aaebd5f3c42n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a37:ae83:: with SMTP id x125mr5718728qke.37.1635010506222;
Sat, 23 Oct 2021 10:35:06 -0700 (PDT)
X-Received: by 2002:a4a:e788:: with SMTP id x8mr5190733oov.75.1635010506036;
Sat, 23 Oct 2021 10:35:06 -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: Sat, 23 Oct 2021 10:35:05 -0700 (PDT)
In-Reply-To: <b4543415-febc-4cbd-a9ca-1be45e429666n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.42.194.246; posting-account=5XW4vgoAAADMD8xScYja8bdzAXoYQrTS
NNTP-Posting-Host: 96.42.194.246
References: <9d792d4a-2917-4fd8-ac7f-c3a838107d92n@googlegroups.com> <b4543415-febc-4cbd-a9ca-1be45e429666n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <146728ca-f268-4742-9813-9aaebd5f3c42n@googlegroups.com>
Subject: Re: Making a CPM3 BIOS CPM3.SYS File
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Sat, 23 Oct 2021 17:35:06 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 8
 by: Douglas Miller - Sat, 23 Oct 2021 17:35 UTC

Specifically to your question, bank 0 a.k.a. "(00,8B,00)" says the memory between 0000 and 8B00 (8AFF) is available (OS resides 8B00-C000), and bank 2 "(0D,B3,02)" says that memory between 0D00 and C000 is available (C000-0D00=B300), and bank 3 "(00,C0,03)" means 0000-C000 is available. I believe that GENCPM never uses 0000-0100 in any bank, though. Just a guess, but I would think that 0100-0D00 in bank 2 is reserved for the CCP.COM image (size is right for that).

I can't access your picture, perhaps it is not set to "public"?

Re: Making a CPM3 BIOS CPM3.SYS File

<e3cd3cda-1c21-49a6-8524-48156d251c4an@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:4003:: with SMTP id h3mr6156267qko.277.1635019809375;
Sat, 23 Oct 2021 13:10:09 -0700 (PDT)
X-Received: by 2002:a4a:c993:: with SMTP id u19mr5648288ooq.31.1635019809152;
Sat, 23 Oct 2021 13:10:09 -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: Sat, 23 Oct 2021 13:10:08 -0700 (PDT)
In-Reply-To: <146728ca-f268-4742-9813-9aaebd5f3c42n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:644:8400:5120:a53d:c83d:c734:2c23;
posting-account=w1LzOwoAAAAld8hhWGrGBML8Vk3f4xmN
NNTP-Posting-Host: 2601:644:8400:5120:a53d:c83d:c734:2c23
References: <9d792d4a-2917-4fd8-ac7f-c3a838107d92n@googlegroups.com>
<b4543415-febc-4cbd-a9ca-1be45e429666n@googlegroups.com> <146728ca-f268-4742-9813-9aaebd5f3c42n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e3cd3cda-1c21-49a6-8524-48156d251c4an@googlegroups.com>
Subject: Re: Making a CPM3 BIOS CPM3.SYS File
From: monahan9...@gmail.com (John Monahan)
Injection-Date: Sat, 23 Oct 2021 20:10:09 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 41
 by: John Monahan - Sat, 23 Oct 2021 20:10 UTC

On Saturday, October 23, 2021 at 10:35:06 AM UTC-7, Douglas Miller wrote:
> Specifically to your question, bank 0 a.k.a. "(00,8B,00)" says the memory between 0000 and 8B00 (8AFF) is available (OS resides 8B00-C000), and bank 2 "(0D,B3,02)" says that memory between 0D00 and C000 is available (C000-0D00=B300), and bank 3 "(00,C0,03)" means 0000-C000 is available. I believe that GENCPM never uses 0000-0100 in any bank, though. Just a guess, but I would think that 0100-0D00 in bank 2 is reserved for the CCP.COM image (size is right for that).
>
> I can't access your picture, perhaps it is not set to "public"?

;----------------------------------------------------------------------------------------------------------------------------------
Thanks so much Douglas that's a big help.

I want to be sure I have it right. In my setup I have some 5 drives so a fairly large BIOS. I have the bank switching boundary set at 80 (8000H) rather than CO. and #3 segments.

During the build GENCPM comes back with
CP/M 3 Base,size,bank (3F,41,00)

so the memory between 0000 and 3F00 (2EFF) is available (OS resides 3F00-8000)
I should enter :- (00,3F,00) for bank 0, is this correct?

I don't understand how you calculate the second bank. The numbers were provide in the CPM Operating system Guide example. How are these numbers calculated. In other words how do you get (0D,B3,02) from the GENCPM provided (8B, 35, 00) and the bank boundary at C000H.

What for example would my second bank numbers be. Starting with
(3F,41,00) and the bank switch at 8000H

No problem with bank 3!
Thanks in advance
John
PS I'm writing all this up here:-
http://s100computers.com/Software%20Folder/FPGA_DC%20Board%20Software/FPGA_DC%20Software.htm#Booting%20CPM3%20Instructions
Hopefully I can explain the CPM3 Build for others better.

Re: Making a CPM3 BIOS CPM3.SYS File

<0dfbc4bd-585d-400d-ae2f-65285ed8ad23n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:15c6:: with SMTP id d6mr8177040qty.121.1635020361312;
Sat, 23 Oct 2021 13:19:21 -0700 (PDT)
X-Received: by 2002:a9d:714b:: with SMTP id y11mr6679060otj.289.1635020361077;
Sat, 23 Oct 2021 13:19:21 -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: Sat, 23 Oct 2021 13:19:20 -0700 (PDT)
In-Reply-To: <e3cd3cda-1c21-49a6-8524-48156d251c4an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.42.194.246; posting-account=5XW4vgoAAADMD8xScYja8bdzAXoYQrTS
NNTP-Posting-Host: 96.42.194.246
References: <9d792d4a-2917-4fd8-ac7f-c3a838107d92n@googlegroups.com>
<b4543415-febc-4cbd-a9ca-1be45e429666n@googlegroups.com> <146728ca-f268-4742-9813-9aaebd5f3c42n@googlegroups.com>
<e3cd3cda-1c21-49a6-8524-48156d251c4an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0dfbc4bd-585d-400d-ae2f-65285ed8ad23n@googlegroups.com>
Subject: Re: Making a CPM3 BIOS CPM3.SYS File
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Sat, 23 Oct 2021 20:19:21 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 8
 by: Douglas Miller - Sat, 23 Oct 2021 20:19 UTC

So, the reason the example was confusing was that the BIOS is reserving space in bank 2 to store CCP.COM so that warm-boot is faster (not loading it off disk each time). I'm not sure where that was communicated to GENCPM, and you'd have to check your BIOS to see if you need that space and it is still in bank 2. Assuming "yes", then in your "common 80" case you'd want "(0d,73,02)" because 0000-0D00 is reserved for the CCP, then 0D00-8000 is left for GENCPM to allocate. 8000-0D00=7300. If your BIOS is not saving CCP in memory (it is loading off disk every warm boot), then bank 2 would be "(00,80,02)".

Re: Making a CPM3 BIOS CPM3.SYS File

<a06b43cc-0f2c-463e-84b6-c22a30dbbb34n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:152:: with SMTP id v18mr8246155qtw.9.1635022334206;
Sat, 23 Oct 2021 13:52:14 -0700 (PDT)
X-Received: by 2002:a05:6808:130d:: with SMTP id y13mr15883714oiv.85.1635022333849;
Sat, 23 Oct 2021 13:52:13 -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: Sat, 23 Oct 2021 13:52:13 -0700 (PDT)
In-Reply-To: <0dfbc4bd-585d-400d-ae2f-65285ed8ad23n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:644:8400:5120:a53d:c83d:c734:2c23;
posting-account=w1LzOwoAAAAld8hhWGrGBML8Vk3f4xmN
NNTP-Posting-Host: 2601:644:8400:5120:a53d:c83d:c734:2c23
References: <9d792d4a-2917-4fd8-ac7f-c3a838107d92n@googlegroups.com>
<b4543415-febc-4cbd-a9ca-1be45e429666n@googlegroups.com> <146728ca-f268-4742-9813-9aaebd5f3c42n@googlegroups.com>
<e3cd3cda-1c21-49a6-8524-48156d251c4an@googlegroups.com> <0dfbc4bd-585d-400d-ae2f-65285ed8ad23n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a06b43cc-0f2c-463e-84b6-c22a30dbbb34n@googlegroups.com>
Subject: Re: Making a CPM3 BIOS CPM3.SYS File
From: monahan9...@gmail.com (John Monahan)
Injection-Date: Sat, 23 Oct 2021 20:52:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 23
 by: John Monahan - Sat, 23 Oct 2021 20:52 UTC

On Saturday, October 23, 2021 at 1:19:21 PM UTC-7, Douglas Miller wrote:
> So, the reason the example was confusing was that the BIOS is reserving space in bank 2 to store CCP.COM so that warm-boot is faster (not loading it off disk each time). I'm not sure where that was communicated to GENCPM, and you'd have to check your BIOS to see if you need that space and it is still in bank 2. Assuming "yes", then in your "common 80" case you'd want "(0d,73,02)" because 0000-0D00 is reserved for the CCP, then 0D00-8000 is left for GENCPM to allocate. 8000-0D00=7300. If your BIOS is not saving CCP in memory (it is loading off disk every warm boot), then bank 2 would be "(00,80,02)".

OK I think I got it Douglas. Definitely I'm not reloading the CCP each time. I can rename it, work with files OK (of course renaming it back before a reboot).

So what is not explained by DR is that CCP resident essentially requirement in bank 2. I assume I can always assume then that it will occupy bank 2 and never be more than 0D00H. Is this correct.

Can I also assume nothing more will (ever) be required above 0D00H in bank 2.

John

Re: Making a CPM3 BIOS CPM3.SYS File

<8c36082f-a104-4993-b36e-71f2cf949865n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:5c8:: with SMTP id d8mr8296704qtb.63.1635023161393;
Sat, 23 Oct 2021 14:06:01 -0700 (PDT)
X-Received: by 2002:a05:6808:1921:: with SMTP id bf33mr5746034oib.118.1635023161154;
Sat, 23 Oct 2021 14:06:01 -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: Sat, 23 Oct 2021 14:06:00 -0700 (PDT)
In-Reply-To: <a06b43cc-0f2c-463e-84b6-c22a30dbbb34n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:644:8400:5120:a53d:c83d:c734:2c23;
posting-account=w1LzOwoAAAAld8hhWGrGBML8Vk3f4xmN
NNTP-Posting-Host: 2601:644:8400:5120:a53d:c83d:c734:2c23
References: <9d792d4a-2917-4fd8-ac7f-c3a838107d92n@googlegroups.com>
<b4543415-febc-4cbd-a9ca-1be45e429666n@googlegroups.com> <146728ca-f268-4742-9813-9aaebd5f3c42n@googlegroups.com>
<e3cd3cda-1c21-49a6-8524-48156d251c4an@googlegroups.com> <0dfbc4bd-585d-400d-ae2f-65285ed8ad23n@googlegroups.com>
<a06b43cc-0f2c-463e-84b6-c22a30dbbb34n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8c36082f-a104-4993-b36e-71f2cf949865n@googlegroups.com>
Subject: Re: Making a CPM3 BIOS CPM3.SYS File
From: monahan9...@gmail.com (John Monahan)
Injection-Date: Sat, 23 Oct 2021 21:06:01 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 32
 by: John Monahan - Sat, 23 Oct 2021 21:06 UTC

On Saturday, October 23, 2021 at 1:52:14 PM UTC-7, John Monahan wrote:
> On Saturday, October 23, 2021 at 1:19:21 PM UTC-7, Douglas Miller wrote:
> > So, the reason the example was confusing was that the BIOS is reserving space in bank 2 to store CCP.COM so that warm-boot is faster (not loading it off disk each time). I'm not sure where that was communicated to GENCPM, and you'd have to check your BIOS to see if you need that space and it is still in bank 2. Assuming "yes", then in your "common 80" case you'd want "(0d,73,02)" because 0000-0D00 is reserved for the CCP, then 0D00-8000 is left for GENCPM to allocate. 8000-0D00=7300. If your BIOS is not saving CCP in memory (it is loading off disk every warm boot), then bank 2 would be "(00,80,02)".
> OK I think I got it Douglas. Definitely I'm not reloading the CCP each time. I can rename it, work with files OK (of course renaming it back before a reboot).
>
> So what is not explained by DR is that CCP resident essentially requirement in bank 2. I assume I can always assume then that it will occupy bank 2 and never be more than 0D00H. Is this correct.
>
> Can I also assume nothing more will (ever) be required above 0D00H in bank 2.
>
> John
Douglas I'm still stuck! In the DR example above with the page boundary at C0
and the CP/M 3 Base,size,bank (8B, 35, 00)
where or what is the 35 used for?
You use the 8B for bank 0
you assume 0D00H for bank 2
where is the 35 used?

Re: Making a CPM3 BIOS CPM3.SYS File

<bf5173e1-61f6-44b8-a1d6-ffafab571391n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ae9:eb8a:: with SMTP id b132mr6403268qkg.497.1635023209322;
Sat, 23 Oct 2021 14:06:49 -0700 (PDT)
X-Received: by 2002:a9d:65c1:: with SMTP id z1mr6299923oth.198.1635023208950;
Sat, 23 Oct 2021 14:06:48 -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: Sat, 23 Oct 2021 14:06:48 -0700 (PDT)
In-Reply-To: <a06b43cc-0f2c-463e-84b6-c22a30dbbb34n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.42.194.246; posting-account=5XW4vgoAAADMD8xScYja8bdzAXoYQrTS
NNTP-Posting-Host: 96.42.194.246
References: <9d792d4a-2917-4fd8-ac7f-c3a838107d92n@googlegroups.com>
<b4543415-febc-4cbd-a9ca-1be45e429666n@googlegroups.com> <146728ca-f268-4742-9813-9aaebd5f3c42n@googlegroups.com>
<e3cd3cda-1c21-49a6-8524-48156d251c4an@googlegroups.com> <0dfbc4bd-585d-400d-ae2f-65285ed8ad23n@googlegroups.com>
<a06b43cc-0f2c-463e-84b6-c22a30dbbb34n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bf5173e1-61f6-44b8-a1d6-ffafab571391n@googlegroups.com>
Subject: Re: Making a CPM3 BIOS CPM3.SYS File
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Sat, 23 Oct 2021 21:06:49 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 33
 by: Douglas Miller - Sat, 23 Oct 2021 21:06 UTC

On Saturday, October 23, 2021 at 3:52:14 PM UTC-5, monah...@gmail.com wrote:
>...
>
> So what is not explained by DR is that CCP resident essentially requirement in bank 2. I assume I can always assume then that it will occupy bank 2 and never be more than 0D00H. Is this correct.
>
> Can I also assume nothing more will (ever) be required above 0D00H in bank 2.
>
> John

The standard CCP.COM from DRI will be 25 records long, or 0C80 bytes. If your BIOS tolerates something using 0000-0100 in bank 2, then 0000-0C80 could be used for CCP, which - rounded up to pages - would be 0000-0D00.

The reason for mentioning 0000-0100 in each bank is that this area often contains interrupt vectors (for classic 8080/Z80 interrupt systems), and so you may need to replicate "page 0" into all banks so that an interrupt while an alternate bank is enabled won't crash the system. It may also be necessary to ensure that JMP vectors at 0000 and 0005 are initialized in all banks (I forget if that is required).

The assignment of which bank contains the CCP is up to the BIOS (which is responsible for copying it into bank 1 on warm boots). I don't know how that is communicated to GENCPM, but you'll want to confirm which bank your BIOS is using.

If you plan on running any custom CCP.COMs, that 0D00 may not be enough. One of the "enhancements" of CP/M 3 was to allow users/vendors to easily supply their own, custom, CCP.COM. Since it is now a simple COM program, it can easily be built and replaced on any system. So, theoretically, the size of CCP/COM could vary.

Re: Making a CPM3 BIOS CPM3.SYS File

<39d0a0cf-b7c8-4a9b-b72e-41d0287f9f21n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a37:f902:: with SMTP id l2mr6147735qkj.511.1635023463588;
Sat, 23 Oct 2021 14:11:03 -0700 (PDT)
X-Received: by 2002:a05:6808:1802:: with SMTP id bh2mr5549865oib.142.1635023463365;
Sat, 23 Oct 2021 14:11:03 -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: Sat, 23 Oct 2021 14:11:03 -0700 (PDT)
In-Reply-To: <8c36082f-a104-4993-b36e-71f2cf949865n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.42.194.246; posting-account=5XW4vgoAAADMD8xScYja8bdzAXoYQrTS
NNTP-Posting-Host: 96.42.194.246
References: <9d792d4a-2917-4fd8-ac7f-c3a838107d92n@googlegroups.com>
<b4543415-febc-4cbd-a9ca-1be45e429666n@googlegroups.com> <146728ca-f268-4742-9813-9aaebd5f3c42n@googlegroups.com>
<e3cd3cda-1c21-49a6-8524-48156d251c4an@googlegroups.com> <0dfbc4bd-585d-400d-ae2f-65285ed8ad23n@googlegroups.com>
<a06b43cc-0f2c-463e-84b6-c22a30dbbb34n@googlegroups.com> <8c36082f-a104-4993-b36e-71f2cf949865n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <39d0a0cf-b7c8-4a9b-b72e-41d0287f9f21n@googlegroups.com>
Subject: Re: Making a CPM3 BIOS CPM3.SYS File
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Sat, 23 Oct 2021 21:11:03 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 16
 by: Douglas Miller - Sat, 23 Oct 2021 21:11 UTC

On Saturday, October 23, 2021 at 4:06:02 PM UTC-5, monah...@gmail.com wrote:
>...
> Douglas I'm still stuck! In the DR example above with the page boundary at C0
> and the CP/M 3 Base,size,bank (8B, 35, 00)
> where or what is the 35 used for?
> You use the 8B for bank 0
> you assume 0D00H for bank 2
> where is the 35 used?

The 35 is the size (in pages) of the banked OS (in bank 0). The 8B is the starting page of the OS (in bank 0). So, 35+8B=C0 which is the common page boundary in that example. The OS in bank 0 runs from 8B00-C000, which is 3500 bytes (hex). I'm pretty sure GENCPM computes that (8B,35,00) for you, right? When you enter 80 for the common memory page, you should get numbers that are relative to 80.

Re: Making a CPM3 BIOS CPM3.SYS File

<473ea5d4-85b9-4cb0-8a3f-382c8e50fbadn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:4003:: with SMTP id h3mr6424925qko.277.1635024737436; Sat, 23 Oct 2021 14:32:17 -0700 (PDT)
X-Received: by 2002:a05:6820:151a:: with SMTP id ay26mr5950377oob.95.1635024737248; Sat, 23 Oct 2021 14:32:17 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.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: Sat, 23 Oct 2021 14:32:17 -0700 (PDT)
In-Reply-To: <39d0a0cf-b7c8-4a9b-b72e-41d0287f9f21n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:644:8400:5120:a53d:c83d:c734:2c23; posting-account=w1LzOwoAAAAld8hhWGrGBML8Vk3f4xmN
NNTP-Posting-Host: 2601:644:8400:5120:a53d:c83d:c734:2c23
References: <9d792d4a-2917-4fd8-ac7f-c3a838107d92n@googlegroups.com> <b4543415-febc-4cbd-a9ca-1be45e429666n@googlegroups.com> <146728ca-f268-4742-9813-9aaebd5f3c42n@googlegroups.com> <e3cd3cda-1c21-49a6-8524-48156d251c4an@googlegroups.com> <0dfbc4bd-585d-400d-ae2f-65285ed8ad23n@googlegroups.com> <a06b43cc-0f2c-463e-84b6-c22a30dbbb34n@googlegroups.com> <8c36082f-a104-4993-b36e-71f2cf949865n@googlegroups.com> <39d0a0cf-b7c8-4a9b-b72e-41d0287f9f21n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <473ea5d4-85b9-4cb0-8a3f-382c8e50fbadn@googlegroups.com>
Subject: Re: Making a CPM3 BIOS CPM3.SYS File
From: monahan9...@gmail.com (John Monahan)
Injection-Date: Sat, 23 Oct 2021 21:32:17 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 36
 by: John Monahan - Sat, 23 Oct 2021 21:32 UTC

On Saturday, October 23, 2021 at 2:11:04 PM UTC-7, Douglas Miller wrote:
> On Saturday, October 23, 2021 at 4:06:02 PM UTC-5, monah...@gmail.com wrote:
> >...
> > Douglas I'm still stuck! In the DR example above with the page boundary at C0
> > and the CP/M 3 Base,size,bank (8B, 35, 00)
> > where or what is the 35 used for?
> > You use the 8B for bank 0
> > you assume 0D00H for bank 2
> > where is the 35 used?
> The 35 is the size (in pages) of the banked OS (in bank 0). The 8B is the starting page of the OS (in bank 0). So, 35+8B=C0 which is the common page boundary in that example. The OS in bank 0 runs from 8B00-C000, which is 3500 bytes (hex). I'm pretty sure GENCPM computes that (8B,35,00) for you, right? When you enter 80 for the common memory page, you should get numbers that are relative to 80.

Indulge me one last time Douglas. Want to check I have it right....
From the GENCPM submit file with the switching RAM boundary at 8000H
.......
Number of memory segments (#3) 3
CPM/ 3 base,size,bank (3F, 41,00) <-- provide by GENCPM

Enter memory segment table:
Base, size,bank (00,80,00) ? 00, 3F, 00
Base, size,bank (00,C0,02) ? 0E, 72, 02
Base, size,bank (00,C0,00) ? 00,80,03

CP/M 3 Sys 3F00H 4100H Bank 00
Memseg No, 00 0000H 3F00H bank 00
Memseg No, 01 0E00H 7200H bank 02
Memseg No, 02 0000H 8000H bank 03

It's interesting that in spite of the fact that I set the RAM boundary at 8000H GENCPM always defaults to C000H.

Re: Making a CPM3 BIOS CPM3.SYS File

<d3964355-1800-4494-bdd3-e69dba1dc927n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:393:: with SMTP id j19mr9658457qtx.166.1635039904439;
Sat, 23 Oct 2021 18:45:04 -0700 (PDT)
X-Received: by 2002:a9d:7992:: with SMTP id h18mr7400594otm.43.1635039904284;
Sat, 23 Oct 2021 18:45:04 -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: Sat, 23 Oct 2021 18:45:04 -0700 (PDT)
In-Reply-To: <473ea5d4-85b9-4cb0-8a3f-382c8e50fbadn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.42.194.246; posting-account=5XW4vgoAAADMD8xScYja8bdzAXoYQrTS
NNTP-Posting-Host: 96.42.194.246
References: <9d792d4a-2917-4fd8-ac7f-c3a838107d92n@googlegroups.com>
<b4543415-febc-4cbd-a9ca-1be45e429666n@googlegroups.com> <146728ca-f268-4742-9813-9aaebd5f3c42n@googlegroups.com>
<e3cd3cda-1c21-49a6-8524-48156d251c4an@googlegroups.com> <0dfbc4bd-585d-400d-ae2f-65285ed8ad23n@googlegroups.com>
<a06b43cc-0f2c-463e-84b6-c22a30dbbb34n@googlegroups.com> <8c36082f-a104-4993-b36e-71f2cf949865n@googlegroups.com>
<39d0a0cf-b7c8-4a9b-b72e-41d0287f9f21n@googlegroups.com> <473ea5d4-85b9-4cb0-8a3f-382c8e50fbadn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d3964355-1800-4494-bdd3-e69dba1dc927n@googlegroups.com>
Subject: Re: Making a CPM3 BIOS CPM3.SYS File
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Sun, 24 Oct 2021 01:45:04 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Douglas Miller - Sun, 24 Oct 2021 01:45 UTC

On Saturday, October 23, 2021 at 4:32:17 PM UTC-5, monah...@gmail.com wrote:
>...
> Indulge me one last time Douglas. Want to check I have it right....
> From the GENCPM submit file with the switching RAM boundary at 8000H
> ......
> Number of memory segments (#3) 3
> CPM/ 3 base,size,bank (3F, 41,00) <-- provide by GENCPM
>
> Enter memory segment table:
> Base, size,bank (00,80,00) ? 00, 3F, 00
> Base, size,bank (00,C0,02) ? 0E, 72, 02
> Base, size,bank (00,C0,00) ? 00,80,03
>
> CP/M 3 Sys 3F00H 4100H Bank 00
> Memseg No, 00 0000H 3F00H bank 00
> Memseg No, 01 0E00H 7200H bank 02
> Memseg No, 02 0000H 8000H bank 03
>
>
> It's interesting that in spite of the fact that I set the RAM boundary at 8000H GENCPM always defaults to C000H.

Sorry, for the delay, I got side-tracked and wasn't reading e-mail.

Yes, what you have there looks correct to me, assuming you are reserving 14 pages for the CCP in bank 2.

As far as GENCPM defaults, I believe you have the option to have GENCPM read defaults from the .DAT file, although I forget exactly how that is done. You can invoke it as "GENCPM A D" to automatically generate CPM3.SYS from the .DAT file, without asking any questions. I suspect other combinations of command options will do something like read defaults from the .DAT file. There should be something on that in the HELP data on GENCPM.

Re: Making a CPM3 BIOS CPM3.SYS File

<829bd627-52f5-44d8-96cd-0043532ae915n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:231:: with SMTP id u17mr7694327qkm.237.1635047484319;
Sat, 23 Oct 2021 20:51:24 -0700 (PDT)
X-Received: by 2002:a9d:7495:: with SMTP id t21mr7524080otk.101.1635047484062;
Sat, 23 Oct 2021 20:51:24 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.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: Sat, 23 Oct 2021 20:51:23 -0700 (PDT)
In-Reply-To: <d3964355-1800-4494-bdd3-e69dba1dc927n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:644:8400:5120:a53d:c83d:c734:2c23;
posting-account=w1LzOwoAAAAld8hhWGrGBML8Vk3f4xmN
NNTP-Posting-Host: 2601:644:8400:5120:a53d:c83d:c734:2c23
References: <9d792d4a-2917-4fd8-ac7f-c3a838107d92n@googlegroups.com>
<b4543415-febc-4cbd-a9ca-1be45e429666n@googlegroups.com> <146728ca-f268-4742-9813-9aaebd5f3c42n@googlegroups.com>
<e3cd3cda-1c21-49a6-8524-48156d251c4an@googlegroups.com> <0dfbc4bd-585d-400d-ae2f-65285ed8ad23n@googlegroups.com>
<a06b43cc-0f2c-463e-84b6-c22a30dbbb34n@googlegroups.com> <8c36082f-a104-4993-b36e-71f2cf949865n@googlegroups.com>
<39d0a0cf-b7c8-4a9b-b72e-41d0287f9f21n@googlegroups.com> <473ea5d4-85b9-4cb0-8a3f-382c8e50fbadn@googlegroups.com>
<d3964355-1800-4494-bdd3-e69dba1dc927n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <829bd627-52f5-44d8-96cd-0043532ae915n@googlegroups.com>
Subject: Re: Making a CPM3 BIOS CPM3.SYS File
From: monahan9...@gmail.com (John Monahan)
Injection-Date: Sun, 24 Oct 2021 03:51:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: John Monahan - Sun, 24 Oct 2021 03:51 UTC

On Saturday, October 23, 2021 at 6:45:04 PM UTC-7, Douglas Miller wrote:
> On Saturday, October 23, 2021 at 4:32:17 PM UTC-5, monah...@gmail.com wrote:
> >...
> > Indulge me one last time Douglas. Want to check I have it right....
> > From the GENCPM submit file with the switching RAM boundary at 8000H
> > ......
> > Number of memory segments (#3) 3
> > CPM/ 3 base,size,bank (3F, 41,00) <-- provide by GENCPM
> >
> > Enter memory segment table:
> > Base, size,bank (00,80,00) ? 00, 3F, 00
> > Base, size,bank (00,C0,02) ? 0E, 72, 02
> > Base, size,bank (00,C0,00) ? 00,80,03
> >
> > CP/M 3 Sys 3F00H 4100H Bank 00
> > Memseg No, 00 0000H 3F00H bank 00
> > Memseg No, 01 0E00H 7200H bank 02
> > Memseg No, 02 0000H 8000H bank 03
> >
> >
> > It's interesting that in spite of the fact that I set the RAM boundary at 8000H GENCPM always defaults to C000H.
> Sorry, for the delay, I got side-tracked and wasn't reading e-mail.
>
> Yes, what you have there looks correct to me, assuming you are reserving 14 pages for the CCP in bank 2.
>
> As far as GENCPM defaults, I believe you have the option to have GENCPM read defaults from the .DAT file, although I forget exactly how that is done.. You can invoke it as "GENCPM A D" to automatically generate CPM3.SYS from the .DAT file, without asking any questions. I suspect other combinations of command options will do something like read defaults from the .DAT file. There should be something on that in the HELP data on GENCPM.
Thanks Douglas.

Yes if you type
GENCPM AUTO
it will work from the previous GENCPM.DAT file (the file that contains all the variables)
If you type
GENCPM AUTO DISPLAY it will also display the values it is using.
If you type
GENCPM it requires keyboard input for all the variables. It ask you if you wish to store them for the next time.

I posted the same question here:-
https://groups.google.com/g/s100computers/c/KKAeRhJwQII
Udo Munk had a slightly different logic.
"The banked part of the OS requires 35 pages and common memory starts at C0..
C0 - 35 = 8B
So in bank 0 you can use 00 - 8B."

In bank 2 you could use 00 - C0, same as in bank 3.
I tried 00,80,02 in Bank 2 (in my case) . It dis not work. So your 80-0E seems correct for bank 2.

Re: Making a CPM3 BIOS CPM3.SYS File

<itkgasF9u6rU1@mid.individual.net>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: freiwied...@hotmail.de (Fritz)
Newsgroups: comp.os.cpm
Subject: Re: Making a CPM3 BIOS CPM3.SYS File
Date: Sun, 24 Oct 2021 09:29:04 +0200
Lines: 73
Message-ID: <itkgasF9u6rU1@mid.individual.net>
References: <9d792d4a-2917-4fd8-ac7f-c3a838107d92n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net MUtFm4hI+ViT/I4EoIValATUs7LlNsRdRZq2im9Vh3jyCwivLU
Cancel-Lock: sha1:YngHbxTx+kSzaw4HgHaKrGyYpSc=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
In-Reply-To: <9d792d4a-2917-4fd8-ac7f-c3a838107d92n@googlegroups.com>
Content-Language: de-DE
 by: Fritz - Sun, 24 Oct 2021 07:29 UTC

Am 23.10.2021 um 18:46 schrieb John Monahan:
> It's years ago since I made CPM3.SYS files for my hardware. I now need to relearn the build process for a new Disk Controller board BIOS.
>
> The Digital Research supplied GENCPM submit file is great for taking all the drudgery out of building a CPM3 BIOS.
>
> I'm stuck however at one point in the process for a banked system for
> the "Enter memory segment table".....
>
> I have Common memory base page C0
> Number of memory segments 3
>
> Gencpm comes back with (8B, 35, 00)
> Enter memory segment table:
> Base, size, bank (00,8B,00)?
> Base, size, bank (0D,B3,02)?
> Base, size, bank (00,C0,03)?
>
> My question is where did the D3 and B3 come from
> This user group does not allow me to post a picture but one can be seen here:-
> https://groups.google.com/g/s100computers/c/KKAeRhJwQII
>
> John
>

This is an interesting question and as my mothers language is german the
DRI manuals are not easy to read. I'm not a programmer...

I let GENCPM calculate the segment table.

Example from my conitec Prof180

*** Bank 1 and Common are not included ***
*** in the memory segment table. ***

Number of memory segments (#2) ?

CP/M 3 Base,size,bank (9A,56,00)

Enter memory segment table:
Base,size,bank (10,87,00) ?
Base,size,bank (00,F0,02) ?

CP/M 3 Sys 9A00H 5600H Bank 00
Memseg No. 00 1000H 8700H Bank 00
Memseg No. 01 0000H F000H Bank 02

Accept new memory segment table entries (Y) ? n
Enter memory segment table:

######################################
### false table entry 10,99,00
######################################
Base,size,bank (10,87,00) ? 10,99,00

ERROR: Memory conflict - segment trimmed.
Base,size,bank (10,8A,00) ?
Base,size,bank (00,F0,02) ?

CP/M 3 Sys 9A00H 5600H Bank 00
Memseg No. 00 1000H 8A00H Bank 00
Memseg No. 01 0000H F000H Bank 02

Accept new memory segment table entries (Y) ?

--
-- Fritz

Re: Making a CPM3 BIOS CPM3.SYS File

<6b16995b-9c7e-4474-8860-f171009b25bbn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a0c:fa08:: with SMTP id q8mr11620320qvn.19.1635097968551;
Sun, 24 Oct 2021 10:52:48 -0700 (PDT)
X-Received: by 2002:a05:6808:3c2:: with SMTP id o2mr9002583oie.15.1635097968295;
Sun, 24 Oct 2021 10:52:48 -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: Sun, 24 Oct 2021 10:52:48 -0700 (PDT)
In-Reply-To: <itkgasF9u6rU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:644:8400:5120:7d3d:20f5:8611:99e9;
posting-account=w1LzOwoAAAAld8hhWGrGBML8Vk3f4xmN
NNTP-Posting-Host: 2601:644:8400:5120:7d3d:20f5:8611:99e9
References: <9d792d4a-2917-4fd8-ac7f-c3a838107d92n@googlegroups.com> <itkgasF9u6rU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6b16995b-9c7e-4474-8860-f171009b25bbn@googlegroups.com>
Subject: Re: Making a CPM3 BIOS CPM3.SYS File
From: monahan9...@gmail.com (John Monahan)
Injection-Date: Sun, 24 Oct 2021 17:52:48 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 74
 by: John Monahan - Sun, 24 Oct 2021 17:52 UTC

On Sunday, October 24, 2021 at 12:29:34 AM UTC-7, Fritz wrote:
> Am 23.10.2021 um 18:46 schrieb John Monahan:
> > It's years ago since I made CPM3.SYS files for my hardware. I now need to relearn the build process for a new Disk Controller board BIOS.
> >
> > The Digital Research supplied GENCPM submit file is great for taking all the drudgery out of building a CPM3 BIOS.
> >
> > I'm stuck however at one point in the process for a banked system for
> > the "Enter memory segment table".....
> >
> > I have Common memory base page C0
> > Number of memory segments 3
> >
> > Gencpm comes back with (8B, 35, 00)
> > Enter memory segment table:
> > Base, size, bank (00,8B,00)?
> > Base, size, bank (0D,B3,02)?
> > Base, size, bank (00,C0,03)?
> >
> > My question is where did the D3 and B3 come from
> > This user group does not allow me to post a picture but one can be seen here:-
> > https://groups.google.com/g/s100computers/c/KKAeRhJwQII
> >
> > John
> >
> This is an interesting question and as my mothers language is german the
> DRI manuals are not easy to read. I'm not a programmer...
>
> I let GENCPM calculate the segment table.
>
> Example from my conitec Prof180
>
>
> *** Bank 1 and Common are not included ***
> *** in the memory segment table. ***
>
> Number of memory segments (#2) ?
>
> CP/M 3 Base,size,bank (9A,56,00)
>
> Enter memory segment table:
> Base,size,bank (10,87,00) ?
> Base,size,bank (00,F0,02) ?
>
> CP/M 3 Sys 9A00H 5600H Bank 00
> Memseg No. 00 1000H 8700H Bank 00
> Memseg No. 01 0000H F000H Bank 02
>
>
> Accept new memory segment table entries (Y) ? n
> Enter memory segment table:
>
> ######################################
> ### false table entry 10,99,00
> ######################################
> Base,size,bank (10,87,00) ? 10,99,00
>
>
> ERROR: Memory conflict - segment trimmed.
> Base,size,bank (10,8A,00) ?
> Base,size,bank (00,F0,02) ?
>
> CP/M 3 Sys 9A00H 5600H Bank 00
> Memseg No. 00 1000H 8A00H Bank 00
> Memseg No. 01 0000H F000H Bank 02
>
> Accept new memory segment table entries (Y) ?
>
>
>
>
>
> --
> -- Fritz
In my hands Fritz you need to subtract 0E from the size of bank 2. By default GENCPM assumes it is present. See Douglas Miller posting above. The above 00,F0,02 would not work.

Re: Making a CPM3 BIOS CPM3.SYS File

<5e13126d-3030-4a0b-b70c-a55592d0204an@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:1e06:: with SMTP id n6mr13836824qtl.365.1635112374231;
Sun, 24 Oct 2021 14:52:54 -0700 (PDT)
X-Received: by 2002:a05:6830:19e6:: with SMTP id t6mr11110894ott.79.1635112373947;
Sun, 24 Oct 2021 14:52:53 -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: Sun, 24 Oct 2021 14:52:53 -0700 (PDT)
In-Reply-To: <6b16995b-9c7e-4474-8860-f171009b25bbn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=87.122.3.62; posting-account=RHtB3AoAAABZlu_FJY7ySUmJrtfW41bO
NNTP-Posting-Host: 87.122.3.62
References: <9d792d4a-2917-4fd8-ac7f-c3a838107d92n@googlegroups.com>
<itkgasF9u6rU1@mid.individual.net> <6b16995b-9c7e-4474-8860-f171009b25bbn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5e13126d-3030-4a0b-b70c-a55592d0204an@googlegroups.com>
Subject: Re: Making a CPM3 BIOS CPM3.SYS File
From: udo.m...@freenet.de (Udo Munk)
Injection-Date: Sun, 24 Oct 2021 21:52:54 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 5
 by: Udo Munk - Sun, 24 Oct 2021 21:52 UTC

monah...@gmail.com schrieb am Sonntag, 24. Oktober 2021 um 19:52:49 UTC+2:
> In my hands Fritz you need to subtract 0E from the size of bank 2. By default GENCPM assumes it is present. See Douglas Miller posting above. The above 00,F0,02 would not work.

That will work fine, CP/M 3 will not store the CCP in bank 2 or anywhere by itself. If you want to
load the CCP from memory instead from disk this must be implemented in the BIOS, and then
the memory used to hold a copy of the CCP must be reserved in the memory map of course.

Re: Making a CPM3 BIOS CPM3.SYS File

<sl7ufl$1en3$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!aioe.org!7AktqsUqy5CCvnKa3S0Dkw.user.46.165.242.75.POSTED!not-for-mail
From: dxfo...@gmail.com (dxforth)
Newsgroups: comp.os.cpm
Subject: Re: Making a CPM3 BIOS CPM3.SYS File
Date: Tue, 26 Oct 2021 14:59:50 +1100
Organization: Aioe.org NNTP Server
Message-ID: <sl7ufl$1en3$1@gioia.aioe.org>
References: <9d792d4a-2917-4fd8-ac7f-c3a838107d92n@googlegroups.com>
<itkgasF9u6rU1@mid.individual.net>
<6b16995b-9c7e-4474-8860-f171009b25bbn@googlegroups.com>
<5e13126d-3030-4a0b-b70c-a55592d0204an@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="47843"; posting-host="7AktqsUqy5CCvnKa3S0Dkw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-GB
 by: dxforth - Tue, 26 Oct 2021 03:59 UTC

On 25/10/2021 08:52, Udo Munk wrote:
> monah...@gmail.com schrieb am Sonntag, 24. Oktober 2021 um 19:52:49 UTC+2:
>> In my hands Fritz you need to subtract 0E from the size of bank 2. By default GENCPM assumes it is present. See Douglas Miller posting above. The above 00,F0,02 would not work.
>
> That will work fine, CP/M 3 will not store the CCP in bank 2 or anywhere by itself. If you want to
> load the CCP from memory instead from disk this must be implemented in the BIOS, and then
> the memory used to hold a copy of the CCP must be reserved in the memory map of course.
>

That sounds familiar. Below is a CP/M 3 BIOS listing for the Bondwell 14 which
held the CCP in banked memory. It may help others with their implementation.

https://pastebin.com/RrfERPpm

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor