]berlegungen zum Genie IIIs CP/M-Plus / CP/M 2.2 File 1. Aufbau des Pdrive.sys f}r FLOPPY: 128 Bytes pro Eintrag, folgenderma~en aufgeteilt: relative Bytenummer: 00h - 10h (17 Bytes) DPB nach CP/M-Plus 11h ( 1 Byte ) PD-Byte (s.u.) 12h ( 1 Byte ) Anzahl der Sektoren pro Spur pro Seite 13h ( 1 Byte ) Anzahl der Spuren pro Seite (40/80) 14h ( 1 Byte ) Size 0=5 1/4,1=8,2=3,3= 8 auf 5 1/4 15h ( 1 Byte ) Offset f}r Spurnummer (Kontron) 16h ( 1 Byte ) 00=internal manageable, FF= requires special prgrm 17h ( 1 Byte ) 1st sector on front (0/1) FF=no front 18h ( 1 Byte ) 1st sector on back (0/1) FF=no back 19h ( 1 Byte ) Skew-Factor for Format 1AH ( 1 Byte ) CP/M 2.2 PD-Byte 1Bh - 1Ch ( 2 Bytes) reserviert (Boot-Stack !!) 1Dh ( 1 Byte ) Anzahl der Spuren des Laufwerks (f}r CPMLDR) 1Eh ( 1 Byte ) Nummer des Eintrags (0-x,f}r PD-Tab) 1Fh ( 1 Byte ) reserviert 20h - 5Fh (64 Bytes) Skew-Tabelle 60h - 6Fh (16 Bytes) frei 70h - 7Fh (16 Bytes) Name des Formates ---------- 128 Bytes ========== PD-Byte: 7 6 5 4 3 2 1 0 ! ! ! ! ! ! ! !______ Density ! ! ! ! ! ! !___________ Invert/Normal ! ! ! ! ! !________________ Double Sided ! ! ! ! ! ! ! !____!____!_____________________ Access to 2nd Side ! ! 000: by Skew-Table ! ! 001: Even/Odd ! ! 010: 0->x/0->x ! ! 011: Sector offset ! ! 100: 0->x/x->0 ! ! 101: Odd/Even ! ! 110: reserved ! ! 111: reserved ! !____________________________________ Logical=Physical Trk # !_________________________________________ unused PD.COM testet auf korrekte Anzahl von Spuren bei Zuweisung eines Formates auf ein Laufwerk PD.COM testet auf korrekte Size (5 1/4",8",3") 2. Aufbau des Drive Parameter Blocks (DPB) f}r WINCHESTER: 00h - 10h (17 Bytes) DPB nach CP/M-Plus 11h ( 1 Byte ) Nutzung: 00=CP/M 2.2, 01=CP/M+, 02=GDOS 12h ( 2 Bytes) Starttrack dieses Teils 14h ( 2 Bytes) Endtrack dieses Teils 16h ( 2 Bytes) Anzahl der Tracks (End-Start+1) 18h ( 1 Byte ) Skew-Factor for Format 19h ( 1 Byte ) Fill-Byte (0E5H f}r CP/M) 1Ah - 1Fh ( 6 Bytes) ---------- 32 Bytes ==========