OldComp.cz

Komunitní diskuzní fórum pro fanoušky historických počítačů


Právě je 27.04.2024, 10:25

Všechny časy jsou v UTC + 1 hodina [ Letní čas ]




Odeslat nové téma Odpovědět na téma  [ Příspěvků: 40 ]  Přejít na stránku Předchozí  1, 2, 3
Autor Zpráva
PříspěvekNapsal: 06.03.2024, 15:00 
Offline
Kecka
Uživatelský avatar

Registrován: 18.01.2024, 15:02
Příspěvky: 32
Bydliště: Torino - Italy
Has thanked: 5 times
Been thanked: 7 times
The CP/M system was somewhat successful because of its filesystem. The boot sequence was mostly hardware specific, the BIOS and BDOS were, in most of the cases, loaded in RAM.
Once in memory the way to read the disk was CP/M specific, it helps the compatibility and saved a lot of work to the computer designers.
The disk tables allowed a number of "boot tracks", which were used only by the boot sequence (it can used also by the system at a program end). Those tracks are totally ignored by the CP/M environment, it is not uncommon to see them formatted differently.
The first real CP/M tracks are for the file directory, they include a list of pointers to the file blocks associated to a filename.

The compatibility is only at software level though, many different disk formats were used. In theory it is not difficult to alter the CP/M and read/write alien disks, some vendor provided tools to alter the BIOS parameters.


Nahoru
 Profil  
 
PříspěvekNapsal: 07.03.2024, 21:14 
Offline
Kecka
Uživatelský avatar

Registrován: 18.01.2024, 15:02
Příspěvky: 32
Bydliště: Torino - Italy
Has thanked: 5 times
Been thanked: 7 times
I used HXCFloppyEmulator.exe to convert your HFE disk dump to IMD.
IMDU shows the following MAP, 80 tracks, 2 sides:

Kód:

 0/0 250 kbps DD  16x256
      1   9   2   10  3   11  4   12  5   13  6   14  7   15  8   16
      D   D   D   D   D   D   D00 D   D00 D   D00 D   D00 D   D00 D
 0/1  D   D   D   D   D   D   D   D   D   D   D   D   D   D   D   D
 1/0 250 kbps DD  9x512
      1   6   2   7   3   8   4   9   5
      D   D   D   D   D   D   D   D   D
 1/1  D   D   D   D   D   D   D   D   D
 2/0  D   DE5 DE5 DE5 DE5 DE5 DE5 D   DE5
 2/1  D   D   D   D   D   D   D   D   D
 3/0  DE5 D   DE5 D   D   D   D   D   D
 3/1  D   D   D   D   D   D   D   D   D
 4/0  D   D   D   D   D   D   D   D   D
 4/1  D   D   D   D   D   D   D   D   D
 5/0  D   D   D   D   D   D   D   D   D
 5/1  D   D   D   D   D   D   D   D   D
 6/0  D   DE5 D   DE5 D   DE5 D   DE5 DE5
 6/1  DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
 7/0  DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
 7/1  DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
 8/0  DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
 8/1  DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
 9/0  DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
 9/1  DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
10/0  DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
10/1  DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
(...)



Now I'll try to rebuild the file geometry on CPMTOOLS and I will use it to test my output


Nahoru
 Profil  
 
PříspěvekNapsal: 08.03.2024, 00:30 
Offline
Kecka
Uživatelský avatar

Registrován: 18.01.2024, 15:02
Příspěvky: 32
Bydliště: Torino - Italy
Has thanked: 5 times
Been thanked: 7 times
diskdef lecbeta
seclen 512
cylinders 80
sectrk 9
heads 2
blocksize 2048
maxdir 128
boottrk 4
os 2.2
end


It should have 3 files: power.com, sformat.com and z8e.com
It looks like cpmtools gets valid files:

Z8E V3.6.1 - 18 Aug 2011
Copyright (c) 1984, 1985 Richard A. Surwilo

Maintained on behalf of the long-defunct Tesseract RCPM+
by Jon Saxton (tesseract@triton.vg)


Z8E Relocated: D900 - FE00
Top Of Memory: D8FF

*


Nahoru
 Profil  
 
PříspěvekNapsal: 08.03.2024, 18:49 
Offline
Kecka
Uživatelský avatar

Registrován: 18.01.2024, 15:02
Příspěvky: 32
Bydliště: Torino - Italy
Has thanked: 5 times
Been thanked: 7 times
What I found with CPMTOOLS is that the system reserves 4 boot tracks.
The first one (2 sides) is clearly different and is in TRDOS format.
The following tracks are already formatted in CP/M mode and are used for booting BIOS, BDOS and CCP.

The CP/M filesystems starts at track #4.

Basing on the information above, I tried to create an 80T disk image, for your convenience I converted it from IMD to HFE.
I don't know if it will work, it uses the graphics mode and all the features, so something can definitely go wrong.



If it works I'd really like a picture :P


Přílohy:
othello.zip [37.94 KiB]
15 krát
Nahoru
 Profil  
 
PříspěvekNapsal: 08.03.2024, 23:15 
Offline
Pan Štábní
Uživatelský avatar

Registrován: 12.05.2013, 21:39
Příspěvky: 1984
Bydliště: Praha
Has thanked: 85 times
Been thanked: 255 times
Unfortunately it doesn't work, it just reset the ZXS. The "CAT" command on this disk (this image) doesn't work either, it does the same thing so I guess there have to be some problem with directory map already on the TR-DOS partition. I mean TR-DOS disk structure is probably wrong.


Nahoru
 Profil  
 
PříspěvekNapsal: 09.03.2024, 09:31 
Offline
Pan Štábní
Uživatelský avatar

Registrován: 12.05.2013, 21:39
Příspěvky: 1984
Bydliště: Praha
Has thanked: 85 times
Been thanked: 255 times
But... if I boot from another disk I can read cp/m content (from your one) without problem and run Othello game (a.com file).


Nahoru
 Profil  
 
PříspěvekNapsal: 11.03.2024, 21:28 
Offline
Kecka
Uživatelský avatar

Registrován: 18.01.2024, 15:02
Příspěvky: 32
Bydliště: Torino - Italy
Has thanked: 5 times
Been thanked: 7 times
Very well, this is how it was expected to work.
This disk format can be even written with a normal PC disk dump tool (rawrite, etc..).


Nahoru
 Profil  
 
PříspěvekNapsal: 11.03.2024, 22:48 
Offline
Pan Štábní
Uživatelský avatar

Registrován: 12.05.2013, 21:39
Příspěvky: 1984
Bydliště: Praha
Has thanked: 85 times
Been thanked: 255 times
So in this case I don't understand why you decided to use a much more complicated HFE format instead simple IMG. The only advantage of HFE is it can be bootable but it is more easier to work with IMG with any CP/M disk file/format manipulation tool. But you are right, it works.


Nahoru
 Profil  
 
PříspěvekNapsal: 13.03.2024, 09:56 
Offline
Kecka
Uživatelský avatar

Registrován: 18.01.2024, 15:02
Příspěvky: 32
Bydliště: Torino - Italy
Has thanked: 5 times
Been thanked: 7 times
I know it makes things complex, I simply chose to send the same file format I received.
Appmake creates raw dumps as well as containers, like IMD or DSK files. I prefer three container because they include extended disk information. HFE looked like keeping that information, it was a good test case


Nahoru
 Profil  
 
PříspěvekNapsal: 13.03.2024, 13:09 
Offline
Pan Štábní
Uživatelský avatar

Registrován: 12.05.2013, 21:39
Příspěvky: 1984
Bydliště: Praha
Has thanked: 85 times
Been thanked: 255 times
Ok, it's up to you. Here are a couple of pictures you asked.


Přílohy:
IMG_6686.jpeg
IMG_6686.jpeg [ 53.51 KiB | Zobrazeno 628 krát ]
IMG_6688.jpeg
IMG_6688.jpeg [ 78.58 KiB | Zobrazeno 628 krát ]
IMG_6687.jpeg
IMG_6687.jpeg [ 98.77 KiB | Zobrazeno 628 krát ]
Nahoru
 Profil  
 
Zobrazit příspěvky za předchozí:  Seřadit podle  
Odeslat nové téma Odpovědět na téma  [ Příspěvků: 40 ]  Přejít na stránku Předchozí  1, 2, 3

Všechny časy jsou v UTC + 1 hodina [ Letní čas ]


Kdo je online

Uživatelé procházející toto fórum: Žádní registrovaní uživatelé a 18 návštevníků


Nemůžete zakládat nová témata v tomto fóru
Nemůžete odpovídat v tomto fóru
Nemůžete upravovat své příspěvky v tomto fóru
Nemůžete mazat své příspěvky v tomto fóru
Nemůžete přikládat soubory v tomto fóru

Hledat:
Přejít na:  
Založeno na phpBB® Forum Software © phpBB Group
Český překlad – phpBB.cz