Slimelite BBS

CFD133.lha

Back to media

use CompactFlash cards in PCMCIA slot

Size
153K (157,128 bytes)
Added
2026-11-20 03:04
Downloads
3
Long Description
SEE THE "COPYING" FILE FOR LICENSING DETAILS. (deutsche Beschreibung siehe unten - german description see below) $VER: compactflash.device 1.33 (1.1.2017) --- english section ---------------------------------------- Purpose ======= Read and write your digital photos, mp3 files etc. directly from CompactFlash cards as used by many mobile devices. The OS supplied "carddisk.device" appeared to be unable to understand CF cards. I already had bought that adapter card, so I decided to write a suitable alternative myself. New: Bugfix on 1/1/2017 by Paul Carter - Fixes init routine to retry so that SD cards inside of SD->CF adapters can work reliably. This might have the side effect of also allowing CF cards that would not work in PCMCIA slot to now work. See ADAPTER2.JPG for the type of adapter used. Finally I put this under LGPL :-)) Not plain GPL because an Amiga device driver is primarily used by the non-free OS to extend its functionality. Thus bundling the 2 should be possible. The preassembled binaries serve to make plain users life easier but you may rebuild them yourself now with AsmOne or something like that. Added transfer mode autoconfiguration. Major API rework and optimizations for use in kickstart ROMs. Added more detailled error messages. A word on hardware: you will need a special adapter card labelled "CompactFlash to PCMCIA", to "PC Card" or to "ATA". It looks like a normal 5mm PCMCIA card with a smaller slot for CF cards at the front side. There are two types of such adapters sold in good computer stores, for "CF Type 1" and "CF type 2" cards. The only two differences: "CF Type 2" adapters can also cope with thicker CF cards, like those expensive "MicroDrive" harddisks; and b) they cost more. Mine is a "CF Type 1" which I got for EUR 10 (but I also saw the same model for the double price...). Some testing results: 16Mbyte card (Hitachi): 1.0 Mb/s read, 600 kb/s write. 64Mbyte card (PQI): 1.4 Mb/s read, 1.0 Mb/s write. 128 Mbyte card (Samsung): 2.1 Mb/s read, 1.4 Mb/s write. 2Gbyte card (Sandisk): 2.1 Mb/s read, 1.7 Mb/s write. 4Gbyte card (Kingston): 2.2 Mb/s read, 1.9 Mb/s write. Good news everyone: I got positive testing reports from CompactFlash, IBM MicroDrive, Sony MemoryStick and - taadaa! - SmartMedia adapter :^)) It may be required to re-insert the adapter after plugging the memory card into it. Only for CompactFlash and MicroDrive, the plugging order is irrelevant. Another word on hardware: Commodore back then introduced the Amiga PCMCIA port before (!) the official PCMCIA standard was released. As a consequence, it is not fully compatible. Your results may vary on your actual hardware combination, including memory card, adapter, Amiga model, its chipset revision, and accelerator board model. In any case, your adapter MUST support old 16bit PC-CARD mode. Models who are 32bit CARDBUS only won`t work. In conjunction with aminet/disk/misc/fat95.lha v3.09+, cfd can now use CF card`s built-in erase function if available. Erase is performed by the card implicitely on writes, but some cards remember the erased state and do faster write cycles afterwards. See also the fat95/english/readme.too file on that purpose. Besides the usual AmigaOS error codes, there are some additional ones: 73 Miscellanous Error 96 Invalid Command 97 Invalid CHS Address (Head or Sector number wrong) 111 Invalid LBA Address (too large) 117, 118 Supply or generated voltage out of tolerance 81 Uncorrectable checksum 88 Corrected read error 69, 112-116, 119, 126 Self test or diagnosis failed 80, 84 Sector ID not found 122 Spare sectors exhausted 95 Data transfer error, command aborted 76, 120, 123, 124, 127 Media format corrupt 67 Write or erase failed 98 Command needs more supply power than currently allowed 103 Media is write protected WARNING: "CompactFlash" is (TM) by CompactFlash Association ;