• Please review our updated Terms and Rules here

Howto read Turbodos floppydisk with 22disk or cpmtools?

fritzeflink

Experienced Member
Joined
May 19, 2014
Messages
223
Location
germany
Explanation: I got a lot of documents and floppydisks for the Philips P3000 system (P3500 and P3800).
They run Turbodos and the default filesystem on floppy is include in the 22disk definition thanks ChuckG.

BEGIN PHI4 Philips PC-3800 TurboDOS - DSDD 96 tpi 5.25" (even P3500)
DENSITY MFM , LOW
CYLINDERS 80 SIDES 2 SECTORS 16,256
SIDE1 0 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16
SIDE2 1 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16
ORDER SIDES
BSH 4 BLM 15 EXM 0 DSM 320 DRM 255 AL0 0F0H AL1 0 OFS 0
END

But there are a lot of floppy disks which are not in CP/M filesystem - they use Turbodos filesystem with Sectors 5x1024.
As I read in the docu the Turbos directory structure has differences to cp/m.
I'm new to turbodos eben I had a P3500 20 years ago. making images of all floppy disks with IMD is no problem, but I like to extract all files on the floppy for save.
The images I made are on the shutdown system in the basement.

Question: Is it possible to convert or read the Turbodos floppy disk like CP/M disks with 22disk or cpmtools (on Windows) ?

hc_3555.jpg
 
Thanks for your reply.

@bolex
With uniform 2.17 I see the Turbodos 1.4 in the .dat-file but not in the menu. So I can't use Uniform to extract the files.
My Uniform entry in config.sys ist AT + SD5" +

@Chuck(G)
The image has BAS-files so there is a lot of ASCII text.
 

Attachments

  • p35-imd_turbodos.zip
    491.9 KB · Views: 1
  • hc_1428.jpg
    hc_1428.jpg
    850.5 KB · Views: 5
A quick glance at the p35 image shows a regular (TurboDOS-modified) CP/M directory starting at the first sector. Don't see any BASIC file content, but a lot of games, like ADVENTUR.COM, which does have a load of ASCII text. Otherwise, nothing unusual.

Am I missing something? There's probably a 22DISK definition in the registered version that fits as-is.
Code:
00000000  e5 20 20 20 20 20 20 20  20 20 20 20 00 00 00 ff  |.           ....|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  e5 ff ff ff ff ff ff ff  ff ff ff ff ff ff ff fe  |................|
00000030  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
00000040  e5 ff ff ff ff ff ff ff  07 00 00 00 00 00 00 fe  |................|
00000050  00 00 00 00 00 00 ff ff  ff ff ff ff ff ff ff ff  |................|
00000060  00 41 44 56 45 4e 54 55  52 43 4f 4d 00 00 00 80  |.ADVENTURCOM....|
00000070  04 00 05 00 06 00 07 00  08 00 09 00 0a 00 0b 00  |................|
00000080  00 41 44 56 45 4e 54 55  52 43 4f 4d 01 00 00 80  |.ADVENTURCOM....|
00000090  0c 00 0d 00 0e 00 0f 00  10 00 11 00 12 00 13 00  |................|
000000a0  00 41 44 56 45 4e 54 55  52 43 4f 4d 02 00 00 66  |.ADVENTURCOM...f|
000000b0  14 00 15 00 16 00 17 00  18 00 19 00 1a 00 00 00  |................|
000000c0  00 41 4c 49 45 4e 53 20  20 c3 cf 4d 00 00 00 74  |.ALIENS  ..M...t|
000000d0  1b 00 1c 00 1d 00 1e 00  1f 00 20 00 21 00 22 00  |.......... .!.".|
000000e0  00 43 41 54 43 48 55 4d  20 43 4f 4d 00 00 00 80  |.CATCHUM COM....|
000000f0  23 00 24 00 25 00 26 00  27 00 28 00 29 00 2a 00  |#.$.%.&.'.(.).*.|
00000100  00 43 41 54 43 48 55 4d  20 43 4f 4d 01 00 00 80  |.CATCHUM COM....|
00000110  2b 00 2c 00 2d 00 2e 00  2f 00 30 00 31 00 32 00  |+.,.-.../.0.1.2.|
00000120  00 43 41 54 43 48 55 4d  20 43 4f 4d 02 00 00 3e  |.CATCHUM COM...>|
00000130  33 00 34 00 35 00 36 00  00 00 00 00 00 00 00 00  |3.4.5.6.........|
00000140  00 43 41 54 43 48 55 4d  20 44 41 54 00 00 00 04  |.CATCHUM DAT....|
00000150  37 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |7...............|
00000160  00 43 48 45 53 53 32 34  20 43 4f 4d 00 00 00 36  |.CHESS24 COM...6|
00000170  38 00 39 00 3a 00 3b 00  00 00 00 00 00 00 00 00  |8.9.:.;.........|
 
Last edited:
Here are the diskdefs I used to extract files from diskettes in ADC TurboDOS format:

diskdef adv4
seclen 1024
tracks 77
sectrk 16
blocksize 2048
maxdir 256
skew 1
boottrk 1
os 2.2
end

diskdef adv8
seclen 1024
tracks 77
sectrk 8
blocksize 2048
maxdir 192
skew 1
boottrk 1
os 2.2
end

adv4 is DS and adv8 is SS. AFAIK TurboDOS is 100% compatible with CP/M directory structure. There was some concept of an on-disk ALV vector to avoid delays on initial disk mount, but I believe it was out of band and does not create any incompatibilities. Bear in mind it's been over 35 years since I worked with a TurboDOS system, so this may be incorrect - YMMV, Caveat Emptor, etc.
 
Hi chuck,

I have the last version of 22disk but didn't find any definition that works.
There are some definitions showing the directory but didn't extracting the files correct.
Above I posted not the right image.

This definition shows the directory but didn't got the correct files.

BEGIN P3500 turbodos 5x1024 DSDD 96 tpi 5.25"
NOTE like IBS1 but DRM 127 instead of 255
DENSITY MFM ,LOW CYLINDERS 80 SIDES 2
SECTORS 5,1024
ORDER SIDES
SIDE1 0 1,2,3,4,5
SIDE2 1 1,2,3,4,5
BSH 4 BLM 15 EXM 0 DSM 394 DRM 127 AL0 0C0H AL1 0 OFS 0
END

These should be the information from uniform.dat for turbodos 1.41 format I can't get in the menu

313​
00002780 | 20 27 C0 01 01 32 00 40 54 75 72 62 6F 44 6F 73 20 31 2E 34 31 20 20 20 20 20 20 20 20 20 20 20 'À..2.@TurboDos 1.41
313 data​
0000CC80 | 00 00 00 0A 00 01 50 31 00 80 01 01 03 28 00 04 0F 00 8A 01 7F 00 C0 00 10 00 02 00 30 08 A0 1A ......P1.€...(....Š...À.....0. .
0000CCA0 | 1A 0A 00 00 01 02 01 00 01 00 00 00 00 00 FF C9 00 01 02 03 08 09 0A 0B 10 11 12 13 18 19 1A 1B ..............ÿÉ................
0000CCC0 |20 21 22 23 04 05 06 07 0C 0D 0E 0F 14 15 16 17 1C 1D 1E 1F 24 25 26 27 00 00 00 00 00 00 00 00 !"#................$%&'........
0000CCE0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
 

Attachments

  • P35-103.ZIP
    468.3 KB · Views: 2
Last edited:
The first rule of reading manuals is "Don't believe what you read". The definition I get is this:
Code:
BEGIN PHI5  Philips PC-3800 TurboDOS - DSDD 96 tpi 5.25"
DENSITY MFM, LOW
CYLINDERS 80 SIDES 2 SECTORS 5,1024
SIDE1 0 1,3,5,2,4
SIDE2 1 1,3,5,2,4
ORDER SIDES
BSH 4 BLM 15 EXM 0 DSM 320 DRM 255 AL0 0F0H AL1 0 OFS 0
END

I haven't yet created a real floppy from the IMD, but I'm pretty sure that it's the right one.
 
Oh yes, that's great. :giggle:
I played some basic games and save them to ASCII format with 80mate emulator.

I tested with some other floppy disk and one with only 4k free had problems.
22disk shows me an "out of block number" but the floppy disk has some ##BLOCKS.BAD if this is a problem.
 

Attachments

  • P35-110.ZIP
    547.4 KB · Views: 1
  • hc_1435.jpg
    hc_1435.jpg
    231.1 KB · Views: 1
  • hc_1434.jpg
    hc_1434.jpg
    517.5 KB · Views: 1
You probably should increase DSM - I left it at 320, but it needs to be larger. Since there aren't any reserved tracks, we can compute DSM as

(5*1024*160)/2048) -1 = 399 (if my HP 16C is accurate)
 
Yes, that's it. I'm testing some more floppy disks next day but ... it's ok.
 

Attachments

  • hc_1440.jpg
    hc_1440.jpg
    164.8 KB · Views: 2
Thanks Chuck for your fast help
- now it's time to go to bed as I'm already slipping off the chair.
 
Back
Top