Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Catch a wave and you're sitting on top of the world." -- The Beach Boys


devel / comp.os.cpm / Re: cpmtools bug?

SubjectAuthor
* cpmtools bug?dxforth
+* Re: cpmtools bug?rwd...@gmail.com
|`* Re: cpmtools bug?dxforth
| +* Re: cpmtools bug?ldkr...@gmail.com
| |`* Re: cpmtools bug?ldkr...@gmail.com
| | `* Re: cpmtools bug?ldkr...@gmail.com
| |  `- Re: cpmtools bug?ldkr...@gmail.com
| +* Re: cpmtools bug?rwd...@gmail.com
| |`* Re: cpmtools bug?ldkr...@gmail.com
| | +- Re: cpmtools bug?ldkr...@gmail.com
| | `* Re: cpmtools bug?rwd...@gmail.com
| |  `- Re: cpmtools bug?ldkr...@gmail.com
| `* Re: cpmtools bug?dxforth
|  +* Re: cpmtools bug?ldkr...@gmail.com
|  |+* Re: cpmtools bug?ldkr...@gmail.com
|  ||`- Re: cpmtools bug?dxforth
|  |`- Re: cpmtools bug?dxforth
|  `- Re: cpmtools bug?Steven Hirsch
`* Re: cpmtools bug?rwd...@gmail.com
 `* Re: cpmtools bug?dxforth
  `* Re: cpmtools bug?Dennis Boone
   `* Re: cpmtools bug?dxforth
    `* Re: cpmtools bug?ldkr...@gmail.com
     `* Re: cpmtools bug?dxforth
      `* Re: cpmtools bug?dxforth
       +* Re: cpmtools bug?Douglas Miller
       |`- Re: cpmtools bug?Douglas Miller
       `* Re: cpmtools bug?Martin
        `* Re: cpmtools bug?Douglas Miller
         `* Re: cpmtools bug?Douglas Miller
          `* Re: cpmtools bug?ldkr...@gmail.com
           +* Re: cpmtools bug?Douglas Miller
           |`* Re: cpmtools bug?Douglas Miller
           | `* Re: cpmtools bug?ldkr...@gmail.com
           |  `* Re: cpmtools bug?Douglas Miller
           |   `- Re: cpmtools bug?Douglas Miller
           `- Re: cpmtools bug?dxforth

Pages:12
Re: cpmtools bug?

<8e70903a-88a7-453e-9461-e5d7c49f38c1n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:d4c:: with SMTP id 12mr30980193qvr.2.1620914015967;
Thu, 13 May 2021 06:53:35 -0700 (PDT)
X-Received: by 2002:a05:6830:1bd4:: with SMTP id v20mr36935180ota.101.1620914015735;
Thu, 13 May 2021 06:53:35 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 13 May 2021 06:53:35 -0700 (PDT)
In-Reply-To: <s7j0re$1v06$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=96.42.194.246; posting-account=5XW4vgoAAADMD8xScYja8bdzAXoYQrTS
NNTP-Posting-Host: 96.42.194.246
References: <s752uq$ak4$1@gioia.aioe.org> <dc486fd1-375d-4e7b-b846-3a9634119925n@googlegroups.com>
<s7a1so$1obu$1@gioia.aioe.org> <FNadnf6bSPe0aAT9nZ2dnUU7-efNnZ2d@giganews.com>
<s7cuhc$1j9i$1@gioia.aioe.org> <fc5bc4b9-ded0-455e-8024-93ef81801bd9n@googlegroups.com>
<s7f8c2$sf7$1@gioia.aioe.org> <s7j0re$1v06$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8e70903a-88a7-453e-9461-e5d7c49f38c1n@googlegroups.com>
Subject: Re: cpmtools bug?
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Thu, 13 May 2021 13:53:35 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Douglas Miller - Thu, 13 May 2021 13:53 UTC

On Thursday, May 13, 2021 at 6:00:01 AM UTC-5, dxforth wrote:
> Michael has updated the sources to correct the problem but advises
> it is untested. Here is the link:
>
> http://www.moria.de/~michael/cpmtools/files/cpmtools-2.23-snapshot.tar.gz
>
> Being a Win user, I'll leave it to the more experienced C & Linux
> users to compile and verify. Should there still be issues, Michael
> has requested a disk image and few files.

I was not aware of the secret hidden folder, and was waiting for Michael to release 2.22. I've now got a bunch of patches sent off to Michael and hopefully we can get 2.22 or 2.23 released soon. Looks like there needs to be more testing, so I guess that's on any of us with the necessary expertise.

Re: cpmtools bug?

<f348ea94-fc58-4b9d-808e-852ee5aaa1f7n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:18e:: with SMTP id s14mr38262227qtw.200.1620914196417;
Thu, 13 May 2021 06:56:36 -0700 (PDT)
X-Received: by 2002:a05:6830:1c67:: with SMTP id s7mr28361355otg.197.1620914196211;
Thu, 13 May 2021 06:56:36 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 13 May 2021 06:56:36 -0700 (PDT)
In-Reply-To: <8e70903a-88a7-453e-9461-e5d7c49f38c1n@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: <s752uq$ak4$1@gioia.aioe.org> <dc486fd1-375d-4e7b-b846-3a9634119925n@googlegroups.com>
<s7a1so$1obu$1@gioia.aioe.org> <FNadnf6bSPe0aAT9nZ2dnUU7-efNnZ2d@giganews.com>
<s7cuhc$1j9i$1@gioia.aioe.org> <fc5bc4b9-ded0-455e-8024-93ef81801bd9n@googlegroups.com>
<s7f8c2$sf7$1@gioia.aioe.org> <s7j0re$1v06$1@gioia.aioe.org> <8e70903a-88a7-453e-9461-e5d7c49f38c1n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f348ea94-fc58-4b9d-808e-852ee5aaa1f7n@googlegroups.com>
Subject: Re: cpmtools bug?
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Thu, 13 May 2021 13:56:36 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Douglas Miller - Thu, 13 May 2021 13:56 UTC

I should also note that Michael states that 2.23-snapshot is very un-tested.. I also know of a bug in 2.22 that causes segfaults, and is still in 2.23-snapshot. So, caveat emptor. 2.21 is the current, official, stable release.

On Thursday, May 13, 2021 at 8:53:36 AM UTC-5, Douglas Miller wrote:
> I was not aware of the secret hidden folder, and was waiting for Michael to release 2.22. I've now got a bunch of patches sent off to Michael and hopefully we can get 2.22 or 2.23 released soon. Looks like there needs to be more testing, so I guess that's on any of us with the necessary expertise.

Re: cpmtools bug?

<s7jgqj$jk0$1@gioia.aioe.org>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!aioe.org!EG1aLLEB8rxpWch320kDbw.user.gioia.aioe.org.POSTED!not-for-mail
From: this.is....@so.its.invalid (Martin)
Newsgroups: comp.os.cpm
Subject: Re: cpmtools bug?
Date: Thu, 13 May 2021 17:31:02 +0200
Organization: Aioe.org NNTP Server
Lines: 35
Message-ID: <s7jgqj$jk0$1@gioia.aioe.org>
References: <s752uq$ak4$1@gioia.aioe.org> <dc486fd1-375d-4e7b-b846-3a9634119925n@googlegroups.com> <s7a1so$1obu$1@gioia.aioe.org> <FNadnf6bSPe0aAT9nZ2dnUU7-efNnZ2d@giganews.com> <s7cuhc$1j9i$1@gioia.aioe.org> <fc5bc4b9-ded0-455e-8024-93ef81801bd9n@googlegroups.com> <s7f8c2$sf7$1@gioia.aioe.org> <s7j0re$1v06$1@gioia.aioe.org>
NNTP-Posting-Host: EG1aLLEB8rxpWch320kDbw.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:20.0) Gecko/20100101 SeaMonkey/2.17.1
X-Notice: Filtered by postfilter v. 0.9.2
 by: Martin - Thu, 13 May 2021 15:31 UTC

Am 05/13/2021 01:00 PM, dxforth schrieb:
> Michael has updated the sources to correct the problem but advises
> it is untested. Here is the link:
>
> http://www.moria.de/~michael/cpmtools/files/cpmtools-2.23-snapshot.tar.gz
>
> Being a Win user, I'll leave it to the more experienced C & Linux
> users to compile and verify. Should there still be issues, Michael
> has requested a disk image and few files.

Comparing cpmtools-2.22.tar.gz with cpmtools-2.23-snapshot.tar.gz...

OK:
"cpmfs.c" is fixed and looks ok.

NOT OK:
"fsck.cpm.c" and "fsed.cpm.c" were overseen!

Every ...size>=256 needs to be changed to ...size>256.

Very easy to find...

$ fgrep -n ">=256" *.c
fsck.cpm.c:244: if (sb->size>=256) block+=(dir->pointers[++i]&0xff)<<8;
fsck.cpm.c:277: if (dir->pointers[i] || (sb->size>=256 && dir->pointers[i+1])) ++used;
fsck.cpm.c:491: if (sb->size>=256) block+=(dir->pointers[++i]&0xff)<<8;
fsck.cpm.c:497: if (sb->size>=256) block2+=(dir2->pointers[++j]&0xff)<<8;
fsck.cpm.c:546: if (sb->size>=256) block+=(dir->pointers[++i]&0xff)<<8;
fsed.cpm.c:120: if (sb->size>=256) sector|=(((mapbuf[entry*32+16+ ++i]&0xff)<<8));
fsed.cpm.c:360: if (drive.size>=256)

Martin

Re: cpmtools bug?

<c95b6df4-5496-47af-a44b-c51c1b08bff2n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a0c:ef03:: with SMTP id t3mr17355919qvr.52.1620976881534;
Fri, 14 May 2021 00:21:21 -0700 (PDT)
X-Received: by 2002:a05:6830:1388:: with SMTP id d8mr11716580otq.53.1620976881296;
Fri, 14 May 2021 00:21:21 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.snarked.org!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, 14 May 2021 00:21:21 -0700 (PDT)
In-Reply-To: <s7jgqj$jk0$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=96.42.194.246; posting-account=5XW4vgoAAADMD8xScYja8bdzAXoYQrTS
NNTP-Posting-Host: 96.42.194.246
References: <s752uq$ak4$1@gioia.aioe.org> <dc486fd1-375d-4e7b-b846-3a9634119925n@googlegroups.com>
<s7a1so$1obu$1@gioia.aioe.org> <FNadnf6bSPe0aAT9nZ2dnUU7-efNnZ2d@giganews.com>
<s7cuhc$1j9i$1@gioia.aioe.org> <fc5bc4b9-ded0-455e-8024-93ef81801bd9n@googlegroups.com>
<s7f8c2$sf7$1@gioia.aioe.org> <s7j0re$1v06$1@gioia.aioe.org> <s7jgqj$jk0$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c95b6df4-5496-47af-a44b-c51c1b08bff2n@googlegroups.com>
Subject: Re: cpmtools bug?
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Fri, 14 May 2021 07:21:21 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 14
 by: Douglas Miller - Fri, 14 May 2021 07:21 UTC

On Thursday, May 13, 2021 at 10:32:38 AM UTC-5, Martin wrote:
>...
>
> $ fgrep -n ">=256" *.c
> fsck.cpm.c:244: if (sb->size>=256) block+=(dir->pointers[++i]&0xff)<<8;
> fsck.cpm.c:277: if (dir->pointers[i] || (sb->size>=256 && dir->pointers[i+1])) ++used;
> fsck.cpm.c:491: if (sb->size>=256) block+=(dir->pointers[++i]&0xff)<<8;
> fsck.cpm.c:497: if (sb->size>=256) block2+=(dir2->pointers[++j]&0xff)<<8;
> fsck.cpm.c:546: if (sb->size>=256) block+=(dir->pointers[++i]&0xff)<<8;
> fsed.cpm.c:120: if (sb->size>=256) sector|=(((mapbuf[entry*32+16+ ++i]&0xff)<<8));
> fsed.cpm.c:360: if (drive.size>=256)
>
>
> Martin
I forwarded this to Michael and he has updated the 2.23 snapshot to include these as well. That is the best way to get cpmtools updated: e-mail to Michael.

Re: cpmtools bug?

<0c8dc5b8-e900-444c-b688-15f04a269ffbn@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a37:aa0b:: with SMTP id t11mr43097392qke.70.1620990959775;
Fri, 14 May 2021 04:15:59 -0700 (PDT)
X-Received: by 2002:a05:6808:608:: with SMTP id y8mr17440522oih.118.1620990959507;
Fri, 14 May 2021 04:15:59 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Fri, 14 May 2021 04:15:59 -0700 (PDT)
In-Reply-To: <04d088c3-5081-49a4-ba7b-fabb4a27883cn@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: <s752uq$ak4$1@gioia.aioe.org> <dc486fd1-375d-4e7b-b846-3a9634119925n@googlegroups.com>
<s7a1so$1obu$1@gioia.aioe.org> <FNadnf6bSPe0aAT9nZ2dnUU7-efNnZ2d@giganews.com>
<s7cuhc$1j9i$1@gioia.aioe.org> <fc5bc4b9-ded0-455e-8024-93ef81801bd9n@googlegroups.com>
<s7f8c2$sf7$1@gioia.aioe.org> <s7j0re$1v06$1@gioia.aioe.org>
<s7jgqj$jk0$1@gioia.aioe.org> <c95b6df4-5496-47af-a44b-c51c1b08bff2n@googlegroups.com>
<04d088c3-5081-49a4-ba7b-fabb4a27883cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0c8dc5b8-e900-444c-b688-15f04a269ffbn@googlegroups.com>
Subject: Re: cpmtools bug?
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Fri, 14 May 2021 11:15:59 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Douglas Miller - Fri, 14 May 2021 11:15 UTC

On Friday, May 14, 2021 at 5:19:50 AM UTC-5, rwd...@gmail.com wrote:
> I applied those changes and get this error (cpmtools not built with libdsk):
>
> pi@pi4b8:~/cpmtools-2.23 $ ./cpmcp -f yaze512 bios3.ydsk 0:*.* tmp/
>
> len -128
> Segmentation fault
>
> Richard

That looks like the same problem I just sent a fix for to Michael. Try using the latest 2.23 snapshot, which should not require any changes and also includes the fix for the segfault. http://www.moria.de/~michael/cpmtools/files/

Re: cpmtools bug?

<116ce5a6-f18e-44ca-8f8c-c64c6c943750n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:2ec:: with SMTP id a12mr46172452qko.92.1621160883515;
Sun, 16 May 2021 03:28:03 -0700 (PDT)
X-Received: by 2002:a05:6808:608:: with SMTP id y8mr23110352oih.118.1621160883229;
Sun, 16 May 2021 03:28:03 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sun, 16 May 2021 03:28:03 -0700 (PDT)
In-Reply-To: <0c8dc5b8-e900-444c-b688-15f04a269ffbn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=192.30.164.110; posting-account=vgtDDgoAAAD79vzJigFqI2FioZJCfmjs
NNTP-Posting-Host: 192.30.164.110
References: <s752uq$ak4$1@gioia.aioe.org> <dc486fd1-375d-4e7b-b846-3a9634119925n@googlegroups.com>
<s7a1so$1obu$1@gioia.aioe.org> <FNadnf6bSPe0aAT9nZ2dnUU7-efNnZ2d@giganews.com>
<s7cuhc$1j9i$1@gioia.aioe.org> <fc5bc4b9-ded0-455e-8024-93ef81801bd9n@googlegroups.com>
<s7f8c2$sf7$1@gioia.aioe.org> <s7j0re$1v06$1@gioia.aioe.org>
<s7jgqj$jk0$1@gioia.aioe.org> <c95b6df4-5496-47af-a44b-c51c1b08bff2n@googlegroups.com>
<04d088c3-5081-49a4-ba7b-fabb4a27883cn@googlegroups.com> <0c8dc5b8-e900-444c-b688-15f04a269ffbn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <116ce5a6-f18e-44ca-8f8c-c64c6c943750n@googlegroups.com>
Subject: Re: cpmtools bug?
From: ldkrae...@gmail.com (ldkr...@gmail.com)
Injection-Date: Sun, 16 May 2021 10:28:03 +0000
Content-Type: text/plain; charset="UTF-8"
 by: ldkr...@gmail.com - Sun, 16 May 2021 10:28 UTC

I'm still getting errors with the following:

Libdsk 1.5.15
cpmtools Version 2.23-snapshot (latest Snapshot)

diskdef yaze512
# BSH 4 BLM 15 EXM 1 DSM 255 DRM 1023 AL0 0FFH AL1 0FFH OFS 0
seclen 128
tracks 4096
sectrk 8
blocksize 2048
maxdir 1024
skew 1
offset 128
boottrk 0
os 3
end

[yaze512]
description = yaze512 image
cylinders = 4096
heads = 1
secsize = 128
sectors = 8
secbase = 1
datarate = DD

Directory is at 0x080 = 128 Decimal
00000080 00 43 50 4D 33 20 20 20 20 53 59 53 01 00 00 80 .CPM3 SYS....
00000090 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F ................
000000A0 00 43 50 4D 33 20 20 20 20 53 59 53 02 00 00 58 .CPM3 SYS...X
000000B0 20 21 22 23 24 25 00 00 00 00 00 00 00 00 00 00 !"#$%..........
000000C0 00 42 20 20 20 20 20 20 20 53 55 42 00 00 00 02 .B SUB....
000000D0 26 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 &...............
000000E0 00 44 20 20 20 20 20 20 20 53 55 42 00 00 00 01 .D SUB....
000000F0 27 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '...............
00000100 00 47 20 20 20 20 20 20 20 53 55 42 00 00 00 02 .G SUB....
00000110 28 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 (...............
00000120 00 48 20 20 20 20 20 20 20 53 55 42 00 00 00 02 .H SUB....
00000130 29 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 )...............
00000140 00 50 20 20 20 20 20 20 20 53 55 42 00 00 00 01 .P SUB....
00000150 2A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 *...............
00000160 00 59 20 20 20 20 20 20 20 53 55 42 00 00 00 07 .Y SUB....
00000170 2B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +...............
00000180 00 33 45 52 41 53 45 20 20 43 4F 4D 00 00 00 1B .3ERASE COM....
00000190 2C 2D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ,-..............
000001A0 00 41 55 54 4F 54 4F 47 20 43 4F 4D 00 00 00 04 .AUTOTOG COM....
000001B0 2E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000001C0 00 42 4F 4F 54 53 59 53 20 43 4F 4D 00 00 00 0D .BOOTSYS COM....
000001D0 2F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 /...............
000001E0 00 43 52 43 20 20 20 20 20 43 4F 4D 00 00 00 19 .CRC COM....
000001F0 30 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01..............
00000200 00 47 45 4E 43 50 4D 20 20 43 4F 4D 01 00 00 26 .GENCPM COM...&
00000210 32 33 34 35 36 37 38 39 3A 3B 3C 00 00 00 00 00 23456789:;<.....
00000220 00 49 46 4E 45 57 20 20 20 43 4F 4D 00 00 00 04 .IFNEW COM....
00000230 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =...............
00000240 00 4C 49 4E 4B 44 52 20 20 43 4F 4D 00 00 00 7B .LINKDR COM...{
00000250 3E 3F 40 41 42 43 44 45 00 00 00 00 00 00 00 00 >?@ABCDE........
00000260 00 4D 41 4B 45 53 59 4D 20 43 4F 4D 00 00 00 09 .MAKESYM COM....
00000270 46 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 F...............
00000280 00 4D 45 52 41 20 20 20 20 43 4F 4D 00 00 00 01 .MERA COM....
00000290 47 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 G...............
000002A0 00 30 2D 52 45 41 44 4D 45 31 53 54 00 00 00 28 .0-README1ST...(
000002B0 48 49 4A 00 00 00 00 00 00 00 00 00 00 00 00 00 HIJ.............
000002C0 00 30 2D 5A 50 4D 20 20 20 54 58 54 00 00 00 02 .0-ZPM TXT....
000002D0 4B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 K...............
000002E0 00 42 44 4F 53 33 20 20 20 53 50 52 00 00 00 4D .BDOS3 SPR...M
000002F0 4C 4D 4E 4F 50 00 00 00 00 00 00 00 00 00 00 00 LMNOP...........
00000300 00 42 49 4F 53 4B 52 4E 4C 5A 38 30 01 00 00 16 .BIOSKRNLZ80....
00000310 51 52 53 54 55 56 57 58 59 5A 00 00 00 00 00 00 QRSTUVWXYZ......
00000320 00 42 4E 4B 42 44 4F 53 33 53 50 52 00 00 00 6A .BNKBDOS3SPR...j
00000330 5B 5C 5D 5E 5F 60 61 00 00 00 00 00 00 00 00 00 [\]^_`a.........
00000340 00 42 4E 4B 42 49 4F 53 33 53 50 52 01 00 00 6A .BNKBIOS3SPR...j
00000350 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 00 bcdefghijklmnop.
00000360 00 42 4F 4F 54 53 59 53 20 5A 38 30 01 00 00 80 .BOOTSYS Z80....
00000370 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F 80 qrstuvwxyz{|}~..
00000380 00 42 4F 4F 54 53 59 53 20 5A 38 30 02 00 00 08 .BOOTSYS Z80....
00000390 81 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000003A0 00 43 4C 45 41 4E 20 20 20 53 55 42 00 00 00 02 .CLEAN SUB....
000003B0 82 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000003C0 00 43 4F 50 59 49 4E 47 20 20 20 20 01 00 00 10 .COPYING ....
000003D0 83 84 85 86 87 88 89 8A 8B 00 00 00 00 00 00 00 ................
000003E0 00 43 50 4D 33 2D 53 4C 52 4C 49 42 00 00 00 25 .CPM3-SLRLIB...%
000003F0 8C 8D 8E 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000400 00 43 50 4D 4C 44 52 20 20 53 55 42 00 00 00 04 .CPMLDR SUB....
00000410 8F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000420 00 43 52 43 4B 4C 49 53 54 43 52 43 00 00 00 0C .CRCKLISTCRC....
00000430 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000440 00 47 45 4E 43 50 4D 20 20 44 41 54 00 00 00 13 .GENCPM DAT....
00000450 91 92 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000460 00 47 45 4E 43 50 4D 20 20 4F 4B 20 00 00 00 13 .GENCPM OK ....
00000470 93 94 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000480 00 4D 41 4B 45 53 59 4D 20 44 4F 43 00 00 00 0F .MAKESYM DOC....
00000490 95 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000004A0 00 4D 4D 55 20 20 20 20 20 5A 38 30 00 00 00 3B .MMU Z80...;
000004B0 96 97 98 99 00 00 00 00 00 00 00 00 00 00 00 00 ................
000004C0 00 52 45 53 42 44 4F 53 33 53 50 52 00 00 00 10 .RESBDOS3SPR....
000004D0 9A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000004E0 00 52 46 34 20 20 20 20 20 53 55 42 00 00 00 01 .RF4 SUB....
000004F0 9B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000500 00 53 43 42 20 20 20 20 20 5A 38 30 00 00 00 18 .SCB Z80....
00000510 9C 9D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000520 00 53 59 53 20 20 20 20 20 5A 38 30 00 00 00 0C .SYS Z80....
00000530 9E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000540 00 53 59 53 44 45 46 20 20 4C 49 42 00 00 00 0E .SYSDEF LIB....
00000550 9F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000560 00 59 41 5A 45 42 49 4F 53 4C 49 42 00 00 00 15 .YAZEBIOSLIB....
00000570 A0 A1 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000580 00 59 43 54 20 20 20 20 20 5A 38 30 00 00 00 15 .YCT Z80....
00000590 A2 A3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000005A0 00 59 44 52 56 54 42 4C 20 5A 38 30 00 00 00 35 .YDRVTBL Z80...5
000005B0 A4 A5 A6 A7 00 00 00 00 00 00 00 00 00 00 00 00 ................
000005C0 00 5A 50 4D 33 4E 31 31 20 50 4D 41 01 00 00 80 .ZPM3N11 PMA....
000005D0 A8 A9 AA AB AC AD AE AF B0 B1 B2 B3 B4 B5 B6 B7 ................
000005E0 00 5A 50 4D 33 4E 31 31 20 50 4D 41 02 00 00 47 .ZPM3N11 PMA...G
000005F0 B8 B9 BA BB BC 00 00 00 00 00 00 00 00 00 00 00 ................
00000600 E5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000610 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000620 E5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000630 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000640 E5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000650 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000660 E5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000670 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000680 E5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000690 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000006A0 E5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000006B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000006C0 E5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000006D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000006E0 E5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000006F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

$ cpmls -f yaze512 -T raw,yaze512 -D bios3.ydsk
Name Bytes Recs Attr update create
------------ ------ ------ ---- ----------------- -----------------
0-README.1ST 6K 40
0-ZPM .TXT 2K 2
3ERASE .COM 4K 27
AUTOTOG .COM 2K 4
B .SUB 2K 2
BDOS3 .SPR 10K 77
BIOSKRNL.Z80 20K 150
BNKBDOS3.SPR 14K 106
BNKBIOS3.SPR 30K 234
BOOTSYS .COM 2K 13
BOOTSYS .Z80 34K 264
CLEAN .SUB 2K 2
COPYING . 18K 144
CPM3-SLR.LIB 6K 37
CPM3 .SYS 44K 344
CPMLDR .SUB 2K 4
CRC .COM 4K 25
CRCKLIST.CRC 2K 12
D .SUB 2K 1
G .SUB 2K 2
GENCPM .COM 22K 166
GENCPM .DAT 4K 19
GENCPM .OK 4K 19
H .SUB 2K 2
IFNEW .COM 2K 4
LINKDR .COM 16K 123
MAKESYM .COM 2K 9
MAKESYM .DOC 2K 15
MERA .COM 2K 1
MMU .Z80 8K 59
P .SUB 2K 1
RESBDOS3.SPR 2K 16
RF4 .SUB 2K 1
SCB .Z80 4K 24
SYS .Z80 2K 12
SYSDEF .LIB 2K 14
Y .SUB 2K 7
YAZEBIOS.LIB 4K 21
YCT .Z80 4K 21
YDRVTBL .Z80 8K 53
ZPM3N11 .PMA 42K 327
41 Files occupying 58K, 4006K Free.


Click here to read the complete article
Re: cpmtools bug?

<be16ac0f-a20e-4586-8b49-6b4e49d22380n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:2467:: with SMTP id im7mr54755548qvb.59.1621168887252;
Sun, 16 May 2021 05:41:27 -0700 (PDT)
X-Received: by 2002:a05:6830:1c67:: with SMTP id s7mr39638962otg.197.1621168886973;
Sun, 16 May 2021 05:41:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sun, 16 May 2021 05:41:26 -0700 (PDT)
In-Reply-To: <116ce5a6-f18e-44ca-8f8c-c64c6c943750n@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: <s752uq$ak4$1@gioia.aioe.org> <dc486fd1-375d-4e7b-b846-3a9634119925n@googlegroups.com>
<s7a1so$1obu$1@gioia.aioe.org> <FNadnf6bSPe0aAT9nZ2dnUU7-efNnZ2d@giganews.com>
<s7cuhc$1j9i$1@gioia.aioe.org> <fc5bc4b9-ded0-455e-8024-93ef81801bd9n@googlegroups.com>
<s7f8c2$sf7$1@gioia.aioe.org> <s7j0re$1v06$1@gioia.aioe.org>
<s7jgqj$jk0$1@gioia.aioe.org> <c95b6df4-5496-47af-a44b-c51c1b08bff2n@googlegroups.com>
<04d088c3-5081-49a4-ba7b-fabb4a27883cn@googlegroups.com> <0c8dc5b8-e900-444c-b688-15f04a269ffbn@googlegroups.com>
<116ce5a6-f18e-44ca-8f8c-c64c6c943750n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <be16ac0f-a20e-4586-8b49-6b4e49d22380n@googlegroups.com>
Subject: Re: cpmtools bug?
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Sun, 16 May 2021 12:41:27 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Douglas Miller - Sun, 16 May 2021 12:41 UTC

On Sunday, May 16, 2021 at 5:28:04 AM UTC-5, Larry Kraemer wrote:
> I'm still getting errors with the following:
>
> Libdsk 1.5.15
> cpmtools Version 2.23-snapshot (latest Snapshot)
> diskdef yaze512
> # BSH 4 BLM 15 EXM 1 DSM 255 DRM 1023 AL0 0FFH AL1 0FFH OFS 0
> seclen 128
> tracks 4096
> sectrk 8
> blocksize 2048
> maxdir 1024
> skew 1
> offset 128
> boottrk 0
> os 3
> end
> >...
> Directory is at 0x080 = 128 Decimal
> 00000080 00 43 50 4D 33 20 20 20 20 53 59 53 01 00 00 80 .CPM3 SYS....
> 00000090 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F ................
>...
>
> Larry

That diskdef does not seem to match the disk image. The directory entries in the image are for a DPB that has the total number of blocks being <= 256 (one byte block numbers), but the diskdef computes out to 2048 blocks total (two byte block numbers). This results in cpmtools thinking the first block of CPM.SYS is 0x1110 which would correctly be beyond the end of the disk. I'd have to see more of the disk image to tell what the diskdef needs to be.

Re: cpmtools bug?

<f43dd3c8-82e2-4961-97cc-1f5c14eeb79an@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a37:aa0b:: with SMTP id t11mr52065890qke.70.1621171395259;
Sun, 16 May 2021 06:23:15 -0700 (PDT)
X-Received: by 2002:a9d:69c2:: with SMTP id v2mr37425765oto.186.1621171395045;
Sun, 16 May 2021 06:23:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sun, 16 May 2021 06:23:14 -0700 (PDT)
In-Reply-To: <be16ac0f-a20e-4586-8b49-6b4e49d22380n@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: <s752uq$ak4$1@gioia.aioe.org> <dc486fd1-375d-4e7b-b846-3a9634119925n@googlegroups.com>
<s7a1so$1obu$1@gioia.aioe.org> <FNadnf6bSPe0aAT9nZ2dnUU7-efNnZ2d@giganews.com>
<s7cuhc$1j9i$1@gioia.aioe.org> <fc5bc4b9-ded0-455e-8024-93ef81801bd9n@googlegroups.com>
<s7f8c2$sf7$1@gioia.aioe.org> <s7j0re$1v06$1@gioia.aioe.org>
<s7jgqj$jk0$1@gioia.aioe.org> <c95b6df4-5496-47af-a44b-c51c1b08bff2n@googlegroups.com>
<04d088c3-5081-49a4-ba7b-fabb4a27883cn@googlegroups.com> <0c8dc5b8-e900-444c-b688-15f04a269ffbn@googlegroups.com>
<116ce5a6-f18e-44ca-8f8c-c64c6c943750n@googlegroups.com> <be16ac0f-a20e-4586-8b49-6b4e49d22380n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f43dd3c8-82e2-4961-97cc-1f5c14eeb79an@googlegroups.com>
Subject: Re: cpmtools bug?
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Sun, 16 May 2021 13:23:15 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Douglas Miller - Sun, 16 May 2021 13:23 UTC

I found the image "z80asm.ydsk" and took a look at it, and that one does show two byte block numbers:

000e0: 01 5a 38 30 41 53 4d 20 20 43 4f 4d 00 00 00 80 .Z80ASM COM....
000f0: 14 00 15 00 16 00 17 00 18 00 19 00 1a 00 1b 00 ................
00100: 01 5a 38 30 41 53 4d 20 20 43 4f 4d 01 00 00 44 .Z80ASM COM...D
00110: 1c 00 1d 00 1e 00 1f 00 20 00 00 00 00 00 00 00 ........ .......

So it would appear that the image you are looking at is a different format. The header of these ".ydsk" images seems to contain a DPB in it, perhaps we just need to see the first 128 bytes of the .ydsk file you have.

On Sunday, May 16, 2021 at 7:41:27 AM UTC-5, Douglas Miller wrote:
>
> That diskdef does not seem to match the disk image. The directory entries in the image are for a DPB that has the total number of blocks being <= 256 (one byte block numbers), but the diskdef computes out to 2048 blocks total (two byte block numbers). This results in cpmtools thinking the first block of CPM.SYS is 0x1110 which would correctly be beyond the end of the disk. I'd have to see more of the disk image to tell what the diskdef needs to be.

Re: cpmtools bug?

<1869c68e-84e6-478b-a5d0-8d642b076cdbn@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a37:7306:: with SMTP id o6mr16694381qkc.38.1621171871689;
Sun, 16 May 2021 06:31:11 -0700 (PDT)
X-Received: by 2002:aca:c30f:: with SMTP id t15mr39546337oif.145.1621171871413;
Sun, 16 May 2021 06:31:11 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sun, 16 May 2021 06:31:11 -0700 (PDT)
In-Reply-To: <f43dd3c8-82e2-4961-97cc-1f5c14eeb79an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=192.30.164.110; posting-account=vgtDDgoAAAD79vzJigFqI2FioZJCfmjs
NNTP-Posting-Host: 192.30.164.110
References: <s752uq$ak4$1@gioia.aioe.org> <dc486fd1-375d-4e7b-b846-3a9634119925n@googlegroups.com>
<s7a1so$1obu$1@gioia.aioe.org> <FNadnf6bSPe0aAT9nZ2dnUU7-efNnZ2d@giganews.com>
<s7cuhc$1j9i$1@gioia.aioe.org> <fc5bc4b9-ded0-455e-8024-93ef81801bd9n@googlegroups.com>
<s7f8c2$sf7$1@gioia.aioe.org> <s7j0re$1v06$1@gioia.aioe.org>
<s7jgqj$jk0$1@gioia.aioe.org> <c95b6df4-5496-47af-a44b-c51c1b08bff2n@googlegroups.com>
<04d088c3-5081-49a4-ba7b-fabb4a27883cn@googlegroups.com> <0c8dc5b8-e900-444c-b688-15f04a269ffbn@googlegroups.com>
<116ce5a6-f18e-44ca-8f8c-c64c6c943750n@googlegroups.com> <be16ac0f-a20e-4586-8b49-6b4e49d22380n@googlegroups.com>
<f43dd3c8-82e2-4961-97cc-1f5c14eeb79an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1869c68e-84e6-478b-a5d0-8d642b076cdbn@googlegroups.com>
Subject: Re: cpmtools bug?
From: ldkrae...@gmail.com (ldkr...@gmail.com)
Injection-Date: Sun, 16 May 2021 13:31:11 +0000
Content-Type: text/plain; charset="UTF-8"
 by: ldkr...@gmail.com - Sun, 16 May 2021 13:31 UTC

Here is what I downloaded:
[code]
00000000 3C 43 50 4D 5F 44 69 73 6B 3E 00 00 00 00 00 00 <CPM_Disk>......
00000010 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020 80 00 04 0F 01 FF 00 FF 03 FF FF 00 00 00 00 04 ................
00000030 0F 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 00 00 00 00 00 00 00 00 ................
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000080 00 43 50 4D 33 20 20 20 20 53 59 53 01 00 00 80 .CPM3 SYS....
00000090 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F ................
000000A0 00 43 50 4D 33 20 20 20 20 53 59 53 02 00 00 58 .CPM3 SYS...X
000000B0 20 21 22 23 24 25 00 00 00 00 00 00 00 00 00 00 !"#$%..........
000000C0 00 42 20 20 20 20 20 20 20 53 55 42 00 00 00 02 .B SUB....
000000D0 26 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 &...............
000000E0 00 44 20 20 20 20 20 20 20 53 55 42 00 00 00 01 .D SUB....
000000F0 27 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '...............
00000100 00 47 20 20 20 20 20 20 20 53 55 42 00 00 00 02 .G SUB....
00000110 28 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 (...............
00000120 00 48 20 20 20 20 20 20 20 53 55 42 00 00 00 02 .H SUB....
00000130 29 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 )...............
00000140 00 50 20 20 20 20 20 20 20 53 55 42 00 00 00 01 .P SUB....
00000150 2A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 *...............
00000160 00 59 20 20 20 20 20 20 20 53 55 42 00 00 00 07 .Y SUB....
[/code]

Larry

Re: cpmtools bug?

<b4b0ed0f-803c-424f-a0cb-f79453682e5an@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:1045:: with SMTP id f5mr30277842qte.392.1621175272693;
Sun, 16 May 2021 07:27:52 -0700 (PDT)
X-Received: by 2002:aca:3dc3:: with SMTP id k186mr12840356oia.126.1621175272510;
Sun, 16 May 2021 07:27:52 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sun, 16 May 2021 07:27:52 -0700 (PDT)
In-Reply-To: <d63f8917-b53b-4f9d-b632-85bce7f633cfn@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: <s752uq$ak4$1@gioia.aioe.org> <dc486fd1-375d-4e7b-b846-3a9634119925n@googlegroups.com>
<s7a1so$1obu$1@gioia.aioe.org> <FNadnf6bSPe0aAT9nZ2dnUU7-efNnZ2d@giganews.com>
<s7cuhc$1j9i$1@gioia.aioe.org> <fc5bc4b9-ded0-455e-8024-93ef81801bd9n@googlegroups.com>
<s7f8c2$sf7$1@gioia.aioe.org> <s7j0re$1v06$1@gioia.aioe.org>
<s7jgqj$jk0$1@gioia.aioe.org> <c95b6df4-5496-47af-a44b-c51c1b08bff2n@googlegroups.com>
<04d088c3-5081-49a4-ba7b-fabb4a27883cn@googlegroups.com> <0c8dc5b8-e900-444c-b688-15f04a269ffbn@googlegroups.com>
<116ce5a6-f18e-44ca-8f8c-c64c6c943750n@googlegroups.com> <be16ac0f-a20e-4586-8b49-6b4e49d22380n@googlegroups.com>
<f43dd3c8-82e2-4961-97cc-1f5c14eeb79an@googlegroups.com> <1869c68e-84e6-478b-a5d0-8d642b076cdbn@googlegroups.com>
<d63f8917-b53b-4f9d-b632-85bce7f633cfn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b4b0ed0f-803c-424f-a0cb-f79453682e5an@googlegroups.com>
Subject: Re: cpmtools bug?
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Sun, 16 May 2021 14:27:52 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Douglas Miller - Sun, 16 May 2021 14:27 UTC

On Sunday, May 16, 2021 at 8:37:20 AM UTC-5, Larry Kraemer wrote:
> The differences are:
> BISO3.YDSK
> 00000020 80 00 04 0F 01 FF 00 FF 03 FF FF 00 00 00 00 04 ................
> 00000030 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
> Z80ASM.YDSK
> 00000020 80 00 04 0F 00 FF 01 FF 03 FF FF 00 00 00 00 04 ................
> 00000030 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
> Larry

so, the DPBs differ. Here's a program I threw together to read the DPB from the .ydsk header and create a cpmtools diskdef from it. Provided I did not screw up, that should work on your image too. http://sebhc.durgadas.com/getydskdef.c

It works for me on z80asm.ydsk (using my enhanced cpmtools to embed the diskdef on the commandline, e.g. cpmls -d -f "$(getydskdef z80asm.ydsk)" z80asm.ydsk).

Re: cpmtools bug?

<6e0fb434-7b8d-4389-8cd7-9348b81677aan@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:902:: with SMTP id dj2mr22959410qvb.11.1621175892996;
Sun, 16 May 2021 07:38:12 -0700 (PDT)
X-Received: by 2002:a4a:d004:: with SMTP id h4mr43256856oor.90.1621175892579;
Sun, 16 May 2021 07:38:12 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sun, 16 May 2021 07:38:12 -0700 (PDT)
In-Reply-To: <b4b0ed0f-803c-424f-a0cb-f79453682e5an@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: <s752uq$ak4$1@gioia.aioe.org> <dc486fd1-375d-4e7b-b846-3a9634119925n@googlegroups.com>
<s7a1so$1obu$1@gioia.aioe.org> <FNadnf6bSPe0aAT9nZ2dnUU7-efNnZ2d@giganews.com>
<s7cuhc$1j9i$1@gioia.aioe.org> <fc5bc4b9-ded0-455e-8024-93ef81801bd9n@googlegroups.com>
<s7f8c2$sf7$1@gioia.aioe.org> <s7j0re$1v06$1@gioia.aioe.org>
<s7jgqj$jk0$1@gioia.aioe.org> <c95b6df4-5496-47af-a44b-c51c1b08bff2n@googlegroups.com>
<04d088c3-5081-49a4-ba7b-fabb4a27883cn@googlegroups.com> <0c8dc5b8-e900-444c-b688-15f04a269ffbn@googlegroups.com>
<116ce5a6-f18e-44ca-8f8c-c64c6c943750n@googlegroups.com> <be16ac0f-a20e-4586-8b49-6b4e49d22380n@googlegroups.com>
<f43dd3c8-82e2-4961-97cc-1f5c14eeb79an@googlegroups.com> <1869c68e-84e6-478b-a5d0-8d642b076cdbn@googlegroups.com>
<d63f8917-b53b-4f9d-b632-85bce7f633cfn@googlegroups.com> <b4b0ed0f-803c-424f-a0cb-f79453682e5an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6e0fb434-7b8d-4389-8cd7-9348b81677aan@googlegroups.com>
Subject: Re: cpmtools bug?
From: durgadas...@gmail.com (Douglas Miller)
Injection-Date: Sun, 16 May 2021 14:38:12 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Douglas Miller - Sun, 16 May 2021 14:38 UTC

I should have clarified, the 'getydskdef' tool does not require my enhanced cpmtools, it just prints to stdout the diskdef, which you can just paste into a diskdefs file and add a name for.

$ getydskdef z80asm.ydsk
diskdef
seclen 128
tracks 64
sectrk 128
blocksize 2048
maxdir 1024
skew 1
offset 128
boottrk 0
os 2.2
end
$

On Sunday, May 16, 2021 at 9:27:53 AM UTC-5, Douglas Miller wrote:
>...
> so, the DPBs differ. Here's a program I threw together to read the DPB from the .ydsk header and create a cpmtools diskdef from it. Provided I did not screw up, that should work on your image too. http://sebhc.durgadas.com/getydskdef.c
>
> It works for me on z80asm.ydsk (using my enhanced cpmtools to embed the diskdef on the commandline, e.g. cpmls -d -f "$(getydskdef z80asm.ydsk)" z80asm.ydsk).

Re: cpmtools bug?

<s7slr0$1m2e$1@gioia.aioe.org>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!aioe.org!xrnZ5uanw3pSzK+Ytx4Jfg.user.gioia.aioe.org.POSTED!not-for-mail
From: dxfo...@gmail.com (dxforth)
Newsgroups: comp.os.cpm
Subject: Re: cpmtools bug?
Date: Mon, 17 May 2021 12:53:22 +1000
Organization: Aioe.org NNTP Server
Lines: 42
Message-ID: <s7slr0$1m2e$1@gioia.aioe.org>
References: <s752uq$ak4$1@gioia.aioe.org>
<dc486fd1-375d-4e7b-b846-3a9634119925n@googlegroups.com>
<s7a1so$1obu$1@gioia.aioe.org>
<FNadnf6bSPe0aAT9nZ2dnUU7-efNnZ2d@giganews.com>
<s7cuhc$1j9i$1@gioia.aioe.org>
<fc5bc4b9-ded0-455e-8024-93ef81801bd9n@googlegroups.com>
<s7f8c2$sf7$1@gioia.aioe.org> <s7j0re$1v06$1@gioia.aioe.org>
<s7jgqj$jk0$1@gioia.aioe.org>
<c95b6df4-5496-47af-a44b-c51c1b08bff2n@googlegroups.com>
<04d088c3-5081-49a4-ba7b-fabb4a27883cn@googlegroups.com>
<0c8dc5b8-e900-444c-b688-15f04a269ffbn@googlegroups.com>
<116ce5a6-f18e-44ca-8f8c-c64c6c943750n@googlegroups.com>
NNTP-Posting-Host: xrnZ5uanw3pSzK+Ytx4Jfg.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-GB
 by: dxforth - Mon, 17 May 2021 02:53 UTC

On 16/05/2021 20:28, ldkr...@gmail.com wrote:
> I'm still getting errors with the following:
>
> Libdsk 1.5.15
> cpmtools Version 2.23-snapshot (latest Snapshot)
>
>
> diskdef yaze512
> # BSH 4 BLM 15 EXM 1 DSM 255 DRM 1023 AL0 0FFH AL1 0FFH OFS 0
> seclen 128
> tracks 4096
> sectrk 8
> blocksize 2048
> maxdir 1024
> skew 1
> offset 128
> boottrk 0
> os 3
> end

I patched the old Windows sources with the '256' fix and it works for me.
BTW my diskdef is:

diskdef yaze512
# BSH 4 BLM 15 EXM 1 DSM 255 DRM 1023 AL0 0FFH AL1 0FFH OFS 0
seclen 128
tracks 512
sectrk 8
blocksize 2048
maxdir 1024
skew 1
boottrk 0
os 3
offset 128
end

Yours diskdef results in an image size of 128*8*4096 = 4MB.
4MB/2048 blocksize = 2048 blocks ... which is greater than 256.
It's no wonder cpmtools is reading it wrong.

Pages:12
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor