Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

A computer scientist is someone who fixes things that aren't broken.


devel / comp.os.cpm / 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
CP/M-86, cpmtools, Goteks

<cc3c6856-1aac-44d1-b0f1-b69bbe353ef6n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:5bcd:0:b0:2e1:c6c4:ca00 with SMTP id b13-20020ac85bcd000000b002e1c6c4ca00mr7034567qtb.528.1648166846069;
Thu, 24 Mar 2022 17:07:26 -0700 (PDT)
X-Received: by 2002:a05:6870:d207:b0:de:1872:fe43 with SMTP id
g7-20020a056870d20700b000de1872fe43mr3727173oac.242.1648166845816; Thu, 24
Mar 2022 17:07:25 -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, 24 Mar 2022 17:07:25 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=50.35.25.193; posting-account=ggCqpAoAAACiE89cWjYmS7jQnvjlCSy5
NNTP-Posting-Host: 50.35.25.193
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cc3c6856-1aac-44d1-b0f1-b69bbe353ef6n@googlegroups.com>
Subject: CP/M-86, cpmtools, Goteks
From: rob.rol...@gmail.com (Robert Roland)
Injection-Date: Fri, 25 Mar 2022 00:07:26 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 16
 by: Robert Roland - Fri, 25 Mar 2022 00:07 UTC

Hi there,

I have a Gotek running FlashFloppy in my PC I'm using for CP/M-86. I'm having a hard time finding out the magic sequence to use cpmtools to create new floppies.

Using the cpm86-144feat format, I can seem to create an image, and the CP/M-86 machine can read the directory, but the files are all wrong - truncated, etc. Like the sectors are out of order.

I was trying to create an image like:

dd if=/dev/zero of=test.img bs=1440k count=1
mkfs.cpm -f cpm86-144feat test.img
cpmcp -f cpm86-144feat test.img test.txt 0:

Does anyone know of the incantation to create an image? It doesn't even have to be a 1.44mb image. I just want to transfer some software over to my machine, like modem9.

Thank you!

Rob

Re: CP/M-86, cpmtools, Goteks

<Mt-dnW_drPZuiaD_nZ2dnUU7-N_NnZ2d@earthlink.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 24 Mar 2022 20:03:47 -0500
Date: Thu, 24 Mar 2022 20:03:47 -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>
From: david.sc...@earthlink.net (David Schultz)
In-Reply-To: <cc3c6856-1aac-44d1-b0f1-b69bbe353ef6n@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <Mt-dnW_drPZuiaD_nZ2dnUU7-N_NnZ2d@earthlink.com>
Lines: 31
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.109.58
X-Trace: sv3-VtTGcXqJzrxr6KZRu515IzKIlPAuelvW+lucHMC6GUileedX6NI/QWHpcPVXNFjHP3hz1KAX5fD//Se!FxWQbo8BHAynxlV6rygpD4psIpi1b81stXYqhPtakfVHSNvs3LD/HcgYYlx3CfKCD1dqey2++x8o!/o9KxzHlLIVuNUtYfitDCPLeA9Of3ttI
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: 2453
 by: David Schultz - Fri, 25 Mar 2022 01:03 UTC

On 3/24/22 7:07 PM, Robert Roland wrote:
> Hi there,
>
> I have a Gotek running FlashFloppy in my PC I'm using for CP/M-86. I'm having a hard time finding out the magic sequence to use cpmtools to create new floppies.
>
> Using the cpm86-144feat format, I can seem to create an image, and the CP/M-86 machine can read the directory, but the files are all wrong - truncated, etc. Like the sectors are out of order.
>
> I was trying to create an image like:
>
> dd if=/dev/zero of=test.img bs=1440k count=1
> mkfs.cpm -f cpm86-144feat test.img
> cpmcp -f cpm86-144feat test.img test.txt 0:
>
> Does anyone know of the incantation to create an image? It doesn't even have to be a 1.44mb image. I just want to transfer some software over to my machine, like modem9.
>
> Thank you!
>
> Rob
I am trying to remember how I did it but I am drawing a blank.

All you need to do is fill the directory sectors with 0xe5. I can't find
a way to make dd do that.

CP/M-68K has a program called init that just fills the director sectors
like that. It includes source but that is in MC68000 assembly.

You could of course whip up a short program that just writes 0xe5 to a file.

--
http://davesrocketworks.com
David Schultz

Re: CP/M-86, cpmtools, Goteks

<467f164d-d7db-419a-bc3b-a62ad6c65343n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:2943:b0:67d:5ce7:4207 with SMTP id n3-20020a05620a294300b0067d5ce74207mr5381092qkp.706.1648171001452;
Thu, 24 Mar 2022 18:16:41 -0700 (PDT)
X-Received: by 2002:a05:6870:c5a8:b0:de:3b01:e067 with SMTP id
ba40-20020a056870c5a800b000de3b01e067mr3878247oab.281.1648171001203; Thu, 24
Mar 2022 18:16:41 -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, 24 Mar 2022 18:16:41 -0700 (PDT)
In-Reply-To: <Mt-dnW_drPZuiaD_nZ2dnUU7-N_NnZ2d@earthlink.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> <Mt-dnW_drPZuiaD_nZ2dnUU7-N_NnZ2d@earthlink.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <467f164d-d7db-419a-bc3b-a62ad6c65343n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: randy...@hotmail.com (Randy McLaughlin)
Injection-Date: Fri, 25 Mar 2022 01:16:41 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 3
 by: Randy McLaughlin - Fri, 25 Mar 2022 01:16 UTC

Copy the image file and erase everything?

Randy

Re: CP/M-86, cpmtools, Goteks

<d9d3c457-a28e-452d-b0b1-7d04bcb1f16en@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:2889:b0:663:8d24:8cad with SMTP id j9-20020a05620a288900b006638d248cadmr6048663qkp.662.1648192638412;
Fri, 25 Mar 2022 00:17:18 -0700 (PDT)
X-Received: by 2002:a05:6870:3323:b0:de:282:34f0 with SMTP id
x35-20020a056870332300b000de028234f0mr4181035oae.147.1648192638188; Fri, 25
Mar 2022 00:17:18 -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, 25 Mar 2022 00:17:17 -0700 (PDT)
In-Reply-To: <467f164d-d7db-419a-bc3b-a62ad6c65343n@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>
<Mt-dnW_drPZuiaD_nZ2dnUU7-N_NnZ2d@earthlink.com> <467f164d-d7db-419a-bc3b-a62ad6c65343n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d9d3c457-a28e-452d-b0b1-7d04bcb1f16en@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Fri, 25 Mar 2022 07:17:18 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 2
 by: Douglas Miller - Fri, 25 Mar 2022 07:17 UTC

You can use 'tr' to convert the 0x00 to 0xe5:

dd if=/dev/zero bs=1440k count=1 | tr '\000' '\345' >test.img

Re: CP/M-86, cpmtools, Goteks

<ja5a3rFdlq9U1@mid.individual.net>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: josef.mo...@invalid.invalid (Josef Moellers)
Newsgroups: comp.os.cpm
Subject: Re: CP/M-86, cpmtools, Goteks
Date: Fri, 25 Mar 2022 08:42:51 +0100
Lines: 29
Message-ID: <ja5a3rFdlq9U1@mid.individual.net>
References: <cc3c6856-1aac-44d1-b0f1-b69bbe353ef6n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net vWFx2PHUwcW162hKyDqAVQgrxNh71oC8c7q4Xzb+qHzWXwWf1l
Cancel-Lock: sha1:TqxYDpnVjSzMqb3uZCvn9VATf+M=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Content-Language: en-US
In-Reply-To: <cc3c6856-1aac-44d1-b0f1-b69bbe353ef6n@googlegroups.com>
 by: Josef Moellers - Fri, 25 Mar 2022 07:42 UTC

On 25.03.22 01:07, Robert Roland wrote:
> Hi there,
>
> I have a Gotek running FlashFloppy in my PC I'm using for CP/M-86. I'm having a hard time finding out the magic sequence to use cpmtools to create new floppies.
>
> Using the cpm86-144feat format, I can seem to create an image, and the CP/M-86 machine can read the directory, but the files are all wrong - truncated, etc. Like the sectors are out of order.
>
> I was trying to create an image like:
>
> dd if=/dev/zero of=test.img bs=1440k count=1
> mkfs.cpm -f cpm86-144feat test.img
> cpmcp -f cpm86-144feat test.img test.txt 0:
>
> Does anyone know of the incantation to create an image? It doesn't even have to be a 1.44mb image. I just want to transfer some software over to my machine, like modem9.

It does sound a bit like you have a skew factor configured.
Check for cskew and/or interleave in IMG.CFG
My IMG.CFG (for the SB180FX) is pretty simple:

[::819200]
cyls = 80
heads = 2
secs = 5
bps = 1024
gap3 = 99
id = 17

Josef

Re: CP/M-86, cpmtools, Goteks

<3a500aea-8a4f-490a-a91e-2be1293671dbn@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a37:643:0:b0:67d:3188:24f2 with SMTP id 64-20020a370643000000b0067d318824f2mr7299704qkg.48.1648219024649;
Fri, 25 Mar 2022 07:37:04 -0700 (PDT)
X-Received: by 2002:a05:6830:10e:b0:5b2:4639:a523 with SMTP id
i14-20020a056830010e00b005b24639a523mr4349505otp.101.1648219024284; Fri, 25
Mar 2022 07:37:04 -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, 25 Mar 2022 07:37:04 -0700 (PDT)
In-Reply-To: <ja5a3rFdlq9U1@mid.individual.net>
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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3a500aea-8a4f-490a-a91e-2be1293671dbn@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: ldkrae...@gmail.com (ldkr...@gmail.com)
Injection-Date: Fri, 25 Mar 2022 14:37:04 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 80
 by: ldkr...@gmail.com - Fri, 25 Mar 2022 14:37 UTC

The Definitions I have for fea1 are as follows. Notice the ORDER CYLINDERS which
has the following meaning in the 22DISK definition. (cpmtools installed with libdsk will
allow you to do this.)

#outback CYLINDERS specifies that all tracks on the first side are recorded
# then all tracks on second side. Tracks on side 0 are written
# from 0 up and side 1 down to 0.

BEGIN FEA1 IBM PC, CP/M-86 - 1.44 MB - DSHD 3.5" - 96 TPI 512 x 18
DENSITY MFM HIGH
CYLINDERS 80 SIDES 2 SECTORS 18 512
SIDE1 0 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18
SIDE2 1 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18
ORDER CYLINDERS
BSH 5 BLM 31 EXM 1 DSM 354 DRM 255 AL0 0C0h AL1 0 OFS 2
END

# FEA1 IBM PC, CP/M-86 - 1.44 MB - DSHD 3.5" - 96 TPI 512 x 18
diskdef fea1
seclen 512
tracks 160
sectrk 18
blocksize 4096
maxdir 256
skew 1
boottrk 2
os 3
libdsk:format ibm1440
end

# libdsk Definition
#ORDER CYLINDERS
# [fea1]
description = FEA1 IBM PC, CP/M-86 - 1.44 MB - DSHD 3.5" - 96 TPI 512 x 18
sides = outback
cylinders = 160
heads = 2
secsize = 512
sectors = 18
secbase = 1
datarate = HD

#Flashfloppy/GOTEK Definition
[fea1]
cyls = 160
heads = 2
secs = 18
interleave = 1
bps = 512
id = 1
#rpm = 360
rpm = 300
rate = 500
mode = mfm
iam = no

I'd copy a pretty large ASCII text file so you can look at the sectors and follow the
data to make sure it is correct.

dd if=/dev/zero bs=1440k count=1 | tr '\000' '\345' >test.img
mkfs.cpm -f fea1 test.img
cpmcp -f fea1 -T fea1,rawob /path/to/file/test.img test.txt 0:

or what I'd use is:
cpmcp -f fea1 -T fea1,rawob /path/to/your/image/test.img 0:test.txt

Then for directory listings use:
cpmls -f fea1 -T fea1,rawob -D test.img
AND
cpmcp -f fea1 -T fea1,rawob 0:*.* ./path/to/your/folder/cpm86

See how that works with cpmtools.

libdsk can also be used to write the .img (RAW = Sector Dump) directly to the floppy.

https://forums.debian.net/viewtopic.php?f=16&t=112244

Larry

Re: CP/M-86, cpmtools, Goteks

<2ec1c4bc-261b-4e14-bc0f-ba1d9bb68dd5n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:2cf:b0:2e2:14ac:6f1b with SMTP id a15-20020a05622a02cf00b002e214ac6f1bmr9772870qtx.557.1648221961386;
Fri, 25 Mar 2022 08:26:01 -0700 (PDT)
X-Received: by 2002:a05:6870:d191:b0:dd:a91e:82dc with SMTP id
a17-20020a056870d19100b000dda91e82dcmr9185441oac.248.1648221961183; Fri, 25
Mar 2022 08:26: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: Fri, 25 Mar 2022 08:26:01 -0700 (PDT)
In-Reply-To: <3a500aea-8a4f-490a-a91e-2be1293671dbn@googlegroups.com>
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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2ec1c4bc-261b-4e14-bc0f-ba1d9bb68dd5n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: ldkrae...@gmail.com (ldkr...@gmail.com)
Injection-Date: Fri, 25 Mar 2022 15:26:01 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 4
 by: ldkr...@gmail.com - Fri, 25 Mar 2022 15:26 UTC

Do you have a bootable file of *.TD0, *.IMD that you can forward to me?

Send me a PM with your email address.

Larry

Re: CP/M-86, cpmtools, Goteks

<aec367f7-8b5b-4b00-9325-4a105fc0e71bn@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:daa:b0:441:7161:de4b with SMTP id h10-20020a0562140daa00b004417161de4bmr6978207qvh.48.1648224521976;
Fri, 25 Mar 2022 09:08:41 -0700 (PDT)
X-Received: by 2002:a05:6830:442a:b0:5c9:3a6b:de3e with SMTP id
q42-20020a056830442a00b005c93a6bde3emr4678096otv.151.1648224521720; Fri, 25
Mar 2022 09:08:41 -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, 25 Mar 2022 09:08:41 -0700 (PDT)
In-Reply-To: <3a500aea-8a4f-490a-a91e-2be1293671dbn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=50.35.25.193; posting-account=ggCqpAoAAACiE89cWjYmS7jQnvjlCSy5
NNTP-Posting-Host: 50.35.25.193
References: <cc3c6856-1aac-44d1-b0f1-b69bbe353ef6n@googlegroups.com>
<ja5a3rFdlq9U1@mid.individual.net> <3a500aea-8a4f-490a-a91e-2be1293671dbn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <aec367f7-8b5b-4b00-9325-4a105fc0e71bn@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: rob.rol...@gmail.com (Robert Roland)
Injection-Date: Fri, 25 Mar 2022 16:08:41 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 55
 by: Robert Roland - Fri, 25 Mar 2022 16:08 UTC

On Friday, March 25, 2022 at 7:37:05 AM UTC-7, ldkr...@gmail.com wrote:
> I'd copy a pretty large ASCII text file so you can look at the sectors and follow the
> data to make sure it is correct.
> dd if=/dev/zero bs=1440k count=1 | tr '\000' '\345' >test.img
> mkfs.cpm -f fea1 test.img
> cpmcp -f fea1 -T fea1,rawob /path/to/file/test.img test.txt 0:

Thanks - I've given this a shot, but had to make small alterations -

cpmcp -f fea1 -T fea1,rawob test.img 86comutl/* 0:

returned "Requested driver not found", but

cpmcp -f fea1 -T rawob,fea1 test.img 86comutl/* 0:

Seems to have completed successfully. cpmls returns the expected values:

cpmls -f fea1 -T rawob,fea1 -D test.img
Name Bytes Recs Attr update create
------------ ------ ------ ---- ----------------- -----------------
FASTCOM .CMD 4K 7
CHGNUM .CMD 4K 26
CHGNUM .DOC 4K 24
COMOFF .A86 4K 25
COMOFF .CMD 4K 6
COMOFF .DOC 4K 21
COMSET .A86 4K 7
COMSET .CMD 4K 5
COMSET .DOC 4K 14
DIAL .A86 12K 83
DIAL .CMD 4K 7
FASTCOM .DOC 4K 11
MODEM9 .A86 116K 904
MODEM9 .CMD 52K 413
MODEM9 .DOC 8K 35
SEND .A86 8K 34
SEND .DOC 4K 18
SEND1 .CMD 4K 5
SEND2 .CMD 4K 5
SEND3 .CMD 4K 5
SEND4 .CMD 4K 5
TERMINAL.CMD 8K 56
TERMINAL.DOC 4K 21
23 Files occupying 272K, 1140K Free.

On my CPM-86 machine, the directory of this image looks right, but the files are wrong. They either end early, or are full of garbage.

I've still got something slightly off here.

I do have your definitions in /usr/local/share/diskdefs, and ~/.libdskrc, and IMG.CFG (cpmtools, libdsk and FlashFloppy definitions)

For the bootable image, I originally used the CPM86 1.44 image that I believe was created by Freek, obtained here: http://www.cpm.z80.de/download/144cpm86.zip

Thanks,

Rob

Re: CP/M-86, cpmtools, Goteks

<f2ac9cb4-c0e0-4f09-b95f-4112b593b97fn@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:18a:b0:2e1:cea3:88e9 with SMTP id s10-20020a05622a018a00b002e1cea388e9mr10462204qtw.391.1648230952664;
Fri, 25 Mar 2022 10:55:52 -0700 (PDT)
X-Received: by 2002:a05:6830:44a3:b0:5cd:a76c:2cb3 with SMTP id
r35-20020a05683044a300b005cda76c2cb3mr4854486otv.79.1648230952417; Fri, 25
Mar 2022 10:55: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: Fri, 25 Mar 2022 10:55:52 -0700 (PDT)
In-Reply-To: <aec367f7-8b5b-4b00-9325-4a105fc0e71bn@googlegroups.com>
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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f2ac9cb4-c0e0-4f09-b95f-4112b593b97fn@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: ldkrae...@gmail.com (ldkr...@gmail.com)
Injection-Date: Fri, 25 Mar 2022 17:55:52 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 14
 by: ldkr...@gmail.com - Fri, 25 Mar 2022 17:55 UTC

Rob,
Yikes, I had mistakes in my commands. I was going from memory, which was incorrect.

cpmcp -f fea1 -T rawob,fea1 /path/to/your/image/test.img 0:test.txt

Then for directory listings use:
cpmls -f fea1 -T rawob,fea1 -D test.img

AND
cpmcp -f fea1 -T rawob,fea1 0:*.* ./path/to/your/folder/cpm86

Plus comment out this line:
#libdsk:format ibm1440

Larry

Re: CP/M-86, cpmtools, Goteks

<5e7213ef-ea07-4455-9082-e039c910d8d4n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:f03:b0:441:192e:d745 with SMTP id gw3-20020a0562140f0300b00441192ed745mr11645136qvb.118.1648258970898;
Fri, 25 Mar 2022 18:42:50 -0700 (PDT)
X-Received: by 2002:a05:6808:159d:b0:2da:3946:ab3d with SMTP id
t29-20020a056808159d00b002da3946ab3dmr11420689oiw.248.1648258970648; Fri, 25
Mar 2022 18:42:50 -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, 25 Mar 2022 18:42:50 -0700 (PDT)
In-Reply-To: <f2ac9cb4-c0e0-4f09-b95f-4112b593b97fn@googlegroups.com>
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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5e7213ef-ea07-4455-9082-e039c910d8d4n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: ldkrae...@gmail.com (ldkr...@gmail.com)
Injection-Date: Sat, 26 Mar 2022 01:42:50 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 60
 by: ldkr...@gmail.com - Sat, 26 Mar 2022 01:42 UTC

Rob,
You should also be able to write the .IMG (.RAW = Sector Dump) to floppy using Linux.

Debian Linux has a Floppy Parameter list in /etc/mediaprn. It has lots of pre-defined
definitions. You would have to build a definition but that's easy.

description = FEA1 IBM PC, CP/M-86 - 1.44 MB - DSHD 3.5" - 96 TPI 512 x 18
sides = outback
cylinders = 160
heads = 2
secsize = 512
sectors = 18
secbase = 1
datarate = HD

"CPM86-144":
DS HD sect=18 cyl=80 ssize=512

$ lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
fd0 2:0 1 4K 0 disk <------------------Proper Floppy Drive
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 117.2G 0 part /
├─sda2 8:2 0 24.4G 0 part
├─sda3 8:3 0 321.7G 0 part
└─sda4 8:4 0 2.5G 0 part [SWAP]
sdb 8:16 1 7.2G 0 disk
└─sdb1 8:17 1 7.2G 0 part
sr0 11:0 1 1024M 0 rom

$ getfdparm /dev/fd0

get geometry parameters: No such device

$ setfdparm -p cpm86144 /dev/fd0
$ getfdparm /dev/fd0

DS HD sect=18 ssize=512

$ lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
fd0 2:0 1 800K 0 disk <------------------- Correct size for Floppy
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 117.2G 0 part /
├─sda2 8:2 0 24.4G 0 part
├─sda3 8:3 0 321.7G 0 part
└─sda4 8:4 0 2.5G 0 part [SWAP]
sdb 8:16 1 7.2G 0 disk
└─sdb1 8:17 1 7.2G 0 part
sr0 11:0 1 1024M 0 rom

$ dsktrans -itype rawoo -otype floppy 144CPM86.RAW /dev/fd0

Larry

Re: CP/M-86, cpmtools, Goteks

<fce77ecd-93a7-40b6-b758-90e69599ab85n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:e66:b0:441:7695:8eb7 with SMTP id jz6-20020a0562140e6600b0044176958eb7mr9728095qvb.127.1648298987113;
Sat, 26 Mar 2022 05:49:47 -0700 (PDT)
X-Received: by 2002:a05:6808:1305:b0:2da:5086:fa34 with SMTP id
y5-20020a056808130500b002da5086fa34mr7859946oiv.230.1648298986822; Sat, 26
Mar 2022 05:49:46 -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, 26 Mar 2022 05:49:46 -0700 (PDT)
In-Reply-To: <5e7213ef-ea07-4455-9082-e039c910d8d4n@googlegroups.com>
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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fce77ecd-93a7-40b6-b758-90e69599ab85n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: ldkrae...@gmail.com (ldkr...@gmail.com)
Injection-Date: Sat, 26 Mar 2022 12:49:47 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 7
 by: ldkr...@gmail.com - Sat, 26 Mar 2022 12:49 UTC

Rob,
I've made another mistake on the cpm86-144 definition for /etc/mediaprm.

It should be DS QD sect=9 ssize=512

((512 * 9) * 2) * 80 = 737280

Larry

Re: CP/M-86, cpmtools, Goteks

<2f70c098-26d1-4654-bb8b-18689c3688e8n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:2943:b0:67d:5ce7:4207 with SMTP id n3-20020a05620a294300b0067d5ce74207mr11149317qkp.706.1648321968644;
Sat, 26 Mar 2022 12:12:48 -0700 (PDT)
X-Received: by 2002:a05:6870:c5a8:b0:de:3b01:e067 with SMTP id
ba40-20020a056870c5a800b000de3b01e067mr7625729oab.281.1648321968200; Sat, 26
Mar 2022 12:12: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, 26 Mar 2022 12:12:48 -0700 (PDT)
In-Reply-To: <fce77ecd-93a7-40b6-b758-90e69599ab85n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=50.35.25.193; posting-account=ggCqpAoAAACiE89cWjYmS7jQnvjlCSy5
NNTP-Posting-Host: 50.35.25.193
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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2f70c098-26d1-4654-bb8b-18689c3688e8n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: rob.rol...@gmail.com (Robert Roland)
Injection-Date: Sat, 26 Mar 2022 19:12:48 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 61
 by: Robert Roland - Sat, 26 Mar 2022 19:12 UTC

On Saturday, March 26, 2022 at 5:49:47 AM UTC-7, ldkr...@gmail.com wrote:
> Rob,
> I've made another mistake on the cpm86-144 definition for /etc/mediaprm.
>
> It should be DS QD sect=9 ssize=512
>
> ((512 * 9) * 2) * 80 = 737280
>
> Larry

I haven't had any luck getting any of these images to read on the CPM-86 machine. I can see the directory, but the contents of the files are all bad. Latest attempt was this:

dd if=/dev/zero bs=720k count=1 | tr '\000' '\345' >comm.fea1.img
# I used 720k here because the output is converted to two bytes by the tr command, netting a 1.44 mb file
mkfs.cpm -f fea1 comm.fea1.img
cpmcp -f fea1 -T rawob,fea1 comm.fea1.img test.txt 0:

My cpmtools diskdefs file has this entry:

# FEA1 IBM PC, CP/M-86 - 1.44 MB - DSHD 3.5" - 96 TPI 512 x 18
diskdef fea1
seclen 512
tracks 160
sectrk 18
blocksize 4096
maxdir 256
skew 1
boottrk 2
os 3
#libdsk:format ibm1440
end

My ~/.libdskrc:

#ORDER CYLINDERS
[fea1]
description = FEA1 IBM PC, CP/M-86 - 1.44 MB - DSHD 3.5" - 96 TPI 512 x 18
sides = outback
cylinders = 160
heads = 2
secsize = 512
sectors = 18
secbase = 1
datarate = HD

And the FlashFloppy IMG.CFG:

# flashfloppy/GOTEK
[fea1]
cyls = 160
heads = 2
secs = 18
interleave = 1
bps = 512
id = 1
#rpm = 360
rpm = 300
rate = 500
mode = mfm
iam = no

I can see the test.txt file in the DIR A: on the CPM-86 machine, but its contents are trashed.

Re: CP/M-86, cpmtools, Goteks

<f856e5f4-db19-40a3-ab86-6ab8d4b682c7n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:5f49:0:b0:2e1:b989:7aab with SMTP id y9-20020ac85f49000000b002e1b9897aabmr15105171qta.465.1648327000168;
Sat, 26 Mar 2022 13:36:40 -0700 (PDT)
X-Received: by 2002:a05:6830:2906:b0:5b2:2564:6e89 with SMTP id
z6-20020a056830290600b005b225646e89mr7070755otu.43.1648326999954; Sat, 26 Mar
2022 13:36: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, 26 Mar 2022 13:36:39 -0700 (PDT)
In-Reply-To: <2f70c098-26d1-4654-bb8b-18689c3688e8n@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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f856e5f4-db19-40a3-ab86-6ab8d4b682c7n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Sat, 26 Mar 2022 20:36:40 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 5
 by: Douglas Miller - Sat, 26 Mar 2022 20:36 UTC

It does sound a lot like either sector skew or track/side placement. That is all a product of the BIOS you are running. Perhaps it's time to reverse-engineer the real disk layout. Can you take a known-good disk and create a raw image of it, and either analyze it for sector skew/side placement or else post it so others can look at it? Ideally, that disk would contain text files that can be more-easily pieced back together.

Re: CP/M-86, cpmtools, Goteks

<TomdnVaVFOPg4KL_nZ2dnUU7-XfNnZ2d@earthlink.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 26 Mar 2022 15:54:20 -0500
Date: Sat, 26 Mar 2022 15:54:20 -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>
<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>
From: david.sc...@earthlink.net (David Schultz)
In-Reply-To: <f856e5f4-db19-40a3-ab86-6ab8d4b682c7n@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <TomdnVaVFOPg4KL_nZ2dnUU7-XfNnZ2d@earthlink.com>
Lines: 10
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.109.58
X-Trace: sv3-84YPcS2fw1i6gKQ8UVVuM5lwghw+pMnRQV8HxVwntJpIHRifP/0qY6oMU9jIBmQs8mIKFdLjEw25aeU!5TfrdmHtykdM5MiMJzlpg0vHBikB8ThW4LT8ry628kF6RtavJL/7bUTL+b1wuceqTf+iODSoO6dR!l/+ESZPkkNBcCAPHkB2huZfD1UFaVvjD
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: 2298
 by: David Schultz - Sat, 26 Mar 2022 20:54 UTC

On 3/26/22 3:36 PM, Douglas Miller wrote:
> It does sound a lot like either sector skew or track/side placement. That is all a product of the BIOS you are running. Perhaps it's time to reverse-engineer the real disk layout. Can you take a known-good disk and create a raw image of it, and either analyze it for sector skew/side placement or else post it so others can look at it? Ideally, that disk would contain text files that can be more-easily pieced back together.

Or with a working system, ask the BIOS. It does require a short program
to call the Get Disk Parameters function.

--
http://davesrocketworks.com
David Schultz

Re: CP/M-86, cpmtools, Goteks

<2ef653e8-3c51-4cc3-a4a7-90c9cc1d92b3n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:21cf:b0:42d:cc:4121 with SMTP id d15-20020a05621421cf00b0042d00cc4121mr14424186qvh.70.1648329087344;
Sat, 26 Mar 2022 14:11:27 -0700 (PDT)
X-Received: by 2002:aca:3b54:0:b0:2ec:b76a:8a50 with SMTP id
i81-20020aca3b54000000b002ecb76a8a50mr8715728oia.242.1648329087134; Sat, 26
Mar 2022 14:11:27 -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, 26 Mar 2022 14:11:26 -0700 (PDT)
In-Reply-To: <TomdnVaVFOPg4KL_nZ2dnUU7-XfNnZ2d@earthlink.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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2ef653e8-3c51-4cc3-a4a7-90c9cc1d92b3n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Sat, 26 Mar 2022 21:11:27 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 7
 by: Douglas Miller - Sat, 26 Mar 2022 21:11 UTC

On Saturday, March 26, 2022 at 3:54:27 PM UTC-5, David Schultz wrote:
> Or with a working system, ask the BIOS. It does require a short program
> to call the Get Disk Parameters function.
> --
> http://davesrocketworks.com
> David Schultz

Confirming the DPB by asking CP/M will help, but the skew and side placement won't be shown without more work.

Re: CP/M-86, cpmtools, Goteks

<6317b932-85d8-4398-aafa-c1bb35c57c58n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:daa:b0:441:7161:de4b with SMTP id h10-20020a0562140daa00b004417161de4bmr12134592qvh.48.1648330047194;
Sat, 26 Mar 2022 14:27:27 -0700 (PDT)
X-Received: by 2002:a05:6870:a70b:b0:dd:9cf0:763e with SMTP id
g11-20020a056870a70b00b000dd9cf0763emr12456533oam.116.1648330046907; Sat, 26
Mar 2022 14:27:26 -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, 26 Mar 2022 14:27:26 -0700 (PDT)
In-Reply-To: <2ef653e8-3c51-4cc3-a4a7-90c9cc1d92b3n@googlegroups.com>
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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6317b932-85d8-4398-aafa-c1bb35c57c58n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: ldkrae...@gmail.com (ldkr...@gmail.com)
Injection-Date: Sat, 26 Mar 2022 21:27:27 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 332
 by: ldkr...@gmail.com - Sat, 26 Mar 2022 21:27 UTC

Rob,
You can can log the A: drive, then do:
A:> DIR A: DSK:

That will be a good starting point.

[code]
If you have a functional CP/M system, you can use DDT to find the Disk Parameter Block Address,
the Allocation Address, along with the information stored there for the logged floppy drive.

1. Log the floppy drive you wish to locate the DPB data for. I will use A: for this example
2. Run DDT and enter the code below:
A: <Carriage RETURN>
DDT
-f0100,0200,00 #fill memory with zero's
-A0100 #assemble program at 0100
0100 mvi c,0f #0f in C for Open file
0102 lxi d,005c #FCB in reg DE
0105 call 5 #call BDOS
0108 rst 7 #back to DDT
0109 mvi c,1b #1B in C for Get Allocation Address
010B call 5 #call BDOS
010E rst 7 #back to DDT
010F mvi c,1F #get disk parameter address
0111 call 5 #HL will contain the address
0114 rst 7 #back to DDT
0115 nop #
0016 . #type PERIOD to EXIT Assembler
-d0100 #display memory at 0100
0100 0e0f115c00cd0500FF0E1BCD0500FF0E1FCD0500FF
-g0100 #execute program
*108 #program exits here after file search
-g0109 #execute programs
*010E #program exits here with Allocation Address
-g010F #execute programs
*0114 #program exits here with Disk Parameter Address
-xH #display DPB that is in reg HL
#<CR> will exit register modify
#CNTL C will exit DDT and save 1 test101.ddt will save the file
#save n filename.com saves 1 256 byte block of data.
The contents of register HL is the address of Drive A: DPB. If you display that address (mine was
F5E3) you will see F5E3: 2400040F0154007F00C00020000200.

The Disk Parameter Block (DPB) for each drive is:
+-----+------+-------+-------+-------+-------+------+------+------+-----+
|SPT.|BSH..|BLM..|EXM..|DSM.. |DRM.|AL0..|AL1..|CKS..|OFF.|
+-----+------+-------+-------+-------+-------+------+------+------+-----+
16B 8B 8B 8B 16B 16B 8B 8B 16B 16B

RPT = 0024 = The number of 128 byte records per track.
BSH = 04 = The block shift count.
BLM = 0F = The block mask.
EXM = 01 = The extent mask.
DSM = 0054 = Disk storage maximum (the largest block number).
DRM = 007F = Directory maximum (the largest directory entry).
DAB = C000= Directory Allocation Block AL0: = C0 & AL1: = 00
CKS = 0020 = Directory check size.
OFF = 0002 = Track offset (number of reserved tracks).

SPT: Number of sectors per track. May differ from RPT if physical sectors are other than
128 bytes in size.

SSZ: Sector size code:
0 = 128 bytes per sector
1 = 256 bytes per sector
2 = 512 bytes per sector
3 = 1024 bytes per sector

NTK: Number of tracks (35, 40, 77, or 80). The number of tracks can be determined by formatting
a Floppy, or with Anadisk. Anadisk will also tell you the sector size and SKEW.
[/code]

This will get you the DPB INFO.

AH! I assumed the .IMG was a Sector Dump, but it is a CQ = COPYQM Image file

00000000 43 51 14 00 02 00 00 00 00 00 00 74 00 00 00 00 CQ.........t.....
00000010 12 00 02 00 00 00 00 00 00 00 00 00 30 4B 20 44 ............0K D
00000020 6F 75 62 6C 65 2D 53 69 64 65 64 00 00 00 00 00 ouble-Sided......
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................
00000050 00 00 00 00 00 00 00 00 01 01 50 50 4E DD CC A5 ..........PPN...
00000060 2A 2A 20 4E 4F 4E 45 20 2A 2A 00 4C 0C 46 2A 29 ** NONE **.L..F*)
00000070 00 00 00 00 01 00 04 00 00 00 00 00 00 00 00 00 .................
00000080 00 00 00 00 76 49 6D 61 67 65 20 66 69 6C 65 20 ....vImage file
00000090 63 72 65 61 74 65 64 20 62 79 20 75 6E 72 65 67 created by unreg
000000A0 69 73 74 65 72 65 64 20 43 6F 70 79 51 4D 1B 00 istered CopyQM..
000000B0 EB 2B 90 50 56 42 41 43 4B 55 50 00 02 01 02 00 .+.PVBACKUP......

$ dsktrans -types
Disk image types supported:

gotek : Gotek 1440k disc image collection
gotek72 : Gotek 720k disc image collection
remote : Remote LibDsk instance
rcpmfs : Reverse CP/MFS driver
dsk : CPCEMU .DSK driver
edsk : Extended .DSK driver
apridisk : APRIDISK file driver
copyqm : CopyQM file driver <---------------------Source is this one
tele : TeleDisk file driver
ldbs : LibDsk block store
ldbst : LDBS (text form)
sap : SAP file driver
qrst : Quick Release Sector Transfer
imd : IMD file driver
ydsk : YAZE YDSK driver
raw : Raw file driver (alternate sides)
rawoo : Raw file driver (out and out)
rawob : Raw file driver (out and back) <---------------------Contents of .RAW file to use with cpmtools
myz80 : MYZ80 hard drive driver
simh : SIMH disc image driver
nanowasp : NanoWasp image file driver
logical : Raw file logical sector order
jv3 : JV3 file driver
dc42 : Disk Copy 4.2
cfi : CFI file driver

$ dsktrans -formats
Disk formats supported:

pcw180 : PCW / IBM 180k
cpcsys : CPC System
cpcdata : CPC Data
pcw720 : PCW / IBM 720k
pcw1440 : PcW16 / IBM 1440k
ibm160 : IBM 160k (CP/M-86 / DOSPLUS)
ibm320 : IBM 320k (CP/M-86 / DOSPLUS)
ibm360 : IBM 360k (CP/M-86 / DOSPLUS)
ibm720 : IBM 720k (144FEAT)
ibm1200 : IBM 1.2M (144FEAT)
ibm1440 : IBM 1.4M (144FEAT) <-------------Disk Format will be this CPM86 type
acorn160 : Acorn 160k
..........
..........
kay3 : KAY3 Kaypro 2X/4/10 (Alternate) - DSDD 48 tpi 5.25" - 512 x 10
kay2 : KAY2 Kaypro 2X/4/10 - DSDD 48 tpi 5.25" - 512 x 10
kpiv : Kaypro 2X/4/10 - DSDD 48 tpi 5.25"
kpii : KAY1 Kaypro II/2 - SSDD 48 tpi 5.25" - 512 x 10
kay1 : KAY1 Kaypro II/2 - SSDD 48 tpi 5.25" - 512 x 10
fea1 : FEA1 IBM PC, CP/M-86 - 1.44 MB - DSHD 3.5" - 96 TPI 512 x 18
ibm3740 : IBM3740 SS SD 77T 8" 26x128 b/s

Convert the image to a .RAW = SECTOR DUMP type.

$ dsktrans -itype copyqm -otype rawob -format ibm1440 144CPM86.IMG 144CPM86..RAW

$ hexedit 144CPM86.RAW
[code]
00000000 EB 2B 90 50 56 42 41 43 4B 55 50 00 02 01 02 00 .+.PVBACKUP......
00000010 02 10 00 40 01 FE 01 00 08 00 01 00 00 00 00 00 ...@.............
00000020 00 00 00 00 00 00 00 FF 12 00 10 08 00 FA 8C CC .................
00000030 8E D4 BC 00 7C FB 8C C8 05 B0 07 8E D8 CD 12 2D ....|...........-
00000040 1A 00 B1 06 D3 E0 8E C0 A3 FF 01 B9 02 00 A0 FF .................
00000050 02 3C 90 74 21 D0 2E 28 01 D1 2E 2B 01 D1 2E 29 .<.t!..(...+....)
00000060 01 D1 E1 3C 48 74 0F B0 0F A2 28 01 D1 26 2B 01 ...<Ht....(...&+.
00000070 D1 26 29 01 D1 E9 33 C0 33 D2 CD 13 BE 8B 02 E8 .&)...3.3........
00000080 F5 00 BF 00 34 33 C0 50 51 E8 75 00 59 58 40 E2 ....43.PQ.u.YX@.
00000090 F6 B0 00 BF 00 34 26 81 65 09 7F 7F 26 80 65 0B .....4&.e...&.e.
000000A0 7F BE E2 02 B9 0D 00 FC F3 A6 74 10 83 E7 E0 83 ..........t......
000000B0 C7 20 FE C8 75 E0 BE C0 02 E9 B6 00 FE 06 A5 02 . ..u............
000000C0 26 FF 75 05 26 8B 45 03 33 FF E8 34 00 58 80 3E &.u.&.E.3..4..X.>
000000D0 FF 02 48 75 07 0B C0 74 03 E8 25 00 BE 88 02 E8 ..Hu...t..%......
000000E0 95 00 A1 FE 02 8A 1E 27 01 06 1F BE 80 00 33 FF .......'.......3.
000000F0 B9 80 0F FC F3 A4 B9 4B 47 BA 42 44 EA 00 01 00 .......KG.BD.....
00000100 00 8B 0E 2B 01 F7 E1 F6 36 28 01 04 02 51 3A 06 ...+....6(....Q:.
00000110 27 01 74 06 A2 27 01 E8 2E 00 8A FC B3 00 D1 E3 '.t..'...........
00000120 8B F3 81 C6 00 10 1E 06 1F B9 00 01 FC F3 A5 1F .................
00000130 50 BE 86 02 E8 40 00 58 FE C4 3A 26 28 01 72 04 P....@.X..:&(.r.
00000140 B4 00 FE C0 59 E2 C6 C3 BE 05 00 50 33 D2 3C 50 ....Y......P3.<P
00000150 72 06 2C 9F F6 D8 FE C6 8A E8 BB 00 10 B1 01 A0 r.,..............
00000160 28 01 B4 02 CD 13 58 73 08 4E 75 DF BE A0 02 EB (.....Xs.Nu......
[/code]

Directory is located at 0x2400 = 9216 Decimal ((512 Sector size * 9) * 2 Boot Tracks) = 9216
[code]
00002400 00 43 50 2F 4D 2D 38 36 20 B1 34 34 00 00 00 80 .CP/M-86 .44.....
00002410 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 .................
00002420 00 43 50 2F 4D 2D 38 36 20 B1 34 34 01 00 00 80 .CP/M-86 .44.....
00002430 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 ............... !
00002440 00 43 50 2F 4D 2D 38 36 20 B1 34 34 02 00 00 80 .CP/M-86 .44.....
00002450 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 "#$%&'()*+,-../01
00002460 00 43 50 2F 4D 2D 38 36 20 B1 34 34 03 00 00 80 .CP/M-86 .44.....
00002470 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 23456789:;<=>?@A
00002480 00 43 50 2F 4D 2D 38 36 20 B1 34 34 04 00 00 80 .CP/M-86 .44.....
00002490 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 BCDEFGHIJKLMNOPQ
000024A0 00 43 50 2F 4D 2D 38 36 20 B1 34 34 05 00 00 80 .CP/M-86 .44.....
000024B0 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 RSTUVWXYZ[\]^_`a
000024C0 00 43 50 2F 4D 2D 38 36 20 B1 34 34 06 00 00 80 .CP/M-86 .44.....
000024D0 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 bcdefghijklmnopq
000024E0 00 43 50 2F 4D 2D 38 36 20 B1 34 34 07 00 00 80 .CP/M-86 .44.....
000024F0 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F 80 81 rstuvwxyz{|}~...
00002500 00 43 50 2F 4D 2D 38 36 20 B1 34 34 08 00 00 80 .CP/M-86 .44.....
00002510 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 .................
00002520 00 43 50 2F 4D 2D 38 36 20 B1 34 34 09 00 00 50 .CP/M-86 .44....P
00002530 92 93 94 95 96 97 98 99 9A 9B 00 00 00 00 00 00 .................
00002540 E5 E5 E5 E5 E5 E5 E5 E5 E5 E5 E5 E5 E5 E5 E5 E5 .................
[/code]


Click here to read the complete article
Re: CP/M-86, cpmtools, Goteks

<mYKdnbwwe7ErGKL_nZ2dnUU7-c3NnZ2d@earthlink.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
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!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 26 Mar 2022 16:29:25 -0500
Date: Sat, 26 Mar 2022 16:29:25 -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>
<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>
From: david.sc...@earthlink.net (David Schultz)
In-Reply-To: <2ef653e8-3c51-4cc3-a4a7-90c9cc1d92b3n@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <mYKdnbwwe7ErGKL_nZ2dnUU7-c3NnZ2d@earthlink.com>
Lines: 21
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.109.58
X-Trace: sv3-VJz6TMEeSgewR7A7gf3QWvPYTG25fw5apoqkcKzQoVsuxocy5aPiYZrXm9mTtcv21YOT9L3uey8SJVb!2cmYmyGJFtosZ4E8kLC4CHYvLEd+DJL/V7Wui8g/kuJLS+y1JigTIpnlvOUuXrk3s3/pcGLzBgwl!6K2Ah+DC8d6XBFYxsckqZKGyxTm8RtOj
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: 2457
 by: David Schultz - Sat, 26 Mar 2022 21:29 UTC

On 3/26/22 4:11 PM, Douglas Miller wrote:
> On Saturday, March 26, 2022 at 3:54:27 PM UTC-5, David Schultz wrote:
>> Or with a working system, ask the BIOS. It does require a short program
>> to call the Get Disk Parameters function.
>> --
>> http://davesrocketworks.com
>> David Schultz
>
> Confirming the DPB by asking CP/M will help, but the skew and side placement won't be shown without more work.

Skew should be easy to discover with DDT. Just find where the SECTRAN
call goes and examine the code.

Side placement shouldn't be too hard as there are only two options. Try
both. Or dig into the sector read code.

--
http://davesrocketworks.com
David Schultz

Re: CP/M-86, cpmtools, Goteks

<414dd481-f567-4e63-9850-8ee81a79568cn@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:ac5:b0:440:f66c:3e7 with SMTP id g5-20020a0562140ac500b00440f66c03e7mr14856800qvi.47.1648331314592;
Sat, 26 Mar 2022 14:48:34 -0700 (PDT)
X-Received: by 2002:a4a:2f0f:0:b0:320:f7cd:58d2 with SMTP id
p15-20020a4a2f0f000000b00320f7cd58d2mr6362707oop.85.1648331314215; Sat, 26
Mar 2022 14:48:34 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!3.eu.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: Sat, 26 Mar 2022 14:48:34 -0700 (PDT)
In-Reply-To: <6317b932-85d8-4398-aafa-c1bb35c57c58n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=50.35.25.193; posting-account=ggCqpAoAAACiE89cWjYmS7jQnvjlCSy5
NNTP-Posting-Host: 50.35.25.193
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>
<6317b932-85d8-4398-aafa-c1bb35c57c58n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <414dd481-f567-4e63-9850-8ee81a79568cn@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: rob.rol...@gmail.com (Robert Roland)
Injection-Date: Sat, 26 Mar 2022 21:48:34 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 35
 by: Robert Roland - Sat, 26 Mar 2022 21:48 UTC

On Saturday, March 26, 2022 at 2:27:27 PM UTC-7, ldkr...@gmail.com wrote:
> Rob,
> You can can log the A: drive, then do:
> A:> DIR A: DSK:

That doesn't seem to work right -

I get the contents of A:, and:

DSK:?

> That will be a good starting point.
>
> [code]
> If you have a functional CP/M system, you can use DDT to find the Disk Parameter Block Address,
> the Allocation Address, along with the information stored there for the logged floppy drive.
>
> 1. Log the floppy drive you wish to locate the DPB data for. I will use A: for this example
> 2. Run DDT and enter the code below:
> A: <Carriage RETURN>
> DDT
> -f0100,0200,00 #fill memory with zero's
> -A0100 #assemble program at 0100
> 0100 mvi c,0f #0f in C for Open file

This nets a ?

I'm on a CPM-86 1.1 system here (specifically, a Compaq Portable 386). I think MVI is an 8080 instruction?

I'm a little out of my depth here using DDT86 to dig into these BIOS calls.

I wonder if I might be better off running Concurrent CPM-86 3.1 (that can read DOS FAT12 floppies, I believe?)

Thanks,

Rob

Re: CP/M-86, cpmtools, Goteks

<d7825943-4904-4e52-8092-23603a11a844n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:7f82:0:b0:2e1:caba:ad6e with SMTP id z2-20020ac87f82000000b002e1cabaad6emr15180420qtj.190.1648331332115;
Sat, 26 Mar 2022 14:48:52 -0700 (PDT)
X-Received: by 2002:a05:6870:d207:b0:de:1872:fe43 with SMTP id
g7-20020a056870d20700b000de1872fe43mr7901311oac.242.1648331331845; Sat, 26
Mar 2022 14:48:51 -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: Sat, 26 Mar 2022 14:48:51 -0700 (PDT)
In-Reply-To: <mYKdnbwwe7ErGKL_nZ2dnUU7-c3NnZ2d@earthlink.com>
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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d7825943-4904-4e52-8092-23603a11a844n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: ldkrae...@gmail.com (ldkr...@gmail.com)
Injection-Date: Sat, 26 Mar 2022 21:48:52 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 13
 by: ldkr...@gmail.com - Sat, 26 Mar 2022 21:48 UTC

Rob,
I located a long ASCII file, and inserted it in the Image 144CPM86.RAW. Then, I deleted the Original,
and extracted the file from the .RAW image. It is sane and the size of the file was 13843 Mar 26 16:42 tnc.txt.

Now dsktrans can be used to re-create the CopyQM file, or you can write the .RAW file to a real floppy with
dsktrans.

What method have you been using to write the image file to floppy? I can send you the .RAW or image type you
require.

Larry

Re: CP/M-86, cpmtools, Goteks

<79a79ca2-de47-4a57-b2a5-e0e6da91afacn@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ae9:f444:0:b0:67e:7985:8331 with SMTP id z4-20020ae9f444000000b0067e79858331mr11138572qkl.465.1648331516954;
Sat, 26 Mar 2022 14:51:56 -0700 (PDT)
X-Received: by 2002:a05:6808:1b11:b0:2da:73df:2dbd with SMTP id
bx17-20020a0568081b1100b002da73df2dbdmr13072057oib.293.1648331516733; Sat, 26
Mar 2022 14:51:56 -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: Sat, 26 Mar 2022 14:51:56 -0700 (PDT)
In-Reply-To: <d7825943-4904-4e52-8092-23603a11a844n@googlegroups.com>
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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <79a79ca2-de47-4a57-b2a5-e0e6da91afacn@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: ldkrae...@gmail.com (ldkr...@gmail.com)
Injection-Date: Sat, 26 Mar 2022 21:51:56 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 9
 by: ldkr...@gmail.com - Sat, 26 Mar 2022 21:51 UTC

Rob,
SORRY, My memory is failing again. The command is:
A:> STAT A: DSK:

If B:'s DPB is different you can log B: drive, and get the same type information from B:

A:> B:
B:> STAT B: DSK:

Larry

Re: CP/M-86, cpmtools, Goteks

<46bcc5fa-07ee-42e2-8923-6e525bc10747n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:c63:b0:441:2263:56c1 with SMTP id t3-20020a0562140c6300b00441226356c1mr14457623qvj.131.1648332487114;
Sat, 26 Mar 2022 15:08:07 -0700 (PDT)
X-Received: by 2002:a05:6830:3108:b0:5cd:b9a7:1a38 with SMTP id
b8-20020a056830310800b005cdb9a71a38mr5292849ots.198.1648332486851; Sat, 26
Mar 2022 15:08:06 -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, 26 Mar 2022 15:08:06 -0700 (PDT)
In-Reply-To: <d7825943-4904-4e52-8092-23603a11a844n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=50.35.25.193; posting-account=ggCqpAoAAACiE89cWjYmS7jQnvjlCSy5
NNTP-Posting-Host: 50.35.25.193
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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <46bcc5fa-07ee-42e2-8923-6e525bc10747n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: rob.rol...@gmail.com (Robert Roland)
Injection-Date: Sat, 26 Mar 2022 22:08:07 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Robert Roland - Sat, 26 Mar 2022 22:08 UTC

On Saturday, March 26, 2022 at 2:48:52 PM UTC-7, ldkr...@gmail.com wrote:
> What method have you been using to write the image file to floppy? I can send you the .RAW or image type you
> require.

I'm using a Gotek floppy emulator running the FlashFloppy firmware, as opposed to a real floppy drive.

Re: CP/M-86, cpmtools, Goteks

<0a96be12-6718-4e5b-a4ea-d6f8701cb587n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a37:68c9:0:b0:67b:21e6:297c with SMTP id d192-20020a3768c9000000b0067b21e6297cmr11518156qkc.464.1648333191585;
Sat, 26 Mar 2022 15:19:51 -0700 (PDT)
X-Received: by 2002:a05:6830:44a3:b0:5cd:a76c:2cb3 with SMTP id
r35-20020a05683044a300b005cda76c2cb3mr7237842otv.79.1648333191372; Sat, 26
Mar 2022 15:19:51 -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: Sat, 26 Mar 2022 15:19:51 -0700 (PDT)
In-Reply-To: <46bcc5fa-07ee-42e2-8923-6e525bc10747n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=50.35.25.193; posting-account=ggCqpAoAAACiE89cWjYmS7jQnvjlCSy5
NNTP-Posting-Host: 50.35.25.193
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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0a96be12-6718-4e5b-a4ea-d6f8701cb587n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: rob.rol...@gmail.com (Robert Roland)
Injection-Date: Sat, 26 Mar 2022 22:19:51 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 10
 by: Robert Roland - Sat, 26 Mar 2022 22:19 UTC

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?

Re: CP/M-86, cpmtools, Goteks

<6d2a54ab-49c0-4d2a-aa90-bcc65be557acn@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ae9:f444:0:b0:67e:7985:8331 with SMTP id z4-20020ae9f444000000b0067e79858331mr11233818qkl.465.1648334996973;
Sat, 26 Mar 2022 15:49:56 -0700 (PDT)
X-Received: by 2002:a05:6870:204c:b0:da:b3f:2b86 with SMTP id
l12-20020a056870204c00b000da0b3f2b86mr11922806oad.293.1648334996567; Sat, 26
Mar 2022 15:49:56 -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: Sat, 26 Mar 2022 15:49:56 -0700 (PDT)
In-Reply-To: <0a96be12-6718-4e5b-a4ea-d6f8701cb587n@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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6d2a54ab-49c0-4d2a-aa90-bcc65be557acn@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Sat, 26 Mar 2022 22:49:56 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 11
 by: Douglas Miller - Sat, 26 Mar 2022 22:49 UTC

The total capacity of the disk is based on the DPB. Depending on the specifics of your BIOS implementation, the DPB could be stored on the floppy and used during login to access the drive - in which case you'll need to replicate that. Note that cpmtools does not do that, and mkfs.cpm only initializes the directory area according to what you told it was the DPB. If your version of CP/M-86 does store the DPB on the floppy, then that might explain the "156K" - it is blinding using invalid/unitialized data.

It might be easier to make an image of a working CP/M-86 diskette and post it. I'll be glad to analyze it for you and get the specifics of the format. If you have the source code for the BIOS, you can post that as well and I'll be glad to dig into it.

Re: CP/M-86, cpmtools, Goteks

<629fbaa9-8823-434b-9033-f41079c12b46n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:cc3:b0:440:f5fc:f1ab with SMTP id 3-20020a0562140cc300b00440f5fcf1abmr14937508qvx.59.1648348010515;
Sat, 26 Mar 2022 19:26:50 -0700 (PDT)
X-Received: by 2002:a05:6808:1305:b0:2da:5086:fa34 with SMTP id
y5-20020a056808130500b002da5086fa34mr8978871oiv.230.1648348010279; Sat, 26
Mar 2022 19:26:50 -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, 26 Mar 2022 19:26:50 -0700 (PDT)
In-Reply-To: <6d2a54ab-49c0-4d2a-aa90-bcc65be557acn@googlegroups.com>
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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <629fbaa9-8823-434b-9033-f41079c12b46n@googlegroups.com>
Subject: Re: CP/M-86, cpmtools, Goteks
From: ldkrae...@gmail.com (ldkr...@gmail.com)
Injection-Date: Sun, 27 Mar 2022 02:26:50 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 48
 by: ldkr...@gmail.com - Sun, 27 Mar 2022 02:26 UTC

Rob,
I created a .IMD and .TD0 file and looked at the .information created by IMDA and IMDU (Imagedisk utilities).

$ dsktrans -itype copyqm -otype tele -format ibm1440 144CPM86.IMG 144CPM86.TD0
$ dsktrans -itype copyqm -otype imd -format ibm1440 122CPM86.IMG 144CPM86.IMD

$ IMDA 144CPM86.IMD >> 144CPM86.TXT

IMDA shows the information on the IMD file
IMageDisk Utility 1.18 / Mar 07 2012
IMD TD 1.5 3.5 HD MFM S-step, 2 sides 6/02/2001 1:34:24

Image file created by unregistered CopyQM

Assuming 1:1 for Binary output
0/0 500 kbps DD 18x512
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
D D D D D DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
0/1 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
1/0 D DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
1/1 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
2/0 D D DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 D D
2/1 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
..
..
..
78/0 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
78/1 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
79/0 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
79/1 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
160 tracks(80/80), 2880 sectors (2520 Compressed)


Which matches the 22DISK definition

BEGIN FEA1 IBM PC, CP/M-86 - 1.44 MB - DSHD 3.5" - 96 TPI 512 x 18
DENSITY MFM HIGH
CYLINDERS 80 SIDES 2 SECTORS 18 512
SIDE1 0 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18
SIDE2 1 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18
ORDER CYLINDERS
BSH 5 BLM 31 EXM 1 DSM 354 DRM 255 AL0 0C0h AL1 0 OFS 2
END

Larry

Re: CP/M-86, cpmtools, Goteks

<t1qoa9$i7j$1@dont-email.me>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: z80...@arcor.de (Peter Dassow)
Newsgroups: comp.os.cpm
Subject: Re: CP/M-86, cpmtools, Goteks
Date: Mon, 28 Mar 2022 00:26:16 +0200
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <t1qoa9$i7j$1@dont-email.me>
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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 27 Mar 2022 22:26:17 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="cdd11668a066f82b6ed3171047403a96";
logging-data="18675"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19+nc/QyVh9Fq7BYl3ubmDe"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Cancel-Lock: sha1:f/7LQGX8zMhygZOoXe5VDH7qCSY=
In-Reply-To: <6d2a54ab-49c0-4d2a-aa90-bcc65be557acn@googlegroups.com>
Content-Language: en-US
 by: Peter Dassow - Sun, 27 Mar 2022 22:26 UTC

On 26.03.2022 at 23:49 Douglas Miller wrote:
> The total capacity of the disk is based on the DPB. Depending on the specifics of your BIOS implementation, the DPB could be stored on the floppy and used during login to access the drive - in which case you'll need to replicate that. Note that cpmtools does not do that, and mkfs.cpm only initializes the directory area according to what you told it was the DPB. If your version of CP/M-86 does store the DPB on the floppy, then that might explain the "156K" - it is blinding using invalid/unitialized data.
>
> It might be easier to make an image of a working CP/M-86 diskette and post it. I'll be glad to analyze it for you and get the specifics of the format. If you have the source code for the BIOS, you can post that as well and I'll be glad to dig into it.

May be you take a look at my old blog entry also:
http://www.z80.eu/blog/index.php?entry=entry120807-180000

Pages:12
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor