Skip to content

Commit 3783d4e

Browse files
committed
Improved CMD HD info in vice.texi
git-svn-id: https://svn.code.sf.net/p/vice-emu/code/trunk@45392 379a1393-f5fb-40a0-bcee-ef074d9b53f7
1 parent 15d036a commit 3783d4e

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

vice/doc/vice.texi

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29199,7 +29199,7 @@ F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2919929199

2920029200
This is very similar to the D80/D82 header in placement but without the DOS
2920129201
version value.
29202-
Also note that the dos version bytes are "3A".
29202+
Also note that the DOS version bytes are "3A".
2920329203
For the D90, it is believed that the $FF at offset $3 in the configuration
2920429204
sector dictates the DOS version.
2920529205

@@ -29239,7 +29239,7 @@ examining LBA X+2 (starting at X=0) and checking for a special
2923929239
signature in the block. If it does not find it, X will increase by
2924029240
128, and it will try again. It will do this until it finds the
2924129241
signature, or until it gets a read error from the HD signaling the end
29242-
of disk space. The device will the switch to installation mode.
29242+
of disk space. The device will then switch to installation mode.
2924329243

2924429244
The following is an example configuration block of a 40 MB drive:
2924529245

@@ -29301,7 +29301,7 @@ CMD HD signature.
2930129301
@item (X*$200+$400+n*$40)+$01
2930229302
@tab Number of pages
2930329303
@item (X*$200+$400+n*$40)+$02-$03
29304-
@tab Location of data offset from X in sectors (256 bytes); MSB format
29304+
@tab Location of data offset from X*$200 in sectors (256 bytes); MSB format
2930529305
@item (X*$200+$400+n*$40)+$04-$05
2930629306
@tab Checksum of data; MSB format
2930729307
@item (X*$200+$400+n*$40)+$06-$0F
@@ -29312,31 +29312,29 @@ CMD HD signature.
2931229312
@tab ASCII of date
2931329313
@item (X*$200+$400+n*$40)+$20-$3F
2931429314
@tab All 0x00
29315-
@item (X*$200+$500+d*$38)+$00
29315+
@item (X*$200+$500)+d+$00
2931629316
@tab SCSI ID of HD in bits 7-4, LUN in bits 3-0; $FF means not present
29317-
@item (X*$200+$500+d*$38)+$38
29317+
@item (X*$200+$500)+d+$38
2931829318
@tab MSB of disk location in drive map
29319-
@item (X*$200+$500+d*$38)+$70
29319+
@item (X*$200+$500)+d+$70
2932029320
@tab Middle byte of disk location in drive map
29321-
@item (X*$200+$500+d*$38)+$A8
29321+
@item (X*$200+$500)+d+$A8
2932229322
@tab LSB of disk location in drive map
2932329323
@item (X*$200+$500)+$E0
2932429324
@tab 0x00 (unknown)
2932529325
@item (X*$200+$500)+$E1
2932629326
@tab Device number (12 or 0x0C by default)
2932729327
@item (X*$200+$500)+$E2
29328-
@tab 0x01 (unknown)
29328+
@tab Default partition number (1 by default)
2932929329
@item (X*$200+$500)+$E3
29330-
@tab 0x01 (unknown)
29330+
@tab Default partition number (1 by default)
2933129331
@item (X*$200+$500)+$E4
2933229332
@tab Device number (12 or 0x0C by default)
2933329333
@item (X*$200+$500)+$E5
2933429334
@tab 0x80: 2 to the power of the SCSI ID of host (which is always 7)
2933529335
@item (X*$200+$500)+$E6-$E7
29336-
@tab Location of CMD partition table offset from X in sectors (256 bytes); MSB format
29337-
@item (X*$200+$500)+$E8
29338-
@tab Default partition number
29339-
@item (X*$200+$500)+$E9-$EF
29336+
@tab Location of CMD partition table offset from X*$200 in sectors (256 bytes); MSB format
29337+
@item (X*$200+$500)+$E8-$EF
2934029338
@tab All 0x00
2934129339
@item (X*$200+$500)+$F0-$F7
2934229340
@tab 0x43 0x4D 0x44 0x20 0x48 0x44 0x20 0x20: First half of signature
@@ -29388,11 +29386,11 @@ The standard partition entry:
2938829386
@item $05-$14
2938929387
@tab 16 character partition name (in PETASCII, padded with $A0)
2939029388
@item $15-$17
29391-
@tab Location of the partition data offset from X in sectors (256 bytes); MSB format; partition 0, the system partition always starts a 0.
29389+
@tab Location of the partition (in blocks) in MSB format. Partition 0, the system partition, always starts at X*$200.
2939229390
@item $18-$1D
2939329391
@tab All 0x00
2939429392
@item $1E-$1F
29395-
@tab Size of partition (in blocks) in MSB format. Partition 0, the system partition is always 0x90 blocks, which includes blocks from X to the end of the partition table.
29393+
@tab Size of partition (in blocks) in MSB format. Partition 0, the system partition is always 0x90 blocks, which includes blocks from X*$200 to the end of the partition table.
2939629394
@end multitable
2939729395

2939829396
When a partition is deleted, its entry is removed and all others stay

0 commit comments

Comments
 (0)