View Single Post
Old 16 March 2014, 11:33   #90
ShK
Registered User
 
ShK's Avatar
 
Join Date: Mar 2013
Location: Lahti / Finland
Age: 52
Posts: 447
Quote:
Originally Posted by mark_k View Post
SeaTools reports the highest logical block address (i.e. number of blocks - 1), so you need to add 1 to each of the Windows numbers:
8GB: 15,523,840
4GB: 7,626,752
2GB: 3,842,048
Yes, they are Zero-based numbering. I wrote it just as a SeaTools for Windows indicated.

Quote:
Originally Posted by mark_k View Post
For the WinUAE config you were using, was that with an emulated A600/1200 IDE controller?
Yes, It is the Amiga 1200 emulated IDE controller:

http://s17.postimg.org/cwvv2gfgf/Adv_Chipset.png
http://s17.postimg.org/4p348y2bj/ROM.png
http://s17.postimg.org/5jgh3hven/Floppy_Drives.png
http://s17.postimg.org/f2q5wyiwv/IDE0.png

Please note that at the last picture WinUAE gives the same LBA capacity as the SeaTools for Windows (3,842,048) !

Quote:
Originally Posted by mark_k View Post
scsi.device in the Kickstart ROM only uses C/H/S addressing. Windows and probably the later scsi.device which comes with AmigaOS 3.9 — which isn't available at boot time — use LBA addressing.

That's why the reported capacity of the cards is limited to a multiple of 16×63 sectors. For legacy/backward compatibility reasons, IDE devices effectively report two capacities, a C/H/S capacity and an LBA capacity. What I'm not clear on, is whether accessing past the C/H/S reported capacity works with the ROM scsi.device.
Version command gives scsi.device 40.12 for A600 KS3.1 (v40.68).



Quote:
Originally Posted by mark_k View Post
Try this with the 2GB card:
- Manually set the geometry to cover the entire 3,842,048 blocks. For example Cylinders = 7504, Heads = 4, Blocks per track = 128. Click Continue at the HDToolBox warning and create an FFS partition at the end of the card (HighCyl=7503).
- After rebooting, format the partition and copy files to it so the partition is over 50% full. (The way FFS fills up partitions, it starts in the middle and works towards the end. So you only need fill up more than half of a partition in order to cause the very end blocks to be written to.)
- Compare the source and copied files. I recommend Cloanto's DirDiff program.
The card is cleaned with the DiskPart.:
http://s17.postimg.org/lqmrjk2f3/diskpart.png

Partitioning for the full LBA capacity has been done with a real Amiga 600:
http://s17.postimg.org/vhk39j0vz/P_Mar15_183934.png
http://s17.postimg.org/9h3qswi7z/P_Mar15_183959.png
http://s17.postimg.org/xnee414cf/P_Mar15_184115.png
http://s17.postimg.org/jenydg4lb/P_Mar15_184146.png
http://s17.postimg.org/6qz09gawv/P_Mar15_184324.png

Then let's try to copy two Aminet CD-ROM directories from the PCMCIA memory card to the 2GB card hard disk with the DirDiff.
http://s17.postimg.org/k95wlqn27/P_Mar15_184834.png

Copying stops with an error when the disk is 50% full:
http://s17.postimg.org/ltftxvku7/P_Mar15_224250.png
http://s17.postimg.org/wcb89ay4f/P_Mar15_224615.png

The new partition to the C/H/S capacity with the default settings of the HDToolBox:
http://s17.postimg.org/mb6dzzl1b/P_Mar15_225242.png
http://s17.postimg.org/7o5fibmf3/P_Mar15_225344.png
http://s17.postimg.org/cvqims30f/P_Mar15_225448.png

And let's try again to copy two Aminet CD-ROM directories from the PCMCIA memory card to the 2GB card hard disk:
http://s17.postimg.org/poemmpem7/P_Mar15_230131.png
http://s17.postimg.org/g54xt8r3z/P_Mar16_054623.png

No error messages. Let's do an another test pass with the DirDiff:

http://s17.postimg.org/6w7cwv7lr/P_Mar16_110544.png
http://s17.postimg.org/5xmegu4vz/P_Mar16_065911.png
http://s17.postimg.org/famzky8n3/P_Mar16_110829.png
Directory 1 = "PCMCIA:2CD"
Directory 2 = "IDE:2CD"

Mode: BYTEDIFF EXACT DATES


PHASE I (searching directory 2 for items with no match in directory 1)


PHASE II (processing items in directory 1)


Errors/unresolved differences: 0
Medium errors: 0

Directories Files

Items examined: 910 35018
Items modified: 0 0
Items created : 0 0
Items deleted : 0 0

DirDiff complete (the directories are identical)
The disk is 66% full and all good. So, the full LBA capacity didn't work!
ShK is online now  
 
Page generated in 0.04599 seconds with 11 queries