Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: motorollin on January 11, 2008, 07:14:47 PM
-
Lots of problems today :-)
I've got a 4GB compact flash card in a CF->IDE reader, connected to the internal IDE interface of my A4000. The card has a single FAT32 partition filling the whole card. I am trying to get MountDOS to mount the partition (it can see it in the list). I am using this command:
MountDOS DEVICE scsi.device UNIT 0 FAT95 MOUNT
It mounts MD01:, but if I try to access it (even CD to it) I get an error saying "MD01:: bad number". I do have Fat95 in L:.
I wondered whether the partition may be too big, so I deleted them all and created one 512MB in size, but got the same error. I get no icon on Workbench, and the volume doesn't show up anywhere. The partition is readable and writeable on a PC. The card is actually a Sony Memory Stick Pro Duo in a MS Pro Duo -> CF adapter. Not sure if that matters.
--
moto
-
Just tried with a 512MB Compact Flash card (a real CF card this time) and got the same problem. Here is the mountlist created by MountDOS for that card:
MD01:
FileSystem = L:fat95
Device = scsi.device
Unit = 0
Flags = 1
Surfaces = 1
BlocksPerTrack = 1
MaxTransfer = 0xFFFE00
Reserved = 0
LowCyl = 63
HighCyl = 1000943
Buffers = 20
BufMemType = 1
StackSize = 2048
Priority = 10
GlobVec = -1
DosType = 0x46415401
Activate = 1
#
--
moto
-
I'm no expert moto, but give this a go mate :-)
It is actually the mountlist of the driver CF0 which works any sized CF card on the PCMCIA slot of an A1200. I've managed the complicated task of changing 'compactflash.device' to 'scsi.device' :oops: :-D
FileSystem = l:fat95
Device = scsi.device
Unit = 0
Flags = 0
LowCyl = 0
HighCyl = 0
Surfaces = 1
BlocksPerTrack = 1
BlockSize = 512
Buffers = 20
BufMemType = 1
BootPri = 0
Stacksize = 4096
Priority = 5
GlobVec = -1
DosType = 0x46415401
-
Thanks, but I don't think that will work. The LowCyl and HighCyl parameters in the mountlist I posted define the boundaries of the partition. The mountlist you posted doesn't have those parameters because the mountlist can't know how big the card is until it attempts to mount it. There must be a function in compactflash.device which looks at the card and finds its partition boundaries. Since scsi.device can't do this, it won't work without LowCyl and HighCyl.
--
moto
-
Fat95 does this. You should read the Fat95 documentation. Especially the section where it describes what LowCyl=0 means for it.
Bye,
Thomas
-
Hmm ok. So would that mountlist A4000_Mad posted work?
--
moto
-
Just used GiggleDisk (http://aminet.net/package/dev/c/giggledisk) to create a mountlist and it seems to work!
--
moto
-
Hmm spoke too soon. GiggleDisk created a mountlist which worked for the 512MB card, but not the 4GB MS in the adapter. Thomas would that mountlist A4000_MAD posted work?
[EDIT]
Yes I did create a new mountlist for the 4GB card...
[/EDIT]
--
moto
-
Nemmind, typo in mountlist when I changed the filesystem :-) GiggleDisk mountlist works for the 4GB card :-D
--
moto
-
A4000_Mad wrote:
I'm no expert moto, but give this a go mate :-)
It is actually the mountlist of the driver CF0 which works any sized CF card on the PCMCIA slot of an A1200. I've managed the complicated task of changing 'compactflash.device' to 'scsi.device' :oops: :-D
FileSystem = l:fat95
Device = scsi.device
Unit = 0
Flags = 0
LowCyl = 0
HighCyl = 0
Surfaces = 1
BlocksPerTrack = 1
BlockSize = 512
Buffers = 20
BufMemType = 1
BootPri = 0
Stacksize = 4096
Priority = 5
GlobVec = -1
DosType = 0x46415401
motorollin wrote:
Hmm ok. So would that mountlist A4000_Mad posted work?
Yes it does 8-)
(http://i120.photobucket.com/albums/o164/Cyberstorm604e/Sandisk.jpg)
I've just used it to read both a FAT formatted 64MB and a 1GB Compact Flash card with an A4000 for the very first time :banana:
:pint:
-
Really? I couldn't get it to work. Probably my fault :lol:
--
moto
-
Try to format the disk on the Amiga (with FAT95). I remember having a similar problem with an SD card in an USB adapter used with WinUAE. No matter what I did, the Amiga could not read it, but the PC could. After formatting it (with quick format) both the PC and the Amiga can read it.
Bye,
Thomas