Inferno #04
22 июня 2003 |
|
Softinka - IDEDOS - access to hard disks in OS ZXVGS.
IDEDOS - access to hard disks IDEDOS means enhanced OS +3 e, written by Garry Lancaster'om. For additional details check out his page at: http://www.zxplus3e.plus.com/ In ZXVGS and CPM22QED used table partitioning IDEDOS (also called systemic partitions IDEDOS). Search structures IDEDOS: 1. Read sector 1 on cylinder 0, and head 0. 2. If the length of the sector is 512B (full IDE), go to Step 5. 3. (Simple IDE - the length of the sector 256B.) If you found the signature "PLUSIDEDOS", go to step 10. 4. Do not mount this disk. 5. If you found the signature "PLUSIDEDOS", go to step 10. 6. If the signature is found "P? L? U? S? I? D? E? D? O? S", switched access to drive an 8-bit mode and go to step 10. 7. Read sector 1 on cylinder 0, and head 1. 8. If you found the signature "PLUSIDEDOS", go to step 10. 9. Do not mount this disk. (Or try to analyze the table partitions MSDOS.) 10. Analyze table partitioning IDEDOS. 64-byte element partition: Length Description 0 16 Name partition (case not important the name of seeking spaces). 16 16 Determination of partition: 16 1 The type of partition (0 = free handle) 17 2 primary cylinder. 19 1 Initial head. +20 2 End cylinder. 22 a final head. April 23 The largest number of logical sector. 27 May Tipozavisimaya information. 32 32 Tipozavisimaya information. Types of partitions: # 00 Unused partition / free handle. # 01 the system partition. The first partition on the drive, starting with the logical sector 0, and the system always contains a list of 64-byte partition elements, which determine all the partitions on disk (including the system partition). Only one partition of this type (Ptype_system) is allowed to drive and she is always first. Her name is always "PLUSIDEDOS" (with 6 blanks at the end). # 02 partition paging file (?) (Swap partition). # 03 partitions +3 DOS. The maximum theoretical Chesky size +3 DOS partition just ME nshe 32Mb. XDPB has a logical geometry metry. # 04 partitions CP / M with XDPB, which reflects physical structure of the disc. So, if CD has 17 spt (sectors on road ku), LSPT is 68. Partition is always uses integer cylinders and used uses the entire cylinder (from head 0). Otherwise (if not with track 0) is converted into a reserved Track (OFF in XDPB). This is required for low-level disk driver DSKHNDLR. # 05 boot partition. It's just one file that is stored as partitions. Used to boot. For example, Timex FDD 3000, extended through YABUS.TF, will look for the table partitions IDEDOS, to find a partition "YABUS.TF". If it is found, its content zhimoe loaded into RAM and runs. Partition size is usually from 8k up to 64kB, which gives the 1 .. 2 tracks (or 1 .. 8 doro zhek for disks with 17 spt). The number of loaded isplay sectors lies in the definition partition. # 06 partition disk image TR-DOS. Usually 640kB. (I'm not sure whether they begin always with a new angle, so the possibility but it takes Sectoral shift, and can Gut receive paths, distributed between the two TR-DOS partition after transfer disk IDEDOS.) # 07 partition disk image MB-02. Usually 1804kB. I check whether they are sector rnoe offset. # FE Failed disk area. # FF region free disc. -----------------------------------------( C) 2002-10-11 23 : 56:22 Jarek Adamski {Zxvgs@yarek.com}, {http://zxvgs.yarek.com}
Other articles:
Similar articles:
В этот день... 3 December