• Please review our updated Terms and Rules here

CPM 8" DSDD .imd decode

Ragnarock

Experienced Member
Joined
Sep 15, 2017
Messages
261
Location
Texas
Would someone care to solve parameters for this IBEX7301.IMD ?
I've tried everything I can think of and calculate.
I can get close enough to DIR with 22DISK but can't copy or TYPE files with 22DISK.
This is a disk worth preserving.

So far I know:
CPM 2.2 for IBEX 7301 computer
8"
Double sided
77 tracks
First cyl is 26x128
All other tracks are 26x256
1:1 interleave
Directory starts on the 3rd track
Order Cylinders
BSH 5 BLM 31 EXM 0?? DSM 242??? DRM 63??? AL0 080H??? AL1 0 OFS 2
I think the allocation size is 4096

 
Is this a Floppy that was written by the IBEX computer or did you write it some other way?
22DISK has a Definition in the REGISTERED Definitions.

I've tried looking at it with cpmtools built with libdsk, but for some reason it doesn't detect
all the files when I get a directory listing. It is supposed to use the RAW OUT BACK
switch for libdsk.

Larry
 
The ONLY way I can get a partial directory listing is to use libdsk to convert the *.IMD
to *.RAW, using dskconv.

Code:
dskconv -itype imd -otype rawob -format ibx2 IBEX7301.IMD TEST.RAW
with a libdsk definition of:

.libdskrc
Code:
[ibx2]
description = IBX2  IBEX 7301 - DSDD 8" - 256 x 26
#sides = alt
sides = outback
cylinders = 154
heads = 2
secsize = 256
sectors = 26
secbase = 1
datarate = ED

TEST.RAW is:
Code:
$ ls -alt TEST.RAW
-rw-r--r-- 1 larry larry 2050048 Sep 28 09:04 TEST.RAW

cpmls shows the directory has the following files:

Code:
$ cpmls -f ibx2 -T rawob,ibx2 -D TEST.RAW
     Name    Bytes   Recs  Attr     update             create
------------ ------ ------ ---- -----------------  -----------------
ASM     .COM     8K     64   
BAK7301 .COM     4K     21   
BIOS73E .ASM    20K    155   
BIOS73E .HEX     8K     54   
BIOS73E .PRN    68K    513   
BIOS73E .SYM     4K     28   
BOOT    .COM     4K     11   
COPY    .COM     4K     14   
CPM7300 .COM    16K     98   
CPM73GR .COM    16K     98   
CRUN2   .COM    20K    132   
DDT     .COM     8K     39   
DISKDEF .LIB     8K     49   
DSKINITL.COM     4K     13   
DSSYS73 .COM    12K     94   
DUMP    .COM     4K      6   
ED      .COM     8K     53   
FMT     .COM     4K     16   
FMT128  .COM     4K     14   
JOB73E  .LIB    12K     66   
LOAD    .COM     4K     15   
MAC     .COM    12K     92   
MBASIC  .COM    24K    190   
MOVCPM  .COM    12K     76   
NOTES   .        4K      6   
PIP     .COM     8K     60   
RCLOCK  .BAS     4K      7   
REVIEW  .COM     4K      5   
S7300E  .LIB     8K     34   
SD      .COM     4K     10   
SEQDWN  .COM     4K      2   
SR      .COM     4K     15   
STAT    .COM     8K     52   
SUBMIT  .COM     4K     14   
SYS73E  .LIB     4K     19   
SYSG7300.SUB     4K      1   
SYSGEN  .COM     4K      6   
TCSLIB  .LIB     8K     41   
TOD     .COM     4K      3   
WCLOCK  .BAS     4K      7   
XFER    .SUB     4K      3   
XSUB    .COM     4K      7   
XTX     .COM     4K     32   
   43 Files occupying    380K,     616K Free.

The ibx2 definition is:
Code:
# IBX2  IBEX 7301 - DSDD 8" - 256 x 26
diskdef ibx2
  seclen 256
  tracks 154
  sectrk 26
  blocksize 4096
  maxdir 128
  skew 6
  offset 13312
#  offset 9984
#  offset 23296
  boottrk 0
#  boottrk 4
  os 2.2
end

But, that doesn't mean the files will extract SANE.

Larry
 
Is this a Floppy that was written by the IBEX computer or did you write it some other way?
22DISK has a Definition in the REGISTERED Definitions.
This .IMD file was created using Imagedisk and an SA850 drive reading a diskette that was written by my IBEX machine 40 years ago.
I'm trying to preserve some old disks and want to use 22DISK but need a definition that works. I've gotten as far as getting a DIR.

IBEX 7202 was the dual 8" 1.2m FD system.
IBEX 7301 was the HD system with 1 FD.

IBEX allowed 2 types of disks to be written and I have some of both:
#1 DSDD 26x256, except first 2 tracks are SD 26x128, directory right after the first 2 boot tracks.
#2 DSDD 8x1024, with 2? tracks SD 26x128, directory is on track 37, skew 1,4,6,2,5,8,3,6

Here is one of the #2 images:

I've spent a week trying different definitions and have run out of options.

If you think this disk image is somehow bad, I have others.

Thanks for your help
 
No, it's not bad as far as I know. I downloaded the IBEX7301.TD0 file and used libdsk and cpmtools
to convert it to an image that I finally got accessed. I stripped the *.TXT and *.SUB files into folders
and they are SANE. There is a README.1st on how I did it. (Of course I used Linux versus that other
OS.) The README.1st has the definitions I used and the commands for converting using libdsk.

I've attached a ZIP with the Files. You can write the .RAW (Sector Dump) with DD in Linux, or raw write
in Windows. Or you can create an IMD file, and write it with IMAGEDISK by Dave Dunfield.
If you have a Greaseweazle I can create a *.SCP flux image, and the greaseweazle will write that.

If you need others converted I can do that pretty easily, but it won't be this afternoon.
(I don't have any 8" drives or 8" floppy's.).

Lots of options.

TUTORIAL on the Debian Forum: (It will be like getting a sip of water from a 4" line!)

Off to a Funeral.....


Larry
 

Attachments

  • IBEX7301.zip
    639 KB · Views: 5
Last edited:
The ONLY way I can get a partial directory listing is to use libdsk to convert the *.IMD
to *.RAW, using dskconv.

Code:
dskconv -itype imd -otype rawob -format ibx2 IBEX7301.IMD TEST.RAW
with a libdsk definition of:

.libdskrc
Code:
[ibx2]
description = IBX2  IBEX 7301 - DSDD 8" - 256 x 26
#sides = alt
sides = outback
cylinders = 154
heads = 2
secsize = 256
sectors = 26
secbase = 1
datarate = ED

TEST.RAW is:
Code:
$ ls -alt TEST.RAW
-rw-r--r-- 1 larry larry 2050048 Sep 28 09:04 TEST.RAW

cpmls shows the directory has the following files:

Code:
$ cpmls -f ibx2 -T rawob,ibx2 -D TEST.RAW
     Name    Bytes   Recs  Attr     update             create
------------ ------ ------ ---- -----------------  -----------------
ASM     .COM     8K     64  
BAK7301 .COM     4K     21  
BIOS73E .ASM    20K    155  
BIOS73E .HEX     8K     54  
BIOS73E .PRN    68K    513  
BIOS73E .SYM     4K     28  
BOOT    .COM     4K     11  
COPY    .COM     4K     14  
CPM7300 .COM    16K     98  
CPM73GR .COM    16K     98  
CRUN2   .COM    20K    132  
DDT     .COM     8K     39  
DISKDEF .LIB     8K     49  
DSKINITL.COM     4K     13  
DSSYS73 .COM    12K     94  
DUMP    .COM     4K      6  
ED      .COM     8K     53  
FMT     .COM     4K     16  
FMT128  .COM     4K     14  
JOB73E  .LIB    12K     66  
LOAD    .COM     4K     15  
MAC     .COM    12K     92  
MBASIC  .COM    24K    190  
MOVCPM  .COM    12K     76  
NOTES   .        4K      6  
PIP     .COM     8K     60  
RCLOCK  .BAS     4K      7  
REVIEW  .COM     4K      5  
S7300E  .LIB     8K     34  
SD      .COM     4K     10  
SEQDWN  .COM     4K      2  
SR      .COM     4K     15  
STAT    .COM     8K     52  
SUBMIT  .COM     4K     14  
SYS73E  .LIB     4K     19  
SYSG7300.SUB     4K      1  
SYSGEN  .COM     4K      6  
TCSLIB  .LIB     8K     41  
TOD     .COM     4K      3  
WCLOCK  .BAS     4K      7  
XFER    .SUB     4K      3  
XSUB    .COM     4K      7  
XTX     .COM     4K     32  
   43 Files occupying    380K,     616K Free.

The ibx2 definition is:
Code:
# IBX2  IBEX 7301 - DSDD 8" - 256 x 26
diskdef ibx2
  seclen 256
  tracks 154
  sectrk 26
  blocksize 4096
  maxdir 128
  skew 6
  offset 13312
#  offset 9984
#  offset 23296
  boottrk 0
#  boottrk 4
  os 2.2
end

But, that doesn't mean the files will extract SANE.

Larry
That looks like a pretty good directory you got but I wonder how cpmls did it?
The disk parameters of 77 tracks, 26x256 mfm are right but
I need the CPM parameter block to read the DIR in 22DISK.

22DISK needs the CPM parameters which start with bit shift to define the dir and files.

BSH 5 BLM 31 EXM 0?? DSM 242??? DRM 63??? AL0 080H??? AL1 0 OFS 2
 
I have some new progress on this - thanks for all yalls help:

MarkO on FB CPM group noticed the data in the iBex 7301 8x1024 IMD file is the same on both sides.
I checked and that appears to be true per IMDV. -Please confirm.
Which means my disk isn't head selecting.

So I goofed with jumpers on my SA850,
I tried 3 different 50pin conversion boards (mine, dbit, texelec).
No luck, IMD either reads same both sides or bails out on the 2nd track.
So I tried another drive, exactly the same.

This is a working IMD system with Adaptec controller, and R/W DSDD 5.25 and 3.5 drives fine.

It's possible the 2nd side has never worked on my 8" drives because I always am doing single-sided 8" disks.

Open to suggestions.
I've tried the various methods of drive selecting - S1, S2, S3, and head select via drive select.
I'm Stumped. Gonna have to drag out the scope and see what head select is doing.
 
Last edited:
FB CPM group noticed the data in the iBex 7301 8x1024 IMD file is the same on both sides.

The IBEX7301 file I have downloaded is not the same on both sides and is not 8 x 1024.
Was this a file that you created?

Code:
IMDU IBEX7301.IMD 7301S0.IMD X1=0,77 > 7301S0.TXT

IMDU IBEX7301.IMD 7301S1.IMD X1=0,77 > 7301S1.TXT

IMDU IBEX7301.IMD 7301S0.RAW /B /E /D >> 7301S0.TXT

IMDU IBEX7301.IMD 7301S1.RAW /B /E /D >> 7301S1.TXT

vbindiff 7301S0.RAW 7301S1.RAW


Larry
 

Attachments

  • 7301-DIFF.png
    7301-DIFF.png
    66.6 KB · Views: 3
Morning update -

I've about decided that I had the drive jumpers right but that IMD is reading Track 0/head 0, reading that fine,
Then going to Head 1 and finding only EF's, and saying done. That would explain what I'm seeing.

So today I'm going to investigate the Full Analyze option of IMD to see if that reads all sectors regardless of what it thinks about data.
I just want IMD to read the sectors and save them, not try to decide if there is data or not.

And I'll revisit the 7301 disks and restart this quest over.
Thank you for your endurance on this.
 
Mid-morning update -

My hardware is good, jumpers on SA850 are right.
But what is happening is that IMD is reading track 0/head 0 and finding data (CPM boot) at SD,
Then moving to head 1 of that track, finding E5's and concluding the rest of the disk is empty, and finishes.

Of course this isn't right for these iBex disks which have Directory at track 37.
So I chose the FULL ANALYZE option and it shows data on the first 38 tracks of head 0,
then some data on head 1, rest empty.

This makes sense since these ibex disks have their directory at 37, then start saving data on track 2, side 1.
This is also evidence for the ORDER parameter needing to be CYLINDER on 22DISK.

I will re-read these disks so we can try again.
 

Attachments

  • 20241008_090419[1].jpg
    20241008_090419[1].jpg
    2.2 MB · Views: 1
Thanks, full analyse is allways good if you have such an unusual fromat.
You can check it with anadisk before having trouble with IMD.
 
Ok, I re-read the IBEX 7202 and 7301 disks.
Hopefully this got both sides.
I had to set IMD's "FULL ANALYZE" to do this.
Please check it out and feedback.

The 7202 disk had no errors. (this is for a dual FD machine)
The 7301 disk had errors on Trk 7. (this is a FD/HD machine)

 

Attachments

  • 20241008_122616[1].jpg
    20241008_122616[1].jpg
    2.5 MB · Views: 1
  • 20241008_124514[1].jpg
    20241008_124514[1].jpg
    2.6 MB · Views: 0
I don't understand the imd files for these disks.
All the data for side 2 is "N".
I see side-select pin 14 on 50pin drive connector going high/low as it tries to read.
I don't have a non-ibex DSDD disk to read for testing.
These disks are suppose to be DSDD with 8 sectors per track at 1024 bytes on both sides, except track 0. that's what I thought anyway.
But according to imd there's no data on side 2.
My initial files showed data same on both sides because I had the side-select jumper wrong, so it was always on side 1.
 
Last edited:
So here's anadisk with the IBEX 7202 boot disk:
It shows all side 1 blank,
CPM dir at 37 (which we knew),
Says 8x1024 which is right, except 1st track.
Says it's a non-system disk, but it is.
 

Attachments

  • 20241008_145310[1].jpg
    20241008_145310[1].jpg
    2.5 MB · Views: 5
  • 20241008_145718[1].jpg
    20241008_145718[1].jpg
    2.7 MB · Views: 4
Do you guys want me to look at it? If it's in 22Disk, I obviously must have seen a real one, even if it was more than 30 years ago.
Be patient, if so, as I'm still only a short way down the recovery path. I sleep a lot... :(
 
Chuck,
Good to see you are back on VCF. Hope all is going well and you are recovering.

YES, Please have a look at the IBEX7202.TD0 file and see if you can locate what
is incorrect.

Here is some information Ragnarock has on the image.

Just looking at IBEX7202.IMD I can see what appears to be source code for the 8x1024 disk and here are sections of interest:

SKEWTA: DB 0,3,6,1,4,7,2,5 (in reality sectors start with 1)

FFFF+= REPEAT EQUACRO DISK PARA LIB
IF SYSNO EQ 7100
DISKDEF 0,0,79,,1024,195,64,64,1
ENDIF
IF SYSNO EQ 7200
DISKDEF 0,0,127,,4096,300,128,128,2
EE73+= DPB0 EQU $ ;DISK PARM BLOCK
EE73+8000 DW 128 ;SEC PER TRACK
EE75+05 DB 5 ;BLOCK SHIFT
EE76+1F DB 31 ;BLOCK MASK
EE77+01 DB 1 ;EXTNT MASK
EE78+2B01 DW 299 ;DISK SIZE-1
EE7A+7F00 DW 127 ;DIRECTORY MAX
EE7C+80 DB 128 ;ALLOC0
EE7D+00 DB 0 ;ALLOC1
EE7E+2000 DW 32 ;CHECK SIZE
EE80+0200 DW 2 ;OFFSET
0000+= XLT0 EQU 0 ;NO XLATE TABLE
ENDIF

7200 COPY V3.6
MODE SELECT
1=8INCH DOUBLE 256 BYTE/SECTOR
2=8INCH SINGLE 128 BYTE/SECTOR
3=8INCH DOUBLE 1024 BYTE/SECTOR


And my conjured up Definition, which doesn't work correctly.

BEGIN IBX3 IBEX7202 - DSDD 8" - 1024 x 8
DENSITY MFM, HIGH
CYLINDERS 77 SIDES 2 SECTORS 8,1024 SKEW 3
SIDE1 0 1,2,3,4,5,6,7,8
SIDE2 1 1,2,3,4,5,6,7,8
ORDER CYLINDERS
BSH 5 BLM 31 EXM 1 DSM 299 DRM 127 AL0 080H AL1 0 OFS 37
END



THANKS.

Larry
 
Last edited:
Back
Top