Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"The only way for a reporter to look at a politician is down." -- H. L. Mencken


devel / comp.os.cpm / Help needed with understanding how to look at and add/extract files from Epson QX10 images

SubjectAuthor
* Help needed with understanding how to look at and add/extract filesrwd...@gmail.com
`- Re: Help needed with understanding how to look at and add/extractldkr...@gmail.com

1
Help needed with understanding how to look at and add/extract files from Epson QX10 images

<eeedbd5d-5b50-4aba-bda8-26ecc823e432n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:94:: with SMTP id o20mr9133285qtw.158.1619876976648;
Sat, 01 May 2021 06:49:36 -0700 (PDT)
X-Received: by 2002:a9d:3e1b:: with SMTP id a27mr8046407otd.101.1619876976197;
Sat, 01 May 2021 06:49:36 -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, 1 May 2021 06:49:35 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23c6:e20b:ce00:d9dc:7e1e:d563:9c66;
posting-account=QRaRpQoAAAAAa6T9BMU2_8duN2L8AmC_
NNTP-Posting-Host: 2a00:23c6:e20b:ce00:d9dc:7e1e:d563:9c66
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <eeedbd5d-5b50-4aba-bda8-26ecc823e432n@googlegroups.com>
Subject: Help needed with understanding how to look at and add/extract files
from Epson QX10 images
From: rwde...@gmail.com (rwd...@gmail.com)
Injection-Date: Sat, 01 May 2021 13:49:36 +0000
Content-Type: text/plain; charset="UTF-8"
 by: rwd...@gmail.com - Sat, 1 May 2021 13:49 UTC

I wish to be able to add files to, and extract from two Epson QX10 floppy images.

I thought I was familiar with cpmtools but not been able to solve.

The images are PT5000C1.IMD (378k) and CPM22M1.TD0 (141k). They have software relating to Epson QX-10.

The TD0 file is readable and bootable with the Epson Qx-10 emulator. The emulator did not handle the IMD file.

The IMD file contains PeachText (Magic Wand) v2.02 configured for QX-10, i.e. Print.com will print to Epson matrix printer, and edit.com should work on screen and keyboard of the QX-1- emulator. (The IBM PCDOS flavour doc for v2.02 is applicable)

I want to get these working in the TD0 image under the emulator to verify the edit.com, after disassembly and rebuild, prior to working to the goal of modifying edit.com to work on RC2014 with VT100/Xterm

The v1.11 Magicwand on www.durgadas.com has a patched version for xterm, but the few hundred bytes of patch code are not identical, the number of entry points differs, and the locations have moved slightly.

Can anyone offer suggestions as to the command line parameters for cpmtools with and without libdisk, and for any other tool (e.g. IMD) which allow me to add, remove and dir?
I would add the two files but google groups in Chrome has hidden that, perhaps I can add from gmail in a few minutes.

Richard

..

Re: Help needed with understanding how to look at and add/extract files from Epson QX10 images

<7c9e1705-7c4e-45d8-bb01-c1fa1187d12an@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:411:: with SMTP id 17mr12318608qkp.481.1619917893577;
Sat, 01 May 2021 18:11:33 -0700 (PDT)
X-Received: by 2002:aca:f44c:: with SMTP id s73mr549991oih.142.1619917893238;
Sat, 01 May 2021 18:11:33 -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, 1 May 2021 18:11:33 -0700 (PDT)
In-Reply-To: <eeedbd5d-5b50-4aba-bda8-26ecc823e432n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=172.58.83.69; posting-account=vgtDDgoAAAD79vzJigFqI2FioZJCfmjs
NNTP-Posting-Host: 172.58.83.69
References: <eeedbd5d-5b50-4aba-bda8-26ecc823e432n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7c9e1705-7c4e-45d8-bb01-c1fa1187d12an@googlegroups.com>
Subject: Re: Help needed with understanding how to look at and add/extract
files from Epson QX10 images
From: ldkrae...@gmail.com (ldkr...@gmail.com)
Injection-Date: Sun, 02 May 2021 01:11:33 +0000
Content-Type: text/plain; charset="UTF-8"
 by: ldkr...@gmail.com - Sun, 2 May 2021 01:11 UTC

Richard,
You need a DOS Based computer or DOS running on Virtualbox, or DOSBox running on Linux.
I use DosBox on Debian 9.x 64 Bit.

1. Download and extract Dave Dunfield's utilities from his website:
[url]http://dunfield.classiccmp.org/img/index.htm[/url]

You will use his Utilities: TD02IMD, IMDA, and IMDU in a batch file under DOS. I use DOS 7.1
from a Windows install.
2. Create the DOS Batch file for the two files you named, I use A.BAT
A.BAT contains

TD02IMD CPM22M1.TD0 > CPM22M1.TXT

IMDA PT5000C1.IMD > PT5000C1.TXT
IMDA CPM22M1.IMD >> COM22M1.TXT

IMDU PT5000C1.IMD PT5000C1.RAW /B /E /D >> PT5000C1.TXT
IMDU CPM22M1.IMD CPM22M1.RAW /B /E /D >> CPM22M1.TXT

3. Copy the A.BAT files along with the *.TD0 and/or *.IMD files you are going to work on to the
DOS Subdirectory. Also copy IMDA.* IMDU.* TD02IMD.* and BIN2IMD.*

4. Run "A.BAT"
When it is don you will have the *.IMD and *.RAW files. The .RAW are the Sector Dumps of the Floppy
Image. You use the .RAW to extract and insert your required files with cpmtools, or cpmtools built
with libdsk.

5. Floppy Definitions are here for Windows, MAC, and Linux:
[code]
BEGIN EPS1 Epson QX-10 - DSDD 48 tpi 5.25" - 512 x 10
INSERT 22DISK DEFINITION HERE
END

# EPS1 Epson QX-10 - DSDD 48 tpi 5.25" - 512 x 10
diskdef eps1
seclen 512
tracks 80
sectrk 10
blocksize 2048
maxdir 128
skew 1
boottrk 4
os 2.2
end

# libdsk data below
[eps1]
description = EPS1 Epson QX-10 - DSDD 48 tpi 5.25" - 512 x 10
sides = alt
cylinders = 80
heads = 2
secsize = 512
sectors = 10
secbase = 1
datarate = DD

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

BEGIN EPS2 Epson QX-10 - DSDD 48 tpi 5.25" - 256 x 16
INSERT 22DISK DEFINITION HERE
END

# EPS2 Epson QX-10 - DSDD 48 tpi 5.25" - 256 x 16
diskdef eps2
seclen 256
tracks 80
sectrk 16
blocksize 2048
maxdir 64
skew 1
boottrk 8
os 2.2
end

# libdsk data below
[eps2]
description = EPS2 Epson QX-10 - DSDD 48 tpi 5.25" - 256 x 16
sides = alt
cylinders = 80
heads = 2
secsize = 256
sectors = 16
secbase = 1
datarate = DD

#Flashfloppy/GOTEK
[esp2]
cyls = 80
heads = 2
secs = 16
interleave = 1
bps = 256
id = 1
#rpm = 360
rpm = 300
rate = 250
mode = mfm
iam = no

BEGIN EPS3 Epson PX-10/8 - DSDD 3.5" - 512 x 8
INSERT 22DISK DEFINITION HERE
END

# EPS3 Epson PX-10/8 - DSDD 3.5" - 512 x 8
diskdef eps3
seclen 512
tracks 80
sectrk 8
blocksize 2048
maxdir 64
skew 1
boottrk 8
os 2.2
end

# libdsk data below
[eps3]
description = EPS3 Epson PX-10/8 - DSDD 3.5" - 512 x 8
sides = alt
cylinders = 80
heads = 2
secsize = 512
sectors = 8
secbase = 1
datarate = DD

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

BEGIN EPS4 Epson QX-16 640K - DSDD 3.5" - 256 x 16
INSERT 22DISK DEFINITION HERE
END

# EPS4 Epson QX-16 640K - DSDD 3.5" - 256 x 16
diskdef eps4
seclen 256
tracks 160
sectrk 16
blocksize 2048
maxdir 128
skew 1
boottrk 8
os 2.2
end

# libdsk data below
[eps4]
description = EPS4 Epson QX-16 640K - DSDD 3.5" - 256 x 16
sides = alt
cylinders = 160
heads = 2
secsize = 256
sectors = 16
secbase = 1
datarate = DD

#Flashfloppy/GOTEK
[esp4]
cyls = 160
heads = 2
secs = 16
interleave = 1
bps = 256
id = 1
#rpm = 360
rpm = 300
rate = 250
mode = mfm
iam = no

BEGIN EPS5 Epson QX-16 - DSDD 96 tpi 5.25" - 512 x 10
INSERT 22DISK DEFINITION HERE
END

# EPS5 Epson QX-16 - DSDD 96 tpi 5.25" - 512 x 10
diskdef eps5
seclen 512
tracks 160
sectrk 10
blocksize 2048
maxdir 256
skew 1
boottrk 4
os 2.2
end

# libdsk data below
[eps5]
description = EPS5 Epson QX-16 - DSDD 96 tpi 5.25" - 512 x 10
sides = alt
cylinders = 160
heads = 2
secsize = 512
sectors = 10
secbase = 1
datarate = DD

#Flashfloppy/GOTEK
[esp5]
cyls = 160
heads = 2
secs = 10
interleave = 1
bps = 512
id = 1
#rpm = 360
rpm = 300
rate = 250
mode = mfm
iam = no
[/code]

6. Access the Directory Listings of *.RAW image(s) with cpmtools or cpmtools built with libdsk:
$ cpmls -f eps1 -D CPM22M1.RAW
$ cpmls -f eps2 -D CPM22M1.RAW
$ cpmls -f eps3 -D PT5000C1.RAW

$ cpmls -f eps1 -T raw,eps1 -D CPM22M1.RAW
$ cpmls -f eps2 -T raw,eps2 -D CPM22M1.RAW
$ cpmls -f eps3 -T raw,eps3 -D PT5000C1.RAW

If the Image uses sides = OUTOUT or OUTBACK versus ALT use the following:
$ cpmls -f eps1 -T rawoo,eps1 -D CPM22M1.RAW
$ cpmls -f eps2 -T rawob,eps2 -D CPM22M1.RAW

7. Copy files from *.RAW to a certain PC path from USER 1 or USER 0
$ cpmcp -f eps1 CPM22M1.RAW 1:*.ASM ./home/larry/path/to/file/storage/area/
$ cpmcp -f eps2 CPM22M1.RAW 0:*.com ./home/larry/IMDs/EPSON/cpm22/
$ cpmcp -f eps3 PT5000C1.RAW 0:*.* ./home/larry/path/to/files/folder/

8. Copy files from PC certain path to USER 1 or USER 0
$ cpmcp -f eps1 CPM22M1.RAW C:\file\storage\area\*.asm 1:
$ cpmcp -f eps2 CPM22M1.RAW C:\path\to\com\files\*.com 0:
$ cpmcp -f eps3 PT5000C1.RAW C:\file\storage\area\1\*.* 0:

9. Then you will need to use BIN2IMD to build a new IMD file to write to Floppy for accessing the files.

Larry

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor