Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Sex, Drugs & Linux Rules -- MaDsen Wikholm, mwikholm@at8.abo.fi


devel / comp.os.cpm / Re: Trying to read a physical disk

SubjectAuthor
* Trying to read a physical diskJosef Moellers
+* Re: Trying to read a physical diskUdo Munk
|+- Re: Trying to read a physical diskJosef Moellers
|`- Re: Trying to read a physical diskJosef Moellers
+* Re: Trying to read a physical diskMartin
|`* Re: Trying to read a physical diskJosef Moellers
| +- Re: Trying to read a physical diskUdo Munk
| `* Re: Trying to read a physical diskMartin
|  `- Re: Trying to read a physical diskMartin
+- Re: Trying to read a physical diskfridtjof.ma...@gmail.com
+- Re: Trying to read a physical diskfridtjof.ma...@gmail.com
`- Re: Trying to read a physical diskJosef Moellers

1
Trying to read a physical disk

<j9j4pbFsne5U1@mid.individual.net>

  copy mid

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

  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: Trying to read a physical disk
Date: Fri, 18 Mar 2022 11:21:31 +0100
Lines: 32
Message-ID: <j9j4pbFsne5U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net fxdfQievriMM6In2raeowghHnTmZZiRH39dshztQCVyxt7duuh
Cancel-Lock: sha1:iVZDRhtTzzHzjxvLxZrhPfo4Ogw=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Content-Language: en-US
 by: Josef Moellers - Fri, 18 Mar 2022 10:21 UTC

Hi,
I'm trying to read a physical disk to get an image of the disk
I have changed the first couple of bytes of the image to identify the
disk, but I still get E5s.
As a test, I'm trying to read just the very first sector off the disk, I do:
LD C,4 ; select drive E:
LD A,9 ; SELDSK
CALL BIOS
LD BC,0 ; Set Track 0
LD A,10 ; SETTRK
CALL BIOS
LD BC,1H ; Set Sector 1
LD A,11 ; SETSEC
CALL BIOS
LD BC,buffer
LD A,12 ; SETDMA
CALL BIOS
LD A.13 ; READ
CALL BIOS
Then I dump the first 16 bytes of the data but it is all E5s
What am I doing wrong here?
Neither the SELDSK nor the READ report an error.
I also tried Sector 11H as ZSystem uses this as the first sector number
of a track.

Thanks,

Josef
NB This is on an SB180FX which has a hard disk occupying drives A..D,
then a GoTek floppy emulator as floppy drive 0/drive E:, a 3½" drive as
drive 1/F: and a 5¼" drive as drive 2/G:.

Re: Trying to read a physical disk

<9863e4d9-00ba-4f87-a3c5-8f745c2d8600n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:d87:b0:67b:311c:ecbd with SMTP id q7-20020a05620a0d8700b0067b311cecbdmr5650954qkl.146.1647605385343;
Fri, 18 Mar 2022 05:09:45 -0700 (PDT)
X-Received: by 2002:a05:6871:b0c:b0:dd:aa87:3266 with SMTP id
fq12-20020a0568710b0c00b000ddaa873266mr3750023oab.227.1647605384503; Fri, 18
Mar 2022 05:09:44 -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, 18 Mar 2022 05:09:44 -0700 (PDT)
In-Reply-To: <j9j4pbFsne5U1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=87.122.2.11; posting-account=RHtB3AoAAABZlu_FJY7ySUmJrtfW41bO
NNTP-Posting-Host: 87.122.2.11
References: <j9j4pbFsne5U1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9863e4d9-00ba-4f87-a3c5-8f745c2d8600n@googlegroups.com>
Subject: Re: Trying to read a physical disk
From: udo.m...@freenet.de (Udo Munk)
Injection-Date: Fri, 18 Mar 2022 12:09:45 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 0
 by: Udo Munk - Fri, 18 Mar 2022 12:09 UTC

You are reading a sector that is empty but formatted with the usual E5. Try reading other sectors that contain data.

Re: Trying to read a physical disk

<j9je4aFues0U1@mid.individual.net>

  copy mid

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

  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: Trying to read a physical disk
Date: Fri, 18 Mar 2022 14:00:58 +0100
Lines: 19
Message-ID: <j9je4aFues0U1@mid.individual.net>
References: <j9j4pbFsne5U1@mid.individual.net>
<9863e4d9-00ba-4f87-a3c5-8f745c2d8600n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net KlrWjhveRkKk+Spe6j/yoge+CAltkDYRuJCo0Y0dmuy1jlz2OG
Cancel-Lock: sha1:KOD/LBPZQO1bXGUfnsevl3nP4wM=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Content-Language: en-US
In-Reply-To: <9863e4d9-00ba-4f87-a3c5-8f745c2d8600n@googlegroups.com>
 by: Josef Moellers - Fri, 18 Mar 2022 13:00 UTC

On 18.03.22 13:09, Udo Munk wrote:
> You are reading a sector that is empty but formatted with the usual E5. Try reading other sectors that contain data.

I'm trying to read the very first sector on the disk.

As I wrote, this is a GoTec USB-to-Floppy adapter with the FlashFloppy
firmware. It uses file(s) on the USB stick to hold the disk image(s).

I have modified the file using this specific image to have a string (the
file name) as the first couple of bytes, so it should not be E5 but
something different.

But I'll try to modify the program so that I can specify disk number,
track number and sector number.

Thanks anyway,

Josef

Re: Trying to read a physical disk

<j9jfhcF7otU1@mid.individual.net>

  copy mid

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

  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: Trying to read a physical disk
Date: Fri, 18 Mar 2022 14:25:00 +0100
Lines: 14
Message-ID: <j9jfhcF7otU1@mid.individual.net>
References: <j9j4pbFsne5U1@mid.individual.net>
<9863e4d9-00ba-4f87-a3c5-8f745c2d8600n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net ZrRw0Nj2A3o/ipr986SS8wpvOBapLJJm5QGzqmahkXNCJm8pCk
Cancel-Lock: sha1:g9TGSK1Zh/wlm2j6xpClw+2eZwQ=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Content-Language: en-US
In-Reply-To: <9863e4d9-00ba-4f87-a3c5-8f745c2d8600n@googlegroups.com>
 by: Josef Moellers - Fri, 18 Mar 2022 13:25 UTC

On 18.03.22 13:09, Udo Munk wrote:
> You are reading a sector that is empty but formatted with the usual E5. Try reading other sectors that contain data.

It appears that my reference (DR's CP/M Operating System Manual) is
incorrect in that the sector number is 0-based, not 1-based.
Reading drive=4, track=0, sector=0 reads the correct sector:
5A,5A,5A,5A,5A,30,32,36,2E,69,6D,67,E5,E5,E5,E5,
while reading 4,0,1 reads
E5,E5,E5,E5,E5,E5,E5,E5,E5,E5,E5,E5,E5,E5,E5,E5,

Go figure,

Josef

Re: Trying to read a physical disk

<t12k4t$8rd$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!aioe.org!a7AxCBKlqf9mTSxqYcmDPA.user.46.165.242.75.POSTED!not-for-mail
From: this.is....@so.its.invalid (Martin)
Newsgroups: comp.os.cpm
Subject: Re: Trying to read a physical disk
Date: Fri, 18 Mar 2022 19:47:18 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t12k4t$8rd$1@gioia.aioe.org>
References: <j9j4pbFsne5U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="9069"; posting-host="a7AxCBKlqf9mTSxqYcmDPA.user.gioia.aioe.org"; mail-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 - Fri, 18 Mar 2022 18:47 UTC

Am 03/18/2022 11:21 AM, Josef Moellers schrieb:
>
> Hi,
> I'm trying to read a physical disk to get an image of the disk
> I have changed the first couple of bytes of the image to identify the
> disk, but I still get E5s.
> As a test, I'm trying to read just the very first sector off the disk, I
> do:
> LD C,4 ; select drive E:
> LD A,9 ; SELDSK
> CALL BIOS
> LD BC,0 ; Set Track 0
> LD A,10 ; SETTRK
> CALL BIOS
> LD BC,1H ; Set Sector 1
> LD A,11 ; SETSEC
> CALL BIOS
> LD BC,buffer
> LD A,12 ; SETDMA
> CALL BIOS
> LD A.13 ; READ
> CALL BIOS
> Then I dump the first 16 bytes of the data but it is all E5s
> What am I doing wrong here?
> Neither the SELDSK nor the READ report an error.
> I also tried Sector 11H as ZSystem uses this as the first sector number
> of a track.
>
> Thanks,
>
> Josef
> NB This is on an SB180FX which has a hard disk occupying drives A..D,
> then a GoTek floppy emulator as floppy drive 0/drive E:, a 3½" drive as
> drive 1/F: and a 5¼" drive as drive 2/G:.

You don't call SECTRAN, so the sector number is "physical",
it can be any number the hardware needs to get.

You need to find out this physical sector number first and
pass that to SETSEC.

There is a very good sector editor called "the disk inspector",
which just didn't work on my 0-based system.

This program is *so* useful, I had to look inside and came up
with a quick and dirty patch to fix it.

Here is the relevant part of the code disasssembled.

I hope, you can read it and peruse the modification I made.

Martin

$ cat INFO_inspect_2.x_self_adapting_sector_number_base_fix.diffs
================
INFO: VERSION 2.1: ADDRESS 226a
INFO: VERSION 2.1: ADDRESS 281f
INFO: VERSION 2.2: ADDRESS 2a15
================

================
INFO: SELECT DISK AND FILL SECTOR DESCRIPTOR RECORD
INFO: IY: ADDRESS OF SECTOR DESCRIPTOR FOR
INFO: UPPER SECTOR (015eh)/LOWER SECTOR (0177h)
INFO: +00h: DRIVE
INFO: +01h/02h: TRACK
INFO: +03H/04H: SECTOR
INFO: +05H/06H: BLOCK
INFO: +07H/08H: ALV
INFO: +09H: SELECTED DRIVE
INFO: +0ah/0bH: CKS
INFO: +0ch/0dH: LAST TRACK + 1
INFO: +0eh/0fh: SPT
----
29e6 fd 4e 00 LD C,(IY+00) ;DISK DRIVE
29e9 00 NOP ;UNKNOWN PATCHED OUT
29ea 00 NOP
29eb 00 NOP
29ec 1e 01 LD E,001 ;NOT FIRST SELECT
29ee 21 1b 00 LD HL,001b ;SELECT DISK DRIVE
29f1 cd 54 0d CALL 0d54 ;CALL BIOS

29f4 16 00 LD D,000
29f6 1e 00 LD E,000
29f8 b7 OR A
29f9 ed 5a ADC HL,DE
29fb ca a0 2a JP Z,2aa0 ;SELECT ERROR

29fe e5 PUSH HL
29ff dd e1 POP IX ;DPH PTR IN IX

2a01 dd 5e 00 LD E,(IX+00) ;XLT (OR 0000h)
2a04 dd 56 01 LD D,(IX+01)
2a07 fd 73 12 LD (IY+12),E
2a0a fd 72 13 LD (IY+13),D

2a0d af XOR A ;LOWEST SECTOR NUMBER
2a0e fd 77 17 LD (IY+17),A

2a11 7a LD A,D
2a12 b3 OR E
2a13 28 05 JR Z,2a1a ;NO TRANSLATION
================
INFO: OLD: HARD CODED SECTOR NUMBER BASE 01H
<<< 2a15 3e 01 LD A,001
================
INFO: NEW: ASSUME XLT STARTS WITH THE LOWEST SECTOR NUMBER
INFO: NEW: USE IT AS SELF-ADAPTING SECTOR NUMBER BASE
>>> 2a15 1a LD A,(DE)
>>> 2a16 00 NOP
================
2a17 fd 77 17 LD (IY+17),A

2a1a dd 5e 0e LD E,(IX+0e) ;ALV
2a1d dd 56 0f LD D,(IX+0f)
2a20 fd 73 07 LD (IY+07),E
2a23 fd 72 08 LD (IY+08),D

2a26 dd 5e 0a LD E,(IX+0a) ;DPB
2a29 dd 56 0b LD D,(IX+0b)
2a2c d5 PUSH DE
2a2d dd e1 POP IX ;DPB PTR IN IX

2a2f dd 7e 00 LD A,(IX+00) ;SPT
2a32 fd 77 0e LD (IY+0e),A
2a35 dd 7e 01 LD A,(IX+01)
2a38 fd 77 0f LD (IY+0f),A

2a3b dd 7e 0d LD A,(IX+0d) ;OFF
2a3e fd 77 14 LD (IY+14),A
2a41 dd 7e 0e LD A,(IX+0e)
2a44 fd 77 15 LD (IY+15),A

2a47 dd 7e 02 LD A,(IX+02) ;BSH
2a4a fd 77 16 LD (IY+16),A

2a4d dd 7e 05 LD A,(IX+05) ;DSM
2a50 fd 77 10 LD (IY+10),A
2a53 dd 7e 06 LD A,(IX+06)
2a56 fd 77 11 LD (IY+11),A

2a59 fd 46 16 LD B,(IY+16) ;BSH
2a5c fd 66 11 LD H,(IY+11) ;DSM
2a5f fd 6e 10 LD L,(IY+10)
2a62 23 INC HL ;#BLOCKS
2a63 29 ADD HL,HL
2a64 10 fd DJNZ 2a63
2a66 7c LD A,H
2a67 b5 OR L
2a68 20 03 JR NZ,2a6d
2a6a 21 ff ff LD HL,ffff ;FFFF, IF (1)0000H

2a6d fd 56 0f LD D,(IY+0f) ;SPT
2a70 fd 5e 0e LD E,(IY+0e)
2a73 01 00 00 LD BC,0000
2a76 03 INC BC ;CALC #TRACKS
2a77 ed 52 SBC HL,DE
2a79 28 02 JR Z,2a7d
2a7b 30 f9 JR NC,2a76

2a7d c5 PUSH BC
2a7e e1 POP HL ;#TRACKS

2a7f fd 56 15 LD D,(IY+15) ;OFF
2a82 fd 5e 14 LD E,(IY+14)
2a85 af XOR A
2a86 ba CP D
2a87 20 06 JR NZ,2a8f
2a89 3e 04 LD A,004
2a8b bb CP E
2a8c 38 01 JR C,2a8f
2a8e 19 ADD HL,DE ;IF OFF<=0004H ADD OFF
2a8f fd 75 0c LD (IY+0c),L
2a92 fd 74 0d LD (IY+0d),H

2a95 fd 7e 00 LD A,(IY+00) ;DISK DRIVE
2a98 32 a9 2a LD (2aa9),A
2a9b fd 77 09 LD (IY+09),A ;DRIVE
2a9e af XOR A ;NO ERROR
2a9f c9 RET

2aa0 3e ff LD A,0ff ;INVALID
2aa2 32 a9 2a LD (2aa9),A
2aa5 3e 02 LD A,002 ;ERROR #2
2aa7 b7 OR A
2aa8 c9 RET
================

Re: Trying to read a physical disk

<425e71b7-61b6-4c15-8541-6128b0b7f224n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:208:b0:2e1:b3ec:b7ce with SMTP id b8-20020a05622a020800b002e1b3ecb7cemr8777734qtx.345.1647634723459;
Fri, 18 Mar 2022 13:18:43 -0700 (PDT)
X-Received: by 2002:a05:6871:822:b0:dd:b9a5:f5cf with SMTP id
q34-20020a056871082200b000ddb9a5f5cfmr3677949oap.230.1647634723213; Fri, 18
Mar 2022 13:18:43 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Fri, 18 Mar 2022 13:18:43 -0700 (PDT)
In-Reply-To: <j9j4pbFsne5U1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:f2c0:9411:7f00:3fa2:8126:bca0:69ed;
posting-account=KOfC_woAAAC0YBGf-3r2aV5g2Aifd9jO
NNTP-Posting-Host: 2607:f2c0:9411:7f00:3fa2:8126:bca0:69ed
References: <j9j4pbFsne5U1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <425e71b7-61b6-4c15-8541-6128b0b7f224n@googlegroups.com>
Subject: Re: Trying to read a physical disk
From: fridtjof...@gmail.com (fridtjof.ma...@gmail.com)
Injection-Date: Fri, 18 Mar 2022 20:18:43 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2489
 by: fridtjof.ma...@gmail - Fri, 18 Mar 2022 20:18 UTC

On Friday, March 18, 2022 at 6:21:34 AM UTC-4, Josef Moellers wrote:
> Hi,
> I'm trying to read a physical disk to get an image of the disk
> I have changed the first couple of bytes of the image to identify the
> disk, but I still get E5s.
> As a test, I'm trying to read just the very first sector off the disk, I do:
> LD C,4 ; select drive E:
> LD A,9 ; SELDSK
> CALL BIOS
> LD BC,0 ; Set Track 0
> LD A,10 ; SETTRK
> CALL BIOS
> LD BC,1H ; Set Sector 1
> LD A,11 ; SETSEC
> CALL BIOS
> LD BC,buffer
> LD A,12 ; SETDMA
> CALL BIOS
> LD A.13 ; READ
> CALL BIOS
> Then I dump the first 16 bytes of the data but it is all E5s
> What am I doing wrong here?
> Neither the SELDSK nor the READ report an error.
> I also tried Sector 11H as ZSystem uses this as the first sector number
> of a track.
>
> Thanks,
>
> Josef
> NB This is on an SB180FX which has a hard disk occupying drives A..D,
> then a GoTek floppy emulator as floppy drive 0/drive E:, a 3½" drive as
> drive 1/F: and a 5¼" drive as drive 2/G:.
4 is not E: 0 is default, 1 is A: and 5: is E:

Re: Trying to read a physical disk

<dbe6d0ef-4107-4eb2-8935-3bc69c04becfn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:1051:b0:2e1:eb06:ecc2 with SMTP id f17-20020a05622a105100b002e1eb06ecc2mr8604796qte.171.1647634875952;
Fri, 18 Mar 2022 13:21:15 -0700 (PDT)
X-Received: by 2002:a05:6808:2324:b0:2ec:b76a:8a50 with SMTP id
bn36-20020a056808232400b002ecb76a8a50mr5104899oib.242.1647634875732; Fri, 18
Mar 2022 13:21:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!peer03.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Fri, 18 Mar 2022 13:21:15 -0700 (PDT)
In-Reply-To: <j9j4pbFsne5U1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:f2c0:9411:7f00:3fa2:8126:bca0:69ed;
posting-account=KOfC_woAAAC0YBGf-3r2aV5g2Aifd9jO
NNTP-Posting-Host: 2607:f2c0:9411:7f00:3fa2:8126:bca0:69ed
References: <j9j4pbFsne5U1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dbe6d0ef-4107-4eb2-8935-3bc69c04becfn@googlegroups.com>
Subject: Re: Trying to read a physical disk
From: fridtjof...@gmail.com (fridtjof.ma...@gmail.com)
Injection-Date: Fri, 18 Mar 2022 20:21:15 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2490
 by: fridtjof.ma...@gmail - Fri, 18 Mar 2022 20:21 UTC

On Friday, March 18, 2022 at 6:21:34 AM UTC-4, Josef Moellers wrote:
> Hi,
> I'm trying to read a physical disk to get an image of the disk
> I have changed the first couple of bytes of the image to identify the
> disk, but I still get E5s.
> As a test, I'm trying to read just the very first sector off the disk, I do:
> LD C,4 ; select drive E:
> LD A,9 ; SELDSK
> CALL BIOS
> LD BC,0 ; Set Track 0
> LD A,10 ; SETTRK
> CALL BIOS
> LD BC,1H ; Set Sector 1
> LD A,11 ; SETSEC
> CALL BIOS
> LD BC,buffer
> LD A,12 ; SETDMA
> CALL BIOS
> LD A.13 ; READ
> CALL BIOS
> Then I dump the first 16 bytes of the data but it is all E5s
> What am I doing wrong here?
> Neither the SELDSK nor the READ report an error.
> I also tried Sector 11H as ZSystem uses this as the first sector number
> of a track.
>
> Thanks,
>
> Josef
> NB This is on an SB180FX which has a hard disk occupying drives A..D,
> then a GoTek floppy emulator as floppy drive 0/drive E:, a 3½" drive as
> drive 1/F: and a 5¼" drive as drive 2/G:.
My bad... these are BIOS calls - 4 *is* E:

Re: Trying to read a physical disk

<j9r23eFe5klU1@mid.individual.net>

  copy mid

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

  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: Trying to read a physical disk
Date: Mon, 21 Mar 2022 11:24:46 +0100
Lines: 222
Message-ID: <j9r23eFe5klU1@mid.individual.net>
References: <j9j4pbFsne5U1@mid.individual.net> <t12k4t$8rd$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net FPVNbuadsflX4mPebhQTrQzD1UVDEyWLwoYvXRq1olcpte4J0Z
Cancel-Lock: sha1:ng0ETAECyGmslXEC7TMow9b1eMA=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Content-Language: en-US
In-Reply-To: <t12k4t$8rd$1@gioia.aioe.org>
 by: Josef Moellers - Mon, 21 Mar 2022 10:24 UTC

On 18.03.22 19:47, Martin wrote:
> Am 03/18/2022 11:21 AM, Josef Moellers schrieb:
>>
>> Hi,
>> I'm trying to read a physical disk to get an image of the disk
>> I have changed the first couple of bytes of the image to identify the
>> disk, but I still get E5s.
>> As a test, I'm trying to read just the very first sector off the disk, I
>> do:
>>      LD    C,4    ; select drive E:
>>      LD    A,9    ; SELDSK
>>      CALL    BIOS
>>      LD    BC,0    ; Set Track 0
>>      LD    A,10    ; SETTRK
>>      CALL    BIOS
>>      LD    BC,1H    ; Set Sector 1
>>      LD    A,11    ; SETSEC
>>      CALL    BIOS
>>      LD    BC,buffer
>>      LD    A,12    ; SETDMA
>>      CALL    BIOS
>>      LD    A.13    ; READ
>>      CALL    BIOS
>> Then I dump the first 16 bytes of the data but it is all E5s
>> What am I doing wrong here?
>> Neither the SELDSK nor the READ report an error.
>> I also tried Sector 11H as ZSystem uses this as the first sector number
>> of a track.
>>
>> Thanks,
>>
>> Josef
>> NB This is on an SB180FX which has a hard disk occupying drives A..D,
>> then a GoTek floppy emulator as floppy drive 0/drive E:, a 3½" drive as
>> drive 1/F: and a 5¼" drive as drive 2/G:.
>
>
> You don't call SECTRAN, so the sector number is "physical",
> it can be any number the hardware needs to get.

Hm, here's something I don't understand:
The native floppy format of the SB180FX is 5spt, 1024bps, the first
physical sector on each track being 11H.
If I issue a READ, I get "only" 128 bytes. I have to issue 40 READs with
increasing sector numbers (0..39) until I get an error reported back
from READ, register A being non-0 on return from "CALL BIOS", a function
in syslib.
So the sector number that I pass to SETSEC cannot be a "number the
hardware needs to get". These would be 11H..15H.
Also, I do not specify the head, so I assume that the least significant
bit in the track number is the head number.

> You need to find out this physical sector number first and
> pass that to SETSEC.

As the GoTec adapter has no disk rotating, my disk images are just
logical linear dumps of the disks (*). Therefore, I have not specified
any skew factor.

I think I will need to adapt my code when I read from a physical floppy
disk. My intention of this whole game is to store all physical floppy
disks as images on the USB stick and not need the old drives ever again.

> There is a very good sector editor called "the disk inspector",
> which just didn't work on my 0-based system.

The SB180FX came with DU3, a "Disk Utility".
I have the CP/M CDROM from Walnut Creek which has SRW150.LBR,
"Memory/Disk inspector/modifier", is this what you refer to?

> This program is *so* useful, I had to look inside and came up
> with a quick and dirty patch to fix it.
>
> Here is the relevant part of the code disasssembled.
>
> I hope, you can read it and peruse the modification I made.

I'll have a look, thanks.

Josef

(*) Those I produced using the SB180FX monitor driven by an PERL/EXPECT
script: in a PERL loop: starting with sector 1, read the next sector to
8000H, then dump 8000,83FF.

> $ cat INFO_inspect_2.x_self_adapting_sector_number_base_fix.diffs
> ================
> INFO: VERSION 2.1: ADDRESS 226a
> INFO: VERSION 2.1: ADDRESS 281f
> INFO: VERSION 2.2: ADDRESS 2a15
> ================
>
> ================
> INFO: SELECT DISK AND FILL SECTOR DESCRIPTOR RECORD
> INFO: IY: ADDRESS OF SECTOR DESCRIPTOR FOR
> INFO: UPPER SECTOR (015eh)/LOWER SECTOR (0177h)
> INFO: +00h: DRIVE
> INFO: +01h/02h: TRACK
> INFO: +03H/04H: SECTOR
> INFO: +05H/06H: BLOCK
> INFO: +07H/08H: ALV
> INFO: +09H: SELECTED DRIVE
> INFO: +0ah/0bH: CKS
> INFO: +0ch/0dH:    LAST TRACK + 1
> INFO: +0eh/0fh:    SPT
> ----
> 29e6 fd 4e 00    LD C,(IY+00)    ;DISK DRIVE
> 29e9 00          NOP        ;UNKNOWN PATCHED OUT
> 29ea 00          NOP
> 29eb 00          NOP
> 29ec 1e 01       LD E,001    ;NOT FIRST SELECT
> 29ee 21 1b 00    LD HL,001b    ;SELECT DISK DRIVE
> 29f1 cd 54 0d    CALL 0d54    ;CALL BIOS
>
> 29f4 16 00       LD D,000
> 29f6 1e 00       LD E,000
> 29f8 b7          OR A
> 29f9 ed 5a       ADC HL,DE
> 29fb ca a0 2a    JP Z,2aa0    ;SELECT ERROR
>
> 29fe e5          PUSH HL
> 29ff dd e1       POP IX    ;DPH PTR IN IX
>
> 2a01 dd 5e 00    LD E,(IX+00)    ;XLT (OR 0000h)
> 2a04 dd 56 01    LD D,(IX+01)
> 2a07 fd 73 12    LD (IY+12),E
> 2a0a fd 72 13    LD (IY+13),D
>
> 2a0d af          XOR A        ;LOWEST SECTOR NUMBER
> 2a0e fd 77 17    LD (IY+17),A
>
> 2a11 7a          LD A,D
> 2a12 b3          OR E
> 2a13 28 05       JR Z,2a1a    ;NO TRANSLATION
> ================
> INFO: OLD: HARD CODED SECTOR NUMBER BASE 01H
> <<<    2a15 3e 01       LD A,001
> ================
> INFO: NEW: ASSUME XLT STARTS WITH THE LOWEST SECTOR NUMBER
> INFO: NEW: USE IT AS SELF-ADAPTING SECTOR NUMBER BASE
> >>>    2a15 1a          LD A,(DE)
> >>>    2a16 00          NOP
> ================
> 2a17 fd 77 17    LD (IY+17),A
>
> 2a1a dd 5e 0e    LD E,(IX+0e)    ;ALV
> 2a1d dd 56 0f    LD D,(IX+0f)
> 2a20 fd 73 07    LD (IY+07),E
> 2a23 fd 72 08    LD (IY+08),D
>
> 2a26 dd 5e 0a    LD E,(IX+0a)    ;DPB
> 2a29 dd 56 0b    LD D,(IX+0b)
> 2a2c d5          PUSH DE
> 2a2d dd e1       POP IX    ;DPB PTR IN IX
>
> 2a2f dd 7e 00    LD A,(IX+00)    ;SPT
> 2a32 fd 77 0e    LD (IY+0e),A
> 2a35 dd 7e 01    LD A,(IX+01)
> 2a38 fd 77 0f    LD (IY+0f),A
>
> 2a3b dd 7e 0d    LD A,(IX+0d)    ;OFF
> 2a3e fd 77 14    LD (IY+14),A
> 2a41 dd 7e 0e    LD A,(IX+0e)
> 2a44 fd 77 15    LD (IY+15),A
>
> 2a47 dd 7e 02    LD A,(IX+02)    ;BSH
> 2a4a fd 77 16    LD (IY+16),A
>
> 2a4d dd 7e 05    LD A,(IX+05)    ;DSM
> 2a50 fd 77 10    LD (IY+10),A
> 2a53 dd 7e 06    LD A,(IX+06)
> 2a56 fd 77 11    LD (IY+11),A
>
> 2a59 fd 46 16    LD B,(IY+16)    ;BSH
> 2a5c fd 66 11    LD H,(IY+11)    ;DSM
> 2a5f fd 6e 10    LD L,(IY+10)
> 2a62 23          INC HL            ;#BLOCKS
> 2a63 29          ADD HL,HL
> 2a64 10 fd       DJNZ 2a63
> 2a66 7c          LD A,H
> 2a67 b5          OR L
> 2a68 20 03       JR NZ,2a6d
> 2a6a 21 ff ff    LD HL,ffff        ;FFFF, IF (1)0000H
>
> 2a6d fd 56 0f    LD D,(IY+0f)    ;SPT
> 2a70 fd 5e 0e    LD E,(IY+0e)
> 2a73 01 00 00    LD BC,0000
> 2a76 03          INC BC            ;CALC #TRACKS
> 2a77 ed 52       SBC HL,DE
> 2a79 28 02       JR Z,2a7d
> 2a7b 30 f9       JR NC,2a76
>
> 2a7d c5          PUSH BC
> 2a7e e1          POP HL            ;#TRACKS
>
> 2a7f fd 56 15    LD D,(IY+15)    ;OFF
> 2a82 fd 5e 14    LD E,(IY+14)
> 2a85 af          XOR A
> 2a86 ba          CP D
> 2a87 20 06       JR NZ,2a8f
> 2a89 3e 04       LD A,004
> 2a8b bb          CP E
> 2a8c 38 01       JR C,2a8f
> 2a8e 19          ADD HL,DE    ;IF OFF<=0004H ADD OFF
> 2a8f fd 75 0c    LD (IY+0c),L
> 2a92 fd 74 0d    LD (IY+0d),H
>
> 2a95 fd 7e 00    LD A,(IY+00)    ;DISK DRIVE
> 2a98 32 a9 2a    LD (2aa9),A
> 2a9b fd 77 09    LD (IY+09),A    ;DRIVE
> 2a9e af          XOR A    ;NO ERROR
> 2a9f c9          RET
>
> 2aa0 3e ff       LD A,0ff    ;INVALID
> 2aa2 32 a9 2a    LD (2aa9),A
> 2aa5 3e 02       LD A,002    ;ERROR #2
> 2aa7 b7          OR A
> 2aa8 c9          RET
> ================
>
>

Re: Trying to read a physical disk

<733e5bed-8a26-467e-959c-ea71b53204d6n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:5284:b0:42c:8d98:53ee with SMTP id kj4-20020a056214528400b0042c8d9853eemr16417234qvb.114.1647876533761;
Mon, 21 Mar 2022 08:28:53 -0700 (PDT)
X-Received: by 2002:a05:6830:4188:b0:5cd:9272:326a with SMTP id
r8-20020a056830418800b005cd9272326amr1250343otu.102.1647876530380; Mon, 21
Mar 2022 08:28: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: Mon, 21 Mar 2022 08:28:50 -0700 (PDT)
In-Reply-To: <j9r23eFe5klU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=89.245.72.132; posting-account=RHtB3AoAAABZlu_FJY7ySUmJrtfW41bO
NNTP-Posting-Host: 89.245.72.132
References: <j9j4pbFsne5U1@mid.individual.net> <t12k4t$8rd$1@gioia.aioe.org> <j9r23eFe5klU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <733e5bed-8a26-467e-959c-ea71b53204d6n@googlegroups.com>
Subject: Re: Trying to read a physical disk
From: udo.m...@freenet.de (Udo Munk)
Injection-Date: Mon, 21 Mar 2022 15:28:53 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 3
 by: Udo Munk - Mon, 21 Mar 2022 15:28 UTC

CPM 2 only knows about disks with 128 bytes per sector. If the physical size of a sector is something else
the BIOS must do a translation. In your code sniped you are not calling the SECTRAN routine, which would
return the physical sector you need to address on the disk, so you would have to calculate that your self.
Would be easier to call SECTRAN before SETSEC, I assume your BIOS works and knows what it is doing.

Re: Trying to read a physical disk

<t1akkn$1vk8$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!aioe.org!qgFmX3WltC72OAdCqV0RXA.user.46.165.242.75.POSTED!not-for-mail
From: this.is....@so.its.invalid (Martin)
Newsgroups: comp.os.cpm
Subject: Re: Trying to read a physical disk
Date: Mon, 21 Mar 2022 20:44:41 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t1akkn$1vk8$1@gioia.aioe.org>
References: <j9j4pbFsne5U1@mid.individual.net> <t12k4t$8rd$1@gioia.aioe.org> <j9r23eFe5klU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="65160"; posting-host="qgFmX3WltC72OAdCqV0RXA.user.gioia.aioe.org"; mail-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 - Mon, 21 Mar 2022 19:44 UTC

Am 03/21/2022 11:24 AM, Josef Moellers schrieb:
> On 18.03.22 19:47, Martin wrote:
>> Am 03/18/2022 11:21 AM, Josef Moellers schrieb:
>>>
>>> Hi,
>>> I'm trying to read a physical disk to get an image of the disk
>>> I have changed the first couple of bytes of the image to identify the
>>> disk, but I still get E5s.
>>> As a test, I'm trying to read just the very first sector off the disk, I
>>> do:
>>> LD C,4 ; select drive E:
>>> LD A,9 ; SELDSK
>>> CALL BIOS
>>> LD BC,0 ; Set Track 0
>>> LD A,10 ; SETTRK
>>> CALL BIOS
>>> LD BC,1H ; Set Sector 1
>>> LD A,11 ; SETSEC
>>> CALL BIOS
>>> LD BC,buffer
>>> LD A,12 ; SETDMA
>>> CALL BIOS
>>> LD A.13 ; READ
>>> CALL BIOS
>>> Then I dump the first 16 bytes of the data but it is all E5s
>>> What am I doing wrong here?
>>> Neither the SELDSK nor the READ report an error.
>>> I also tried Sector 11H as ZSystem uses this as the first sector number
>>> of a track.
>>>
>>> Thanks,
>>>
>>> Josef
>>> NB This is on an SB180FX which has a hard disk occupying drives A..D,
>>> then a GoTek floppy emulator as floppy drive 0/drive E:, a 3½" drive as
>>> drive 1/F: and a 5¼" drive as drive 2/G:.
>>
>>
>> You don't call SECTRAN, so the sector number is "physical",
>> it can be any number the hardware needs to get.
>
> Hm, here's something I don't understand:
> The native floppy format of the SB180FX is 5spt, 1024bps, the first
> physical sector on each track being 11H.
> If I issue a READ, I get "only" 128 bytes. I have to issue 40 READs with
> increasing sector numbers (0..39) until I get an error reported back
> from READ, register A being non-0 on return from "CALL BIOS", a function
> in syslib.
> So the sector number that I pass to SETSEC cannot be a "number the
> hardware needs to get". These would be 11H..15H.
> Also, I do not specify the head, so I assume that the least significant
> bit in the track number is the head number.
>

The value passed to SETSEC then is a value which makes it easier
for the BIOS to translate to the final physical value
in the deblocking routine.

>> You need to find out this physical sector number first and
>> pass that to SETSEC.
>
> As the GoTec adapter has no disk rotating, my disk images are just
> logical linear dumps of the disks (*). Therefore, I have not specified
> any skew factor.
>
> I think I will need to adapt my code when I read from a physical floppy
> disk. My intention of this whole game is to store all physical floppy
> disks as images on the USB stick and not need the old drives ever again.
>

If you want to read your floppy disks to convert them into images, it
is important to read the tracks itself in logical ascending order and
within each track the sectors in logical (linear) order by calling
SECTRAN.

You get a linear filesystem image which is more easily adaptable to any
system or emulator you will get.

If you are only interested in the CP/M filesystem itself, then you start
copying with the first data track leaving the system tracks out.

But don't forget to keep several complete sets of your system disks!

>> There is a very good sector editor called "the disk inspector",
>> which just didn't work on my 0-based system.
>
> The SB180FX came with DU3, a "Disk Utility".
> I have the CP/M CDROM from Walnut Creek which has SRW150.LBR,
> "Memory/Disk inspector/modifier", is this what you refer to?
>

Its "inspect.com" inside
<http://cpmarchives.classiccmp.org/trs80/Software/cpm/2006/Unsorted/cpm1.zip>

The Disk Inspector
Written by Graham Campbell

A review is in "Micro Cornucopia #10 2/83"

>> This program is *so* useful, I had to look inside and came up
>> with a quick and dirty patch to fix it.
>>
>> Here is the relevant part of the code disasssembled.
>>
>> I hope, you can read it and peruse the modification I made.
>
> I'll have a look, thanks.
>
> Josef
>
> (*) Those I produced using the SB180FX monitor driven by an PERL/EXPECT
> script: in a PERL loop: starting with sector 1, read the next sector to
> 8000H, then dump 8000,83FF.
>

Re: Trying to read a physical disk

<t1b954$425$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!aioe.org!qgFmX3WltC72OAdCqV0RXA.user.46.165.242.75.POSTED!not-for-mail
From: this.is....@so.its.invalid (Martin)
Newsgroups: comp.os.cpm
Subject: Re: Trying to read a physical disk
Date: Tue, 22 Mar 2022 02:34:46 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t1b954$425$1@gioia.aioe.org>
References: <j9j4pbFsne5U1@mid.individual.net> <t12k4t$8rd$1@gioia.aioe.org> <j9r23eFe5klU1@mid.individual.net> <t1akkn$1vk8$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="4165"; posting-host="qgFmX3WltC72OAdCqV0RXA.user.gioia.aioe.org"; mail-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 - Tue, 22 Mar 2022 01:34 UTC

Am 03/21/2022 08:44 PM, Martin schrieb:
>>> You don't call SECTRAN, so the sector number is "physical",
>>> it can be any number the hardware needs to get.
>>
>> Hm, here's something I don't understand:
>> The native floppy format of the SB180FX is 5spt, 1024bps, the first
>> physical sector on each track being 11H.
>> If I issue a READ, I get "only" 128 bytes. I have to issue 40 READs with
>> increasing sector numbers (0..39) until I get an error reported back
>> from READ, register A being non-0 on return from "CALL BIOS", a function
>> in syslib.
>> So the sector number that I pass to SETSEC cannot be a "number the
>> hardware needs to get". These would be 11H..15H.
>> Also, I do not specify the head, so I assume that the least significant
>> bit in the track number is the head number.
>>
>
> The value passed to SETSEC then is a value which makes it easier
> for the BIOS to translate to the final physical value
> in the deblocking routine.
>

BTW, my 0-based translation table looks like:

; sector translate vector
TRANS: DB 0,1,4,5
DB 8,9,12,13
DB 16,17,2,3
DB 6,7,10,11
DB 14,15,18,19

The deblocking and the sector skew is clearly visible.

Re: Trying to read a physical disk

<j9tc2tFrp6tU1@mid.individual.net>

  copy mid

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

  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: Trying to read a physical disk
Date: Tue, 22 Mar 2022 08:27:25 +0100
Lines: 37
Message-ID: <j9tc2tFrp6tU1@mid.individual.net>
References: <j9j4pbFsne5U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net Jw+NJuu12CSrB6W97hF9KAK+rRfYwQCllGtYtMBfH+1KUd1Au+
Cancel-Lock: sha1:Ru8wOt2HHEiF62GErpLW3cqNGBs=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Content-Language: en-US
In-Reply-To: <j9j4pbFsne5U1@mid.individual.net>
 by: Josef Moellers - Tue, 22 Mar 2022 07:27 UTC

Mooi'n,

On 18.03.22 11:21, Josef Moellers wrote:
[...]

Thanks Udo, Martin, Fridtjof for the help you provided and the insight I
got from that.

I have stepped back a few paces and have thought about what exactly I
was trying to achieve: I want to get rid of the mechanical floppy disk
drives and have all the floppies that I still have from way back when I
bought the SB180FX and played around with it on another medium,
especially on the USB stick in the GoTek.

However, it occurred to me that whatever I was trying to actually do
would be way too complicated because once I have an image on my "hard
disk" (a parallel-SCSI connected flash disk), I need to transfer it to
my Linux box to then put it onto the USB stick. The transfer would not
be too complicated if I had a serial line so I could use any of the
transfer protocols [xyz]modem or even kermit, but my connection is
through an XPORT, a LAN-to-serial (or was it serial-to-LAN?) adapter. I
have compiled minicom to work with a network connection, so this setup
works but it cannot do the file transfers because the connection is not
a real serial line and thus cannot be easily shared between the "use"
connection and the "transfer" connection.

A way simpler solution is to create an empty image on the stick, switch
the GoTek to that image and then just use a disk copy program to
transfer the floppy disk's contents to the image or, as an alternative,
create a CP/M filesystem (mkfs.cpm) and just copy all the files over.

So I will leave this project as it is.

Thanks again,

Josef

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor