Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Victory or defeat!


devel / comp.os.cpm / Re: CP/M-86, cpmtools, Goteks

SubjectAuthor
* CP/M-86, cpmtools, GoteksRobert Roland
+* Re: CP/M-86, cpmtools, GoteksDavid Schultz
|+* Re: CP/M-86, cpmtools, GoteksRandy McLaughlin
||`- Re: CP/M-86, cpmtools, GoteksDouglas Miller
|`* Re: CP/M-86, cpmtools, Goteksdott.Piergiorgio
| `* Re: CP/M-86, cpmtools, GoteksDavid Schultz
|  `- Re: CP/M-86, cpmtools, GoteksJohn Elliott
`* Re: CP/M-86, cpmtools, GoteksJosef Moellers
 `* Re: CP/M-86, cpmtools, Goteksldkr...@gmail.com
  +- Re: CP/M-86, cpmtools, Goteksldkr...@gmail.com
  `* Re: CP/M-86, cpmtools, GoteksRobert Roland
   `* Re: CP/M-86, cpmtools, Goteksldkr...@gmail.com
    `* Re: CP/M-86, cpmtools, Goteksldkr...@gmail.com
     `* Re: CP/M-86, cpmtools, Goteksldkr...@gmail.com
      `* Re: CP/M-86, cpmtools, GoteksRobert Roland
       `* Re: CP/M-86, cpmtools, GoteksDouglas Miller
        `* Re: CP/M-86, cpmtools, GoteksDavid Schultz
         `* Re: CP/M-86, cpmtools, GoteksDouglas Miller
          +* Re: CP/M-86, cpmtools, Goteksldkr...@gmail.com
          |`- Re: CP/M-86, cpmtools, GoteksRobert Roland
          `* Re: CP/M-86, cpmtools, GoteksDavid Schultz
           `* Re: CP/M-86, cpmtools, Goteksldkr...@gmail.com
            +- Re: CP/M-86, cpmtools, Goteksldkr...@gmail.com
            `* Re: CP/M-86, cpmtools, GoteksRobert Roland
             `* Re: CP/M-86, cpmtools, GoteksRobert Roland
              +* Re: CP/M-86, cpmtools, GoteksDouglas Miller
              |+- Re: CP/M-86, cpmtools, Goteksldkr...@gmail.com
              |`* Re: CP/M-86, cpmtools, GoteksPeter Dassow
              | `- Re: CP/M-86, cpmtools, Goteksldkr...@gmail.com
              `* Re: CP/M-86, cpmtools, GoteksJohn Elliott
               `* Re: CP/M-86, cpmtools, GoteksDouglas Miller
                +* Re: CP/M-86, cpmtools, GoteksUdo Munk
                |+- Re: CP/M-86, cpmtools, GoteksDouglas Miller
                |`- Re: CP/M-86, cpmtools, Gotekss_dubrovich@yahoo.com
                `* Re: CP/M-86, cpmtools, GoteksJohn Elliott
                 +- Re: CP/M-86, cpmtools, GoteksDouglas Miller
                 +- Re: CP/M-86, cpmtools, GoteksRandy McLaughlin
                 `- Re: CP/M-86, cpmtools, GoteksDouglas Miller

Pages:12
Re: CP/M-86, cpmtools, Goteks

<0efd2e58-2166-4cc6-bc28-825a91762298n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:7d91:0:b0:2e0:6b65:c76c with SMTP id c17-20020ac87d91000000b002e06b65c76cmr21500603qtd.564.1648476388578;
Mon, 28 Mar 2022 07:06:28 -0700 (PDT)
X-Received: by 2002:a05:6870:969f:b0:dd:eb91:c03c with SMTP id
o31-20020a056870969f00b000ddeb91c03cmr15672752oaq.105.1648476387823; Mon, 28
Mar 2022 07:06:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!45.76.7.193.MISMATCH!3.us.feeder.erje.net!feeder.erje.net!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: Mon, 28 Mar 2022 07:06:27 -0700 (PDT)
In-Reply-To: <t1qoa9$i7j$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=162.191.133.226; posting-account=vgtDDgoAAAD79vzJigFqI2FioZJCfmjs
NNTP-Posting-Host: 162.191.133.226
References: <cc3c6856-1aac-44d1-b0f1-b69bbe353ef6n@googlegroups.com>
<ja5a3rFdlq9U1@mid.individual.net> <3a500aea-8a4f-490a-a91e-2be1293671dbn@googlegroups.com>
<aec367f7-8b5b-4b00-9325-4a105fc0e71bn@googlegroups.com> <f2ac9cb4-c0e0-4f09-b95f-4112b593b97fn@googlegroups.com>
<5e7213ef-ea07-4455-9082-e039c910d8d4n@googlegroups.com> <fce77ecd-93a7-40b6-b758-90e69599ab85n@googlegroups.com>
<2f70c098-26d1-4654-bb8b-18689c3688e8n@googlegroups.com> <f856e5f4-db19-40a3-ab86-6ab8d4b682c7n@googlegroups.com>
<TomdnVaVFOPg4KL_nZ2dnUU7-XfNnZ2d@earthlink.com> <2ef653e8-3c51-4cc3-a4a7-90c9cc1d92b3n@googlegroups.com>
<mYKdnbwwe7ErGKL_nZ2dnUU7-c3NnZ2d@earthlink.com> <d7825943-4904-4e52-8092-23603a11a844n@googlegroups.com>
<46bcc5fa-07ee-42e2-8923-6e525bc10747n@googlegroups.com> <0a96be12-6718-4e5b-a4ea-d6f8701cb587n@googlegroups.com>
<6d2a54ab-49c0-4d2a-aa90-bcc65be557acn@googlegroups.com> <t1qoa9$i7j$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0efd2e58-2166-4cc6-bc28-825a91762298n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: ldkrae...@gmail.com (ldkr...@gmail.com)
Injection-Date: Mon, 28 Mar 2022 14:06:28 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 105
 by: ldkr...@gmail.com - Mon, 28 Mar 2022 14:06 UTC

Here is the information for 720CPM86.ZIP (720CPM86.IMG) Peter suggested.

#22DISK Definition
BEGIN FEA2 IBM PC, CP/M-86 - 720 KB - DSDD 3.5" - 48 TPI - 512 x 9
DENSITY MFM LOW
CYLINDERS 80 SIDES 1 SECTORS 9 512
SIDE1 0 1,2,3,4,5,6,7,8,9
BSH 4 BLM 15 EXM 1 DSM 354 DRM 255 AL0 0C0h AL1 0 OFS 2
END

#cpmtools Definition
# FEA2 IBM PC, CP/M-86 - 720 KB - DSDD 3.5" - 48 TPI - 512 x 9
diskdef fea2
seclen 512
tracks 80
sectrk 9
blocksize 2048
maxdir 256
skew 1
boottrk 2
os 3
# libdsk:format ibm720
end

# libdsk Definition
[fea2]
description = FEA2 IBM PC, CP/M-86 - 720 KB - DSDD 3.5" - 48 TPI - 512 x 9
cylinders = 80
heads = 1
secsize = 512
sectors = 9
secbase = 1
datarate = DD

#Flashfloppy/GOTEK Definition
[fea2]
cyls = 80
heads = 1
secs = 9
interleave = 1
bps = 512
id = 1
#rpm = 360
rpm = 300
rate = 250
mode = mfm
iam = no

Create *.TD0 Image

$ dsktrans -itype copyqm -otype tele -format ibm720 720CPM86.IMG 720CPM86.TD0
Input driver: CopyQM file driver
Output driver:TeleDisk file driver

Create *.IMD Image

$ dsktrans -itype copyqm -otype imd -format ibm720 720CPM86.IMG 720CPM86.IMD
Input driver: CopyQM file driver
Output driver:IMD file driver

Create *.RAW Image (Sector Dump)

$ dsktrans -itype copyqm -otype raw -format ibm720 720CPM86.IMG 720CPM86.RAW
Input driver: CopyQM file driver
Output driver:Raw file driver (alternate sides)

Files in the RAW Image

$ cpmls -f fea2 -D 720CPM86.RAW
Name Bytes Recs Attr update create
------------ ------ ------ ---- ----------------- -----------------
144BLDR2.CMD 6K 37 R
86LOGO .CMD 2K 4
ASM86 .CMD 26K 205
ASSIGN .CMD 4K 29
AUTOEXEC.SUB 2K 1
CLS .CMD 2K 4
CONFIG .CMD 4K 21
CPM .SYS 18K 144
DATA .PFK 2K 3
DDT86 .CMD 14K 112
DSKMAINT.CMD 6K 34
ED .CMD 10K 74
FASTKEYS.CMD 2K 5
FUNCTION.CMD 2K 16
GENCMD .CMD 6K 45
GETATCLK.CMD 2K 6
HDMAINT .CMD 26K 196
HELP .CMD 8K 52
HELP .HLP 24K 183
NEWTOD .CMD 2K 10
NUMOFF .CMD 2K 4
PIP .CMD 8K 59
PRINT .CMD 6K 40
SETUP .CMD 8K 63
STAT .CMD 10K 73
SUBMIT .CMD 4K 31
26 Files occupying 206K, 496K Free.

Write Image to Floppy (/dev/fd0) using libdsk (in Debian Linux 11 - 64 Bit)

$ dsktrans -itype raw -otype floppy -format ibm720 720CPM86.RAW /dev/fd0

Larry

Re: CP/M-86, cpmtools, Goteks

<c4ff5fcc-18d1-493a-be7e-e780b5bf1603n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ad4:5b8f:0:b0:443:5663:12ad with SMTP id 15-20020ad45b8f000000b00443566312admr455479qvp.93.1648664686968;
Wed, 30 Mar 2022 11:24:46 -0700 (PDT)
X-Received: by 2002:a05:6870:7393:b0:dd:9a31:96d1 with SMTP id
z19-20020a056870739300b000dd9a3196d1mr538705oam.98.1648664686657; Wed, 30 Mar
2022 11:24:46 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!3.us.feeder.erje.net!feeder.erje.net!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: Wed, 30 Mar 2022 11:24:46 -0700 (PDT)
In-Reply-To: <0a96be12-6718-4e5b-a4ea-d6f8701cb587n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23c7:a804:b400:222:4dff:fe6b:fcf1;
posting-account=xl-6oAgAAABXoEsqGWnUqZDyJ4niBm0S
NNTP-Posting-Host: 2a00:23c7:a804:b400:222:4dff:fe6b:fcf1
References: <cc3c6856-1aac-44d1-b0f1-b69bbe353ef6n@googlegroups.com>
<ja5a3rFdlq9U1@mid.individual.net> <3a500aea-8a4f-490a-a91e-2be1293671dbn@googlegroups.com>
<aec367f7-8b5b-4b00-9325-4a105fc0e71bn@googlegroups.com> <f2ac9cb4-c0e0-4f09-b95f-4112b593b97fn@googlegroups.com>
<5e7213ef-ea07-4455-9082-e039c910d8d4n@googlegroups.com> <fce77ecd-93a7-40b6-b758-90e69599ab85n@googlegroups.com>
<2f70c098-26d1-4654-bb8b-18689c3688e8n@googlegroups.com> <f856e5f4-db19-40a3-ab86-6ab8d4b682c7n@googlegroups.com>
<TomdnVaVFOPg4KL_nZ2dnUU7-XfNnZ2d@earthlink.com> <2ef653e8-3c51-4cc3-a4a7-90c9cc1d92b3n@googlegroups.com>
<mYKdnbwwe7ErGKL_nZ2dnUU7-c3NnZ2d@earthlink.com> <d7825943-4904-4e52-8092-23603a11a844n@googlegroups.com>
<46bcc5fa-07ee-42e2-8923-6e525bc10747n@googlegroups.com> <0a96be12-6718-4e5b-a4ea-d6f8701cb587n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c4ff5fcc-18d1-493a-be7e-e780b5bf1603n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: joh...@seasip.info (John Elliott)
Injection-Date: Wed, 30 Mar 2022 18:24:46 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 25
 by: John Elliott - Wed, 30 Mar 2022 18:24 UTC

On Saturday, March 26, 2022 at 10:19:52 PM UTC, rob.r...@gmail.com wrote:
> Oh interesting, with the 144cpm86.raw image as the selected image, STAT A: DSK: reports:
>
> 1,420: Kilobyte Drive Capacity
>
> With the image I created using dd, mkfs.cpm and cpmcp, it reports:
>
> 156: Kilobyte Drive Capacity
>
> so something is very different between those two images.
>
> I wonder if mkfs.cpm isn't creating the proper directory?

mkfs.cpm is likely not populating the boot sector. If you examine it in a hex editor, the last byte (offset 01FFh) is used by CP/M-86 to determine the capacity. This should be one of:

00h: 160k
01h: 320k
0Ch: 1200k (144FEAT)
10h: 360k (PCP/M-86)
11h: 720k (PCP/M-86)
40h: 360k (PCP/M-86)
48h: 720k (144FEAT)
90h: 1440k (144FEAT)

--
John Elliott

Re: CP/M-86, cpmtools, Goteks

<1d0d7ee9-7569-4232-8e2d-c566538eef63n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:7dc8:0:b0:2e1:b3ec:6666 with SMTP id c8-20020ac87dc8000000b002e1b3ec6666mr1938192qte.556.1648682238058;
Wed, 30 Mar 2022 16:17:18 -0700 (PDT)
X-Received: by 2002:a05:6820:625:b0:324:bb2d:bc22 with SMTP id
e37-20020a056820062500b00324bb2dbc22mr4165704oow.95.1648682237747; Wed, 30
Mar 2022 16:17:17 -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: Wed, 30 Mar 2022 16:17:17 -0700 (PDT)
In-Reply-To: <c4ff5fcc-18d1-493a-be7e-e780b5bf1603n@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: <cc3c6856-1aac-44d1-b0f1-b69bbe353ef6n@googlegroups.com>
<ja5a3rFdlq9U1@mid.individual.net> <3a500aea-8a4f-490a-a91e-2be1293671dbn@googlegroups.com>
<aec367f7-8b5b-4b00-9325-4a105fc0e71bn@googlegroups.com> <f2ac9cb4-c0e0-4f09-b95f-4112b593b97fn@googlegroups.com>
<5e7213ef-ea07-4455-9082-e039c910d8d4n@googlegroups.com> <fce77ecd-93a7-40b6-b758-90e69599ab85n@googlegroups.com>
<2f70c098-26d1-4654-bb8b-18689c3688e8n@googlegroups.com> <f856e5f4-db19-40a3-ab86-6ab8d4b682c7n@googlegroups.com>
<TomdnVaVFOPg4KL_nZ2dnUU7-XfNnZ2d@earthlink.com> <2ef653e8-3c51-4cc3-a4a7-90c9cc1d92b3n@googlegroups.com>
<mYKdnbwwe7ErGKL_nZ2dnUU7-c3NnZ2d@earthlink.com> <d7825943-4904-4e52-8092-23603a11a844n@googlegroups.com>
<46bcc5fa-07ee-42e2-8923-6e525bc10747n@googlegroups.com> <0a96be12-6718-4e5b-a4ea-d6f8701cb587n@googlegroups.com>
<c4ff5fcc-18d1-493a-be7e-e780b5bf1603n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1d0d7ee9-7569-4232-8e2d-c566538eef63n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Wed, 30 Mar 2022 23:17:18 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 17
 by: Douglas Miller - Wed, 30 Mar 2022 23:17 UTC

Looking at 144CPM86.IMG (after unpacking it), I see something strange. There are two separate directory areas. I suspect one is a remnant of a previous use of the diskette, apparently using a smaller disk capacity (DPB). I am guessing the directory for the larger capacity is the current one, but can't be certain. Since the files are all binary, with the possible exception of HELP.HLP, it is probably not worthwhile trying to discern the skew from that.

Looking at the boot sector (first sector on disk), it appears that there is a data block after the initial JMP instruction. This data block includes a diskette label string, but I don't see data that resembles a DPB. There is also another 0x90 byte which may, or may not, be a duplicate format byte.

Note that Digital Research did not define how the boot tracks were used, so I suspect it is the BIOS vendor that defined any format data in this boot sector. Vendor documentation, or BIOS source code, would be the definitive answer to how to determine diskette format. I'm not really inclined to try and disassemble the BIOS myself, as I'm not fluent in i8086.

Re: CP/M-86, cpmtools, Goteks

<ad06aae1-a6c1-40ac-a71b-399eddd83a31n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:150e:b0:67d:3243:12dd with SMTP id i14-20020a05620a150e00b0067d324312ddmr2293256qkk.229.1648707432130;
Wed, 30 Mar 2022 23:17:12 -0700 (PDT)
X-Received: by 2002:a05:6871:822:b0:dd:b9a5:f5cf with SMTP id
q34-20020a056871082200b000ddb9a5f5cfmr1954762oap.230.1648707431788; Wed, 30
Mar 2022 23:17:11 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.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: Wed, 30 Mar 2022 23:17:11 -0700 (PDT)
In-Reply-To: <1d0d7ee9-7569-4232-8e2d-c566538eef63n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=89.245.69.192; posting-account=RHtB3AoAAABZlu_FJY7ySUmJrtfW41bO
NNTP-Posting-Host: 89.245.69.192
References: <cc3c6856-1aac-44d1-b0f1-b69bbe353ef6n@googlegroups.com>
<ja5a3rFdlq9U1@mid.individual.net> <3a500aea-8a4f-490a-a91e-2be1293671dbn@googlegroups.com>
<aec367f7-8b5b-4b00-9325-4a105fc0e71bn@googlegroups.com> <f2ac9cb4-c0e0-4f09-b95f-4112b593b97fn@googlegroups.com>
<5e7213ef-ea07-4455-9082-e039c910d8d4n@googlegroups.com> <fce77ecd-93a7-40b6-b758-90e69599ab85n@googlegroups.com>
<2f70c098-26d1-4654-bb8b-18689c3688e8n@googlegroups.com> <f856e5f4-db19-40a3-ab86-6ab8d4b682c7n@googlegroups.com>
<TomdnVaVFOPg4KL_nZ2dnUU7-XfNnZ2d@earthlink.com> <2ef653e8-3c51-4cc3-a4a7-90c9cc1d92b3n@googlegroups.com>
<mYKdnbwwe7ErGKL_nZ2dnUU7-c3NnZ2d@earthlink.com> <d7825943-4904-4e52-8092-23603a11a844n@googlegroups.com>
<46bcc5fa-07ee-42e2-8923-6e525bc10747n@googlegroups.com> <0a96be12-6718-4e5b-a4ea-d6f8701cb587n@googlegroups.com>
<c4ff5fcc-18d1-493a-be7e-e780b5bf1603n@googlegroups.com> <1d0d7ee9-7569-4232-8e2d-c566538eef63n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ad06aae1-a6c1-40ac-a71b-399eddd83a31n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: udo.m...@freenet.de (Udo Munk)
Injection-Date: Thu, 31 Mar 2022 06:17:12 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2572
 by: Udo Munk - Thu, 31 Mar 2022 06:17 UTC

When we got the very first IBM PC at work, the manual for the machine included the complete BIOS source
listing. I remember that because I wrote some assembler and C software using BIOS calls instead of OS
calls, which was possible by studying the manual. Of course that listing was used by cloners like AMI to produce
a compatible BIOS for clone machines, so for later systems IBM did not provide the BIOS source anymore.
I think that manual likely is available somewhere.

Re: CP/M-86, cpmtools, Goteks

<7d9c837e-f914-47fb-96b2-6b368ecb8290n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:150e:b0:67d:3243:12dd with SMTP id i14-20020a05620a150e00b0067d324312ddmr2995905qkk.229.1648727880053;
Thu, 31 Mar 2022 04:58:00 -0700 (PDT)
X-Received: by 2002:a05:6870:d191:b0:dd:a91e:82dc with SMTP id
a17-20020a056870d19100b000dda91e82dcmr2414253oac.248.1648727879772; Thu, 31
Mar 2022 04:57:59 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!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: Thu, 31 Mar 2022 04:57:59 -0700 (PDT)
In-Reply-To: <ad06aae1-a6c1-40ac-a71b-399eddd83a31n@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: <cc3c6856-1aac-44d1-b0f1-b69bbe353ef6n@googlegroups.com>
<ja5a3rFdlq9U1@mid.individual.net> <3a500aea-8a4f-490a-a91e-2be1293671dbn@googlegroups.com>
<aec367f7-8b5b-4b00-9325-4a105fc0e71bn@googlegroups.com> <f2ac9cb4-c0e0-4f09-b95f-4112b593b97fn@googlegroups.com>
<5e7213ef-ea07-4455-9082-e039c910d8d4n@googlegroups.com> <fce77ecd-93a7-40b6-b758-90e69599ab85n@googlegroups.com>
<2f70c098-26d1-4654-bb8b-18689c3688e8n@googlegroups.com> <f856e5f4-db19-40a3-ab86-6ab8d4b682c7n@googlegroups.com>
<TomdnVaVFOPg4KL_nZ2dnUU7-XfNnZ2d@earthlink.com> <2ef653e8-3c51-4cc3-a4a7-90c9cc1d92b3n@googlegroups.com>
<mYKdnbwwe7ErGKL_nZ2dnUU7-c3NnZ2d@earthlink.com> <d7825943-4904-4e52-8092-23603a11a844n@googlegroups.com>
<46bcc5fa-07ee-42e2-8923-6e525bc10747n@googlegroups.com> <0a96be12-6718-4e5b-a4ea-d6f8701cb587n@googlegroups.com>
<c4ff5fcc-18d1-493a-be7e-e780b5bf1603n@googlegroups.com> <1d0d7ee9-7569-4232-8e2d-c566538eef63n@googlegroups.com>
<ad06aae1-a6c1-40ac-a71b-399eddd83a31n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7d9c837e-f914-47fb-96b2-6b368ecb8290n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Thu, 31 Mar 2022 11:58:00 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 14
 by: Douglas Miller - Thu, 31 Mar 2022 11:57 UTC

Also be aware that "BIOS" has a subtly different meaning in the IBM-PC/DOS world than in CP/M. DOS formally placed the BIOS in the ROM, while in the CP/M world the BIOS was the portion of CP/M that implemented the interfaced to the specific platform. I don't believe that the IBM-PC "BIOS ROM" could be directly used as the CP/M-86 BIOS, so there had to be a "shim" (at least) to interface the CP/M-86 BIOS calls to the platform ROM "BIOS". I'm not sure what DOS defined as far as "format data" in the boot sector, but CP/M-86 was not restricted to running on DOS (IBM-PC compatible) platforms. As I recall, DOS does not use the exact same DPB format as CP/M so there needs to be some translation done there, but it is possible that the diskette format is being detected by the ROM BIOS and then the CP/M-86 BIOS is translating that into what the CP/M-86 BDOS needs.

The original post does say "PC", which I would assume means it is an IBM-PC - but that may be an incorrect assumption.

Re: CP/M-86, cpmtools, Goteks

<d452f482-3673-4789-8faf-e787f43b896fn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:21a7:b0:441:1434:eafd with SMTP id t7-20020a05621421a700b004411434eafdmr5904654qvc.77.1648764058633;
Thu, 31 Mar 2022 15:00:58 -0700 (PDT)
X-Received: by 2002:a05:6870:4790:b0:dd:cd0f:e00b with SMTP id
c16-20020a056870479000b000ddcd0fe00bmr3677988oaq.120.1648764058327; Thu, 31
Mar 2022 15:00:58 -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, 31 Mar 2022 15:00:58 -0700 (PDT)
In-Reply-To: <1d0d7ee9-7569-4232-8e2d-c566538eef63n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23c7:a804:b400:222:4dff:fe6b:fcf1;
posting-account=xl-6oAgAAABXoEsqGWnUqZDyJ4niBm0S
NNTP-Posting-Host: 2a00:23c7:a804:b400:222:4dff:fe6b:fcf1
References: <cc3c6856-1aac-44d1-b0f1-b69bbe353ef6n@googlegroups.com>
<ja5a3rFdlq9U1@mid.individual.net> <3a500aea-8a4f-490a-a91e-2be1293671dbn@googlegroups.com>
<aec367f7-8b5b-4b00-9325-4a105fc0e71bn@googlegroups.com> <f2ac9cb4-c0e0-4f09-b95f-4112b593b97fn@googlegroups.com>
<5e7213ef-ea07-4455-9082-e039c910d8d4n@googlegroups.com> <fce77ecd-93a7-40b6-b758-90e69599ab85n@googlegroups.com>
<2f70c098-26d1-4654-bb8b-18689c3688e8n@googlegroups.com> <f856e5f4-db19-40a3-ab86-6ab8d4b682c7n@googlegroups.com>
<TomdnVaVFOPg4KL_nZ2dnUU7-XfNnZ2d@earthlink.com> <2ef653e8-3c51-4cc3-a4a7-90c9cc1d92b3n@googlegroups.com>
<mYKdnbwwe7ErGKL_nZ2dnUU7-c3NnZ2d@earthlink.com> <d7825943-4904-4e52-8092-23603a11a844n@googlegroups.com>
<46bcc5fa-07ee-42e2-8923-6e525bc10747n@googlegroups.com> <0a96be12-6718-4e5b-a4ea-d6f8701cb587n@googlegroups.com>
<c4ff5fcc-18d1-493a-be7e-e780b5bf1603n@googlegroups.com> <1d0d7ee9-7569-4232-8e2d-c566538eef63n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d452f482-3673-4789-8faf-e787f43b896fn@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: joh...@seasip.info (John Elliott)
Injection-Date: Thu, 31 Mar 2022 22:00:58 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 32
 by: John Elliott - Thu, 31 Mar 2022 22:00 UTC

On Thursday, March 31, 2022 at 12:17:18 AM UTC+1, Douglas Miller wrote:
> Looking at the boot sector (first sector on disk), it appears that there is a data block after the initial JMP instruction. This data block includes a diskette label string, but I don't see data that resembles a DPB. There is also another 0x90 byte which may, or may not, be a duplicate format byte..

CP/M-86 v1.1 for the IBM PC only uses the last byte of the boot sector to determine the disk format. Anything in the preceding 511 bytes may have meaning to other operating systems, but from CP/M-86's point of view it can be ignored.

There's a disassembly of this version of CP/M-86 at <http://www.cpm.z80.de/source.html> (download CPMDEV.ZIP). The default format determination code is simply:

RESET_FLOPPY1:
MOV Word Ptr 0Ah[BX],Offset DPBK1
PUSH BX
MOV BX,Offset DSKBUF
DEC Byte Ptr 01FFh[BX]
POP BX
JNZ RESET_FLOPPY2
MOV Word Ptr 0Ah[BX],Offset DPBK2
; RESET_FLOPPY2:

This is presumably patched by 144FEAT to detect additional disk types and select the appropriate DPB.

--
John Elliott

Re: CP/M-86, cpmtools, Goteks

<fb4215e2-a018-4b6f-bf7c-0c6f9465fdb1n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:daa:b0:441:7161:de4b with SMTP id h10-20020a0562140daa00b004417161de4bmr6101620qvh.48.1648773879625;
Thu, 31 Mar 2022 17:44:39 -0700 (PDT)
X-Received: by 2002:a05:6870:b62a:b0:dd:f3b0:96da with SMTP id
cm42-20020a056870b62a00b000ddf3b096damr3894625oab.258.1648773879347; Thu, 31
Mar 2022 17:44: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: Thu, 31 Mar 2022 17:44:39 -0700 (PDT)
In-Reply-To: <d452f482-3673-4789-8faf-e787f43b896fn@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: <cc3c6856-1aac-44d1-b0f1-b69bbe353ef6n@googlegroups.com>
<ja5a3rFdlq9U1@mid.individual.net> <3a500aea-8a4f-490a-a91e-2be1293671dbn@googlegroups.com>
<aec367f7-8b5b-4b00-9325-4a105fc0e71bn@googlegroups.com> <f2ac9cb4-c0e0-4f09-b95f-4112b593b97fn@googlegroups.com>
<5e7213ef-ea07-4455-9082-e039c910d8d4n@googlegroups.com> <fce77ecd-93a7-40b6-b758-90e69599ab85n@googlegroups.com>
<2f70c098-26d1-4654-bb8b-18689c3688e8n@googlegroups.com> <f856e5f4-db19-40a3-ab86-6ab8d4b682c7n@googlegroups.com>
<TomdnVaVFOPg4KL_nZ2dnUU7-XfNnZ2d@earthlink.com> <2ef653e8-3c51-4cc3-a4a7-90c9cc1d92b3n@googlegroups.com>
<mYKdnbwwe7ErGKL_nZ2dnUU7-c3NnZ2d@earthlink.com> <d7825943-4904-4e52-8092-23603a11a844n@googlegroups.com>
<46bcc5fa-07ee-42e2-8923-6e525bc10747n@googlegroups.com> <0a96be12-6718-4e5b-a4ea-d6f8701cb587n@googlegroups.com>
<c4ff5fcc-18d1-493a-be7e-e780b5bf1603n@googlegroups.com> <1d0d7ee9-7569-4232-8e2d-c566538eef63n@googlegroups.com>
<d452f482-3673-4789-8faf-e787f43b896fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fb4215e2-a018-4b6f-bf7c-0c6f9465fdb1n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Fri, 01 Apr 2022 00:44:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 13
 by: Douglas Miller - Fri, 1 Apr 2022 00:44 UTC

Can't tell if that source came from DRI or a vendor, but the standard DRI reference BIOS code that is available does not perform any such a check. The CPMDEV.ZIP code (PCBIOS.A86) is looking for a boolean value in the last byte of the boot sector, and has no 1.44M DPB, so is not exactly matching what we're looking for here.

As far as being able to create compatible disks, it is probably necessary to duplicate the boot tracks of a "working" disk of the same format, and fill in the files you want. But if that is not working, it may be the sector skew and without source code for the BIOS, or digging into the DPH/DPB (through DDT or a program), it may come down to creating a disk on the actual PC that contains a large text file that can be easily re-ordered - a large HEX file or assembler listing would work - and then creating an image from that diskette and examining it to determine the skew.

Re: CP/M-86, cpmtools, Goteks

<4745b8b2-ad3e-437f-a899-eed931e70c44n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:14d0:b0:2e0:64e7:3920 with SMTP id u16-20020a05622a14d000b002e064e73920mr6809976qtx.61.1648776328966;
Thu, 31 Mar 2022 18:25:28 -0700 (PDT)
X-Received: by 2002:a05:6870:a70b:b0:dd:9cf0:763e with SMTP id
g11-20020a056870a70b00b000dd9cf0763emr4025032oam.116.1648776328149; Thu, 31
Mar 2022 18:25:28 -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, 31 Mar 2022 18:25:27 -0700 (PDT)
In-Reply-To: <fb4215e2-a018-4b6f-bf7c-0c6f9465fdb1n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=75.64.86.134; posting-account=PFWPPwoAAACyqfximQYdiAnvYtofle1M
NNTP-Posting-Host: 75.64.86.134
References: <cc3c6856-1aac-44d1-b0f1-b69bbe353ef6n@googlegroups.com>
<ja5a3rFdlq9U1@mid.individual.net> <3a500aea-8a4f-490a-a91e-2be1293671dbn@googlegroups.com>
<aec367f7-8b5b-4b00-9325-4a105fc0e71bn@googlegroups.com> <f2ac9cb4-c0e0-4f09-b95f-4112b593b97fn@googlegroups.com>
<5e7213ef-ea07-4455-9082-e039c910d8d4n@googlegroups.com> <fce77ecd-93a7-40b6-b758-90e69599ab85n@googlegroups.com>
<2f70c098-26d1-4654-bb8b-18689c3688e8n@googlegroups.com> <f856e5f4-db19-40a3-ab86-6ab8d4b682c7n@googlegroups.com>
<TomdnVaVFOPg4KL_nZ2dnUU7-XfNnZ2d@earthlink.com> <2ef653e8-3c51-4cc3-a4a7-90c9cc1d92b3n@googlegroups.com>
<mYKdnbwwe7ErGKL_nZ2dnUU7-c3NnZ2d@earthlink.com> <d7825943-4904-4e52-8092-23603a11a844n@googlegroups.com>
<46bcc5fa-07ee-42e2-8923-6e525bc10747n@googlegroups.com> <0a96be12-6718-4e5b-a4ea-d6f8701cb587n@googlegroups.com>
<c4ff5fcc-18d1-493a-be7e-e780b5bf1603n@googlegroups.com> <1d0d7ee9-7569-4232-8e2d-c566538eef63n@googlegroups.com>
<d452f482-3673-4789-8faf-e787f43b896fn@googlegroups.com> <fb4215e2-a018-4b6f-bf7c-0c6f9465fdb1n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4745b8b2-ad3e-437f-a899-eed931e70c44n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: randy...@hotmail.com (Randy McLaughlin)
Injection-Date: Fri, 01 Apr 2022 01:25:28 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 26
 by: Randy McLaughlin - Fri, 1 Apr 2022 01:25 UTC

There were many implementations of CP/M-86. For the IBM to my knowledge DRI only supported 160K and 360K for the original release.

That said all other PC type versions expanded from type 00 and type 1 to allow more diskette versions., the latest is a patched version that supports up to 1.44mb and was never from DRI.

Meaning everyone is correct.

Randy

On Thursday, March 31, 2022 at 7:44:40 PM UTC-5, Douglas Miller wrote:
> Can't tell if that source came from DRI or a vendor, but the standard DRI reference BIOS code that is available does not perform any such a check. The CPMDEV.ZIP code (PCBIOS.A86) is looking for a boolean value in the last byte of the boot sector, and has no 1.44M DPB, so is not exactly matching what we're looking for here.
>
> As far as being able to create compatible disks, it is probably necessary to duplicate the boot tracks of a "working" disk of the same format, and fill in the files you want. But if that is not working, it may be the sector skew and without source code for the BIOS, or digging into the DPH/DPB (through DDT or a program), it may come down to creating a disk on the actual PC that contains a large text file that can be easily re-ordered - a large HEX file or assembler listing would work - and then creating an image from that diskette and examining it to determine the skew.

Re: CP/M-86, cpmtools, Goteks

<cc4a0c17-041e-469a-807e-71672f08e80en@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:470d:b0:67d:d8a8:68c6 with SMTP id bs13-20020a05620a470d00b0067dd8a868c6mr5612754qkb.717.1648784310002;
Thu, 31 Mar 2022 20:38:30 -0700 (PDT)
X-Received: by 2002:a05:6870:4790:b0:dd:cd0f:e00b with SMTP id
c16-20020a056870479000b000ddcd0fe00bmr4168398oaq.120.1648784309740; Thu, 31
Mar 2022 20:38:29 -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, 31 Mar 2022 20:38:29 -0700 (PDT)
In-Reply-To: <4745b8b2-ad3e-437f-a899-eed931e70c44n@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: <cc3c6856-1aac-44d1-b0f1-b69bbe353ef6n@googlegroups.com>
<ja5a3rFdlq9U1@mid.individual.net> <3a500aea-8a4f-490a-a91e-2be1293671dbn@googlegroups.com>
<aec367f7-8b5b-4b00-9325-4a105fc0e71bn@googlegroups.com> <f2ac9cb4-c0e0-4f09-b95f-4112b593b97fn@googlegroups.com>
<5e7213ef-ea07-4455-9082-e039c910d8d4n@googlegroups.com> <fce77ecd-93a7-40b6-b758-90e69599ab85n@googlegroups.com>
<2f70c098-26d1-4654-bb8b-18689c3688e8n@googlegroups.com> <f856e5f4-db19-40a3-ab86-6ab8d4b682c7n@googlegroups.com>
<TomdnVaVFOPg4KL_nZ2dnUU7-XfNnZ2d@earthlink.com> <2ef653e8-3c51-4cc3-a4a7-90c9cc1d92b3n@googlegroups.com>
<mYKdnbwwe7ErGKL_nZ2dnUU7-c3NnZ2d@earthlink.com> <d7825943-4904-4e52-8092-23603a11a844n@googlegroups.com>
<46bcc5fa-07ee-42e2-8923-6e525bc10747n@googlegroups.com> <0a96be12-6718-4e5b-a4ea-d6f8701cb587n@googlegroups.com>
<c4ff5fcc-18d1-493a-be7e-e780b5bf1603n@googlegroups.com> <1d0d7ee9-7569-4232-8e2d-c566538eef63n@googlegroups.com>
<d452f482-3673-4789-8faf-e787f43b896fn@googlegroups.com> <fb4215e2-a018-4b6f-bf7c-0c6f9465fdb1n@googlegroups.com>
<4745b8b2-ad3e-437f-a899-eed931e70c44n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cc4a0c17-041e-469a-807e-71672f08e80en@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Fri, 01 Apr 2022 03:38:29 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 22
 by: Douglas Miller - Fri, 1 Apr 2022 03:38 UTC

Decided to take a little time to educate myself on this version of CP/M-86. Found this site https://www.z80cpu.eu/mirrors/klaw/files.htm, specifically the "144FEAT2.ZIP" download. Not sure what you're actually running, but there is some good information in the DOC files in the ZIP. One thing I see in 144PREP2.DOC is:

6. Standard CP/M-86, without the "1.44 MB feature" loaded, will "see" all
diskette types prepared by 144PREP2 as a 160 KB single-sided
diskette with all diskette space used by a file called CP/M-86.720 c.q.
CP/M-86.120 c.q. CP/M-86.144.
This will prevent a non-patched, standard CP/M-86 system from accidently
overwriting data on the new higher capacity diskette types.

This explains what I saw in the disk image - that "phantom" directory was actually this trick to prevent accidental corruption when being used on a system that had not been patched. I haven't thoroughly analyzed the patch being done here, and probably won't, but it still begs the question of what the original BIOS is doing as well - in addition to what changes after the patch. Since the 720K, 1.2M, and 1.44M formats are new, there might be clues if one could find the DPHs and DPBs being used there (DPH contains the skew table, if any).

There is also the file 144TECH2.DOC with valuable information.

Re: CP/M-86, cpmtools, Goteks

<t26jq8$phb$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: chiedete...@ask.me (dott.Piergiorgio)
Newsgroups: comp.os.cpm
Subject: Re: CP/M-86, cpmtools, Goteks
Date: Fri, 1 Apr 2022 12:23:04 +0200
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <t26jq8$phb$1@dont-email.me>
References: <cc3c6856-1aac-44d1-b0f1-b69bbe353ef6n@googlegroups.com>
<Mt-dnW_drPZuiaD_nZ2dnUU7-N_NnZ2d@earthlink.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 1 Apr 2022 10:23:04 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="4b3a51d03ac2f50caa5da1152b402d22";
logging-data="26155"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19PF3Q3A7alWDHAaBpFxvEJ6zLE1po8cyqDbZugEkrKVQ=="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.6.2
Cancel-Lock: sha1:uolNvTfFyStVoVMLkSPC858zwBc=
In-Reply-To: <Mt-dnW_drPZuiaD_nZ2dnUU7-N_NnZ2d@earthlink.com>
Content-Language: en-GB
 by: dott.Piergiorgio - Fri, 1 Apr 2022 10:23 UTC

On 25/03/22 02:03, David Schultz wrote:
> All you need to do is fill the directory sectors with 0xe5. I can't find
> a way to make dd do that.

perhaps creating a file containing some E5s, of appropriate power-of-two
lent (easy to create with a flexible enough hex editor) and using it as
input file (if=e5.bin) ?

Best regards from Italy,
dott. Piergiorgio.

Re: CP/M-86, cpmtools, Goteks

<19350abe-8e71-48e1-a2f5-273bfa0f7d41n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:21d4:b0:67d:6a35:5dff with SMTP id h20-20020a05620a21d400b0067d6a355dffmr7155407qka.747.1648832653006;
Fri, 01 Apr 2022 10:04:13 -0700 (PDT)
X-Received: by 2002:a05:6870:7388:b0:e1:c59b:f05d with SMTP id
z8-20020a056870738800b000e1c59bf05dmr1133103oam.281.1648832652716; Fri, 01
Apr 2022 10:04:12 -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: Fri, 1 Apr 2022 10:04:12 -0700 (PDT)
In-Reply-To: <7d9c837e-f914-47fb-96b2-6b368ecb8290n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=174.25.130.12; posting-account=KbRTxAgAAADkd6AlLXwwUE9wWVivGT_O
NNTP-Posting-Host: 174.25.130.12
References: <cc3c6856-1aac-44d1-b0f1-b69bbe353ef6n@googlegroups.com>
<ja5a3rFdlq9U1@mid.individual.net> <3a500aea-8a4f-490a-a91e-2be1293671dbn@googlegroups.com>
<aec367f7-8b5b-4b00-9325-4a105fc0e71bn@googlegroups.com> <f2ac9cb4-c0e0-4f09-b95f-4112b593b97fn@googlegroups.com>
<5e7213ef-ea07-4455-9082-e039c910d8d4n@googlegroups.com> <fce77ecd-93a7-40b6-b758-90e69599ab85n@googlegroups.com>
<2f70c098-26d1-4654-bb8b-18689c3688e8n@googlegroups.com> <f856e5f4-db19-40a3-ab86-6ab8d4b682c7n@googlegroups.com>
<TomdnVaVFOPg4KL_nZ2dnUU7-XfNnZ2d@earthlink.com> <2ef653e8-3c51-4cc3-a4a7-90c9cc1d92b3n@googlegroups.com>
<mYKdnbwwe7ErGKL_nZ2dnUU7-c3NnZ2d@earthlink.com> <d7825943-4904-4e52-8092-23603a11a844n@googlegroups.com>
<46bcc5fa-07ee-42e2-8923-6e525bc10747n@googlegroups.com> <0a96be12-6718-4e5b-a4ea-d6f8701cb587n@googlegroups.com>
<c4ff5fcc-18d1-493a-be7e-e780b5bf1603n@googlegroups.com> <1d0d7ee9-7569-4232-8e2d-c566538eef63n@googlegroups.com>
<ad06aae1-a6c1-40ac-a71b-399eddd83a31n@googlegroups.com> <7d9c837e-f914-47fb-96b2-6b368ecb8290n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <19350abe-8e71-48e1-a2f5-273bfa0f7d41n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: s_dubrov...@yahoo.com (s_dubrovich@yahoo.com)
Injection-Date: Fri, 01 Apr 2022 17:04:12 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 153
 by: s_dubrovich@yahoo.co - Fri, 1 Apr 2022 17:04 UTC

On Thursday, March 31, 2022 at 6:58:00 AM UTC-5, Douglas Miller wrote:
> Also be aware that "BIOS" has a subtly different meaning in the IBM-PC/DOS world than in CP/M. DOS formally placed the BIOS in the ROM, while in the CP/M world the BIOS was the portion of CP/M that implemented the interfaced to the specific platform. I don't believe that the IBM-PC "BIOS ROM" could be directly used as the CP/M-86 BIOS, so there had to be a "shim" (at least) to interface the CP/M-86 BIOS calls to the platform ROM "BIOS". I'm not sure what DOS defined as far as "format data" in the boot sector, but CP/M-86 was not restricted to running on DOS (IBM-PC compatible) platforms. As I recall, DOS does not use the exact same DPB format as CP/M so there needs to be some translation done there, but it is possible that the diskette format is being detected by the ROM BIOS and then the CP/M-86 BIOS is translating that into what the CP/M-86 BDOS needs.
>
> The original post does say "PC", which I would assume means it is an IBM-PC - but that may be an incorrect assumption.

The IBM ROM BIOS is better referred as 'rom-bios'. It is mostly the INT services.
The cp/m Bios is the software buss interface to the hardware, sometimes known as the CBIOS, customized bios.
For CP/M-86 the cbios begins at offset 2500h, which has the jump table to all the services the cbios offers, including the low level hardware interfaces.
As an aside, a working cp/m-86 binary can be split there at the cbios jump table and a new cbios binary org'd for 2500h can 'paper-over' there as one
method of modifing cp/m-86 [1]. Also, the IBM versions load at segment 0051h whereas the non-IBM versions often use 0040h.
The CP/M-86 v. 1.0 for the IBM-PC was the first version offered, followed by CP/M-86 v. 1.1 for the IBM PC/XT which added hard disk support.
There is the EAGLE version of CP/M-86 on Gaby's site - the unofficial cpm site. It is IBM compatible as Eagle computers were an IBM clone. ( I
once had it running on a dell pentium laptop by using a 720k 3 1/2 floppy formatted as 360k media and installed the EAGLE version on it. So I know
the cbios was ibm compatible. After this time the OEMs began using 3 1/2 floppy drives whose controllers dropped support for 720k format, then floppy drives began to disappear. ) The Eagle software includes the source for the CBIOS in CPMBIOS.A86 so have a look there for the CBIOS to
RomBios usage. It uses INT 10h, 12h, 13h, 14h, 16h, 17h, of the IBM RomBios.

[1] AIR Freek didn't want to modify CP/M-86 until after load time where his driver does a 'hot' patch of cp/m-86.

The CP/M-86 media does not have a BPB structure on disk like pcDos does. It's method is use of a DPH & DPB structures held in the CBIOS.
The DPB.OFFSET field holds the offset in TRACKs to use to be at the beginning of the Disk Directory.
The only snippet of code I have on this system from those times (over 20 years ago) is this, from 2014 in nasm syntax..
Note: There is no sector skew on modern floppy drives.

fwiiw:

;;==================;; -=== D A T A ===-
;;==================;;------------------------------------------------------
;; Disk Structures DPH, DPB. Work Areas CSV, ALV.
;;------------------------------------------------------
;; CSV size is based on CKS size, CSVsz = CKS = (DRM+1)/4
;; ALV size is based on maxium blks, = (DSM/8)+1
; ; DISK PARAMETER HEADER
; FEAT_DPH DW 0 ;NO TRANSLATE TABLE (for sector skew)
DW 0 ;; cdrmaxa, DPH[2]
DW 0 ;; curtrka, DPH[4]
DW 0 ;; curreca, DPH[6]
DW DIRBUF ;DIRECTORY SCRATCH PAD
FEAT_DPB DW FEAT144 ;DPBK1
DW FEAT_CSV ;CHECK VECTOR 0
DW FEAT_ALV ;ALLOCATION VECTOR 0

;-----------------------------------------------------------
; PC DOUBLE SIDED - 1440k drive - Feat144.
; ; 512 BYTES PER SECTOR
; 18 SECTORS PER TRACK
; 160 TRACKS PER DRIVE, 80 per side
; DOUBLE DENSITY
;-----------------------------------------------------------
;; bls144 equ 4096 ;block size is 32 sectors of 128 bytes

FEAT144:
ISTRUC DPB_
at DPB_.CSPT, DW 72 ;LOGICAL 128byte SECTORS PER TRACK
at DPB_.CBSH, DB 5 ;BLOCK SHIFT FACTOR
at DPB_.CBLM, DB 31 ;BLOCK MASK VALUE
at DPB_.CEXM, DB 1 ;EXTENT MASK
at DPB_.CDSM, DW 354 ;DISK STORAGE ( IN BLOCKS - 1)
at DPB_.CDRM, DW 255 ;DIRECTORY ENTRIES ( -1 )
at DPB_.CAL0, DB 0C0h ;DIRECTORY ALLOCATION VECTOR 0
at DPB_.CAL1, DB 00h ;DIRECTORY ALLOCATION VECTOR 1
at DPB_.CCKS, DW 64 ;SIZE OF CHECK VECTOR
at DPB_.COFF, DW 2 ;SYSTEM OFFSET ** in Tracks **
featcsv equ 64 ;; (DRM+1)/4 =256/4 =64
featalv equ 45 ;; (DSM/8)+1 =(354/8)+1 = 44+1 = 45

; EAGLE EXTENSION
;; at DPB_.RMSK, DB 1 ;PHYSICAL TO LOGICAL SECTOR MASK VALUE
;; at DPB_.RLSHF, DB 1 ;PHYSICAL TO LOGICAL SECTOR SHIFT VALUE
;; at DPB_.RSDF, DB 1 ;LOGICAL TRACK TO HEAD/TRACK METHOD
;; at DPB_.RDSZ, DB 1 ;READ SIZE
;; at DPB_.RHWP, DW 1 ;POINTER TO HAREWARE PARAMETER TABLE
;; at DPB_.RXLT, DW 1 ;POINTER TO PHYSICAL SECTOR TRANSLATION
;; at DPB_.SID, DW 0090h ; = 144 Feat Boot Sector ID.
IEND
;; feat144..
FEAT_CSV TIMES featcsv DB 0 ;;CHECK VECTOR 1
FEAT_ALV TIMES featalv DB 0 ;;ALLOCATION VECTOR 1
;---------------------------------------------------------------------
; CONTROLLER PARAMETERS FOR PC DISKETTES
;---------------------------------------------------------------------
;; Diskette Parameter Table (DPT) for PC-ROM-BIOS Int 1Eh Vectors.
;;--------------------------------------------------------------------
;For 720 KB and 1.44 MB, 3.5 inch diskettes we will use a different DPT
;(source: MS-DOS 6.2):
;DF 02 25 02 12 1B FF 6C F6 0F 08.
PC_F144:
ISTRUC DPTbl_
at DPTbl_.Spec1, DB 0DFh ;"DISK_BASE" HARDWARD INFORMATION
at DPTbl_.Spec2, DB 2 ;SPEC BYTE 2, 02h, HeadLoad & nonDMA_Flg
at DPTbl_.MotD, DB 25 ;MOTOR OFF TIME
at DPTbl_.RSSHF, DB 2 ;SECTOR SIZE SHIFT FACTOR, 2 = 512 byte sectors
at DPTbl_.RSPT, DB 12 ;EOT - SPECTORS PER TRACK
at DPTbl_.GapL, DB 01Bh ;GPL - READ GAP LENGTH
at DPTbl_.DataL, DB 0FFh ;DTL - DATA LENGTH
at DPTbl_.GapF, DB 06Ch ;FORMAT GAP LENGTH
at DPTbl_.Fillr, DB 0F6h ;FILL BYTE FOR FORMAT
at DPTbl_.Settl, DB 0Fh ;SKIP FLAG / HEAD SETTLE TIME
at DPTbl_.MotS, DB 8 ;MOTOR START TIME ( IN 1/8THS'S)
; local info extention..
at DPTbl_.RTPS, DB 80 ;TRACKS PER "SIDE"
at DPTbl_.RHPD, DB 2 ;NUMBER OF HEADS
IEND
;---------------------------------------------------------------------
; E N D O F F E A T D R I V E R
;---------------------------------------------------------------------

AIR the DPTbl was slightly different from other IBM RomBios references I had, so double check these.
Note that early media used a format filler byte of E5h versus the later format filler byte of F6h. This
brings up a point~ early CP/M-80 saw the default E5h in the directory entry as 'this fcb spot is free' was
a change made when the default filler went F6h?

hth,

Steve

Re: CP/M-86, cpmtools, Goteks

<9cqdneLG-tggotr_nZ2dnUU7-T_NnZ2d@earthlink.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!2.eu.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 01 Apr 2022 13:09:01 -0500
Date: Fri, 1 Apr 2022 13:09:00 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Subject: Re: CP/M-86, cpmtools, Goteks
Content-Language: en-US
Newsgroups: comp.os.cpm
References: <cc3c6856-1aac-44d1-b0f1-b69bbe353ef6n@googlegroups.com>
<Mt-dnW_drPZuiaD_nZ2dnUU7-N_NnZ2d@earthlink.com> <t26jq8$phb$1@dont-email.me>
From: david.sc...@earthlink.net (David Schultz)
In-Reply-To: <t26jq8$phb$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <9cqdneLG-tggotr_nZ2dnUU7-T_NnZ2d@earthlink.com>
Lines: 24
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.109.50
X-Trace: sv3-AOToCsD4rOq93I7hCMrU5gMiVoObUIcj/84UP/2lmV4O/4fmHC3p/iJftNNsHVnui11mKYXUyPoXERs!zQYqMH2XaUadp3l9jgqODFN3zASK+tnkJ9fhLeQQ9Ph4tTbjK+pxF0F6sOAFErFmbY5Ks11GjXmr!o7Qg6tvVHIh2L4ir5RCd4iGQhpSqpSgu
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2130
 by: David Schultz - Fri, 1 Apr 2022 18:09 UTC

On 4/1/22 5:23 AM, dott.Piergiorgio wrote:
> On 25/03/22 02:03, David Schultz wrote:
>> All you need to do is fill the directory sectors with 0xe5. I can't
>> find a way to make dd do that.
>
> perhaps creating a file containing some E5s, of appropriate power-of-two
> lent (easy to create with a flexible enough hex editor) and using it as
> input file (if=e5.bin) ?
>
> Best regards from Italy,
> dott. Piergiorgio.
I forgot about one little detail. If you want the disk to be bootable,
it is going to have to look like a boot disk to the ROM BIOS. Which
means that first sector is important too.

I do see CPM listed among the various partition types:
https://tldp.org/HOWTO/Partition-Mass-Storage-Definitions-Naming-HOWTO/x190.html

That dang ROM BIOS both simplifies and complicates things.

--
http://davesrocketworks.com
David Schultz

Re: CP/M-86, cpmtools, Goteks

<3f35613b-84ec-4110-a365-6cb988976991n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:22db:b0:67d:72f5:bc60 with SMTP id o27-20020a05620a22db00b0067d72f5bc60mr8720780qki.633.1648893722600;
Sat, 02 Apr 2022 03:02:02 -0700 (PDT)
X-Received: by 2002:aca:3b54:0:b0:2ec:b76a:8a50 with SMTP id
i81-20020aca3b54000000b002ecb76a8a50mr6427995oia.242.1648893722311; Sat, 02
Apr 2022 03:02:02 -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, 2 Apr 2022 03:02:02 -0700 (PDT)
In-Reply-To: <9cqdneLG-tggotr_nZ2dnUU7-T_NnZ2d@earthlink.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23c7:a804:b400:222:4dff:fe6b:fcf1;
posting-account=xl-6oAgAAABXoEsqGWnUqZDyJ4niBm0S
NNTP-Posting-Host: 2a00:23c7:a804:b400:222:4dff:fe6b:fcf1
References: <cc3c6856-1aac-44d1-b0f1-b69bbe353ef6n@googlegroups.com>
<Mt-dnW_drPZuiaD_nZ2dnUU7-N_NnZ2d@earthlink.com> <t26jq8$phb$1@dont-email.me> <9cqdneLG-tggotr_nZ2dnUU7-T_NnZ2d@earthlink.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3f35613b-84ec-4110-a365-6cb988976991n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: joh...@seasip.info (John Elliott)
Injection-Date: Sat, 02 Apr 2022 10:02:02 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 15
 by: John Elliott - Sat, 2 Apr 2022 10:02 UTC

On Friday, April 1, 2022 at 7:09:07 PM UTC+1, David Schultz wrote:
> I forgot about one little detail. If you want the disk to be bootable,
> it is going to have to look like a boot disk to the ROM BIOS. Which
> means that first sector is important too.
>
> I do see CPM listed among the various partition types:
> https://tldp.org/HOWTO/Partition-Mass-Storage-Definitions-Naming-HOWTO/x190.html

Fortunately, partition types don't come into play for a floppy disk. Even for a hard disk, the ROM BIOS doesn't know about partition tables - it just loads the first sector from the drive and that sector is what parses the partition table to find the active volume.

--
John Elliott

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor