[Coco] SuperIDE and CF Cards

Mark Marlette mmarlette at frontiernet.net
Wed Jul 10 19:09:03 EDT 2013


Chester,

Nice, work. You got it.....

Now I haven't checked all of your math here or numbers but you do have the basis. Quick glance...looks good.

I also have a table of all of the CF and all of the different numbers that come back from ideprobe.

Refreshing.

Thanks for sharing.

Mark




________________________________
 From: Chester A Patterson <vchester at setec-cr.com>
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com> 
Sent: Wednesday, July 10, 2013 3:25 PM
Subject: Re: [Coco] SuperIDE and CF Cards
 


Just as a suggestions and reference... Way back when I bought my SuperIDE & SuperDriver combo I also bought four 256MB CF cards. I too wanted to make backups for safety. I started by mapping everything out as below, so I would have a quick reference to look at for stuff. Some of it is pretty basic but when you're tied up twixt hex and dec on several devices it pays to have notes. I was able to backup the C-9 CF Card onto all four my other cards (different brands).  Each one's CF card probably will be different, so below is just an example.


256 Megabyte Compact Flash Card

Nitro OS-9 1 sector = 512 bytes    HDB-DOS 1 sector = 256 bytes (uses 512, 256 used, 256 bytes lost) Dec 630 = $276
HDB-DOS offset ($D938:D393;D83A) = #5:45:220 ($05:2D:DC) 

Sector Hex    Sector Dec    Cloud9 Compact Flash
07 AC D0    502'992    CF 256MB Storage top
07 A3 DC    500'700    HDB-DOS Partition top (HDB offset + [630 * 256])
07 A1 66    500'070    HDB-DOS Partition 255
07 9E F0    499'440    HDB-DOS Partition 254
06 27 FA    403'050    HDB-DOS Partition 100
05 2D DC    339'420    HDB-DOS Partition base (HDB offset)
05 2D DB    339'419    Free area top
05 28 50    338'000    Free area top, safe     338000 - 250000 = number of sectors free 88000 ($01 57 C0)
03 D0 90    250'000    Free area base, safe
03 CA 81    248'449    Free area base
03 CA 80    248'448    NOS9 Partition top (free /dd 496896 total sectors/2)
0        0        NOS9 Partition base
0        0        CF storage base

IDEPROBE.BAS             Cloud9 CF    Samsung CF        Dane-Elec CF
Logical Cylinders     =     998        994            978
Logical Heads         =     8        16            16
Logical Sectors         =     63        32            32
Total Sectors         =     502992    508928        500736
LBA Supported        =    Yes        Yes            Yes
LBA mode sectors         =     502992    508928        500736
PIO Cycle Timing         =     2        2            2

630 x 255 = 160650 ($02 73 8A), 630 x 256 = 161280 ($02 76 00)
HDB-DOS Partition size = 256 disks x 630 sectors x 512 bytes per sector = 82'575'360 bytes
NOS9 Partition size = 248'448 sectors x 512 bytes per sector = 127'205'376 bytes
Total CF 256MB net NOS9 capacity = 500'700 sectors x 512 bytes per sector = 256'358'400 bytes
Total CF 256MB gross capacity = 502'992 sectors x 512 bytes per sector = 257'531'904 bytes


Dmode /i1
Nam = i1    mgr = RBF    ddr = rbsuper
Hpn = 07    hpa = FF50    drv = 01    stp = 00    typ = 81    dns = 00    cyl = 02AF    sid = 08
Vfy = 01    sct = 0020    t0s = 0020    ilv = 01    sas = 08    wpc = 03    ofs = D090    rwc =
Total Sectors: 175872 (45,023,232 Bytes)

Dmode /i0
Nam = i0    mgr = RBF    ddr = rbsuper
Hpn = 07    hpa = FF50    drv = 00    stp = 00    typ = 81    dns = 00    cyl = 0795    sid = 08
Vfy = 01    sct = 0020    t0s = 0020    ilv = 01    sas = 08    wpc = 00    ofs = 0000    rwc =
Total Sectors: 496896 (127,205,376 Bytes)

.    Bit    7  6  5  4  3  2  1  0
Typ = 20    0  1  0  0  0  0  0  0    Floppy disk, Non standard format, Non Coco format, 5" disk
Typ = 21    0  0  1  0  0  0  0  1    Floppy disk, Non standard format, Non Coco format, 3.5" disk
Typ = 00    
Typ = 81    1  0  0  0  0  0  0  1    Hard disk, OS9 format, Non Coco format, Auto query off, 3.5" disk
Typ = 91    1  0  0  1  0  0  0  1    Hard disk, OS9 format, Non Coco format, Auto query on, 3.5" disk
Typ = A1    1  0  1  0  0  0  0  1    Hard disk, OS9 format, Coco format, Auto query off, 3.5" disk

Bit 0: 0 = 5" disk, 1 = 3.5" disk
Bit 4: Auto Query 0 = off
Bit 5: 0 = Non Coco format, 1 = Coco format
Bit 6: 0 = Standard OS9 format, 1 = Non standard format
Bit 7: 0 = Floppy disk, 1 = Hard disk

Cylinders: $0795 = #1941
Sectors per track: $20 = #32

--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco


More information about the Coco mailing list