English Amiga Board Amiga Lore


Go Back   English Amiga Board > Support > New to Emulation or Amiga scene

 
 
Thread Tools
Old 17 August 2010, 13:31   #1
ppill
CON: artist
ppill's Avatar
 
Join Date: Feb 2006
Location: Poland
Age: 36
Posts: 1,157
Send a message via Skype™ to ppill
CompactFlash installation made easy!

Here's a very simple solution to install all the drivers needed to get a working PCMCIA CompactFlash on your Amiga.

Download this, copy it over to a 720kb PC floppy disk (to prepare one under XP or higher just tape over the extra hole of the disk and in command window write 'format a: /t:80 /n:9').

I assume you have a working CrossDOS installation or some other way of accessing such disks on the Amiga. I intend to prepare a video that shows you how create a disk that has such feature form a set of original Workbench disks. For now just search around EAB, there are a few threads that should be of help (just search for Crossdos, PC0 etc.)

On the Amiga copy the CFlash.run from the PC floppy to ram: (if you can't see any files when you open the drive window just choose Window>Show>All files form the pull down menu).

Doubleclick the ram: icon. Choose Window>Show>All files form the menu. You should see an icon with a hammer called CFlash.run (if it looks like a stack of papers click on it and choose Icons>Information. A window will pop up and you need to tick 'executable' from the protection bits list, click Save then Window>Update)

Doubleclick the hammer icon then click OK. After the archive has finished extracting, close the window, click on the ram: window and from the pull down menu choose Window>Update. You should see a two new icons: install (with a CF logo) and a drawer called stuff. Double click on the install icon. This will start a script that will copy the necessary files and mount the CF0: drive for you. It quits automatically. Your adapter will be available every time you reboot. Plus you'll have a new device called FAT0 that can read FAT formatted floppy disks with longnames (unlike CrossDOS).

Anyone care to try it out?

Here's the script so you know what it's doing:
Code:
;$VER:CFlash.run 1.3 (08/24/10)
alias cls "Echo *"*E[0;0H*E[J*" "

if exists devs:compactflash.device
 version devs:compactflash.device version 1 revision 25
  if warn
   ask "Old version of compactflash.device found. Copy the latest (1.25)? (y/n)"
   if warn
     copy stuff/compactflash.device devs:
   endif
  endif 
else
 copy stuff/compactflash.device devs:
endif

ask "Would you like to copy CompactFlash debug tools? (y/n)"
if warn 
 copy stuff/cfddebug c:
 copy stuff/pcmciacheck c:
 copy stuff/pcmciaspeed c:
endif

cls

if exists devs:dosdrivers/CF0
 echo "CF0 mountlist found. Renaming to CF0_bck."
 rename devs:dosdrivers/CF0 devs:dosdrivers/CF0_bck
 cls
endif

if exists devs:dosdrivers/CF0.info
 rename devs:dosdrivers/CF0.info devs:dosdrivers/CF0_bck.info
endif

if exists sys:storage/dosdrivers/CF0
 echo "CF0 mountlist found. Renaming to CF0_bck."
 rename sys:storage/dosdrivers/CF0 sys:storage/dosdrivers/CF0_bck
 cls
endif

if exists sys:storage/dosdrivers/CF0.info
 rename sys:storage/dosdrivers/CF0.info sys:storage/dosdrivers/CF0_bck.info
endif

ask "Would you like to start the driver at boot time? (y/n)"
if warn
 copy stuff/CF0 devs:dosdrivers/
 copy stuff/CF0.info devs:dosdrivers/
else
 copy stuff/CF0 Sys:Storage/Dosdrivers/
 copy stuff/CF0.info Sys:Storage/Dosdrivers/
endif

cls

if not exists l:fat95
 copy stuff/fat95 l:
endif

ask "Install the FAT0: drive? (Access PC floppies with longnames) (y/n)"
if warn
 if not exists devs:messydisk.device
  copy stuff/messydisk.device devs:
  ask "Start FAT0: at boot time? (y/n)"
  if warn
   copy stuff/FAT0 devs:dosdrivers/
   copy stuff/FAT0.info devs:dosdrivers/
  else
   copy stuff/FAT0 Sys:Storage/dosdrivers/
   copy stuff/FAT0.info Sys:Storage/dosdrivers/
  endif
 endif
endif

cls

delete stuff/ all quiet force
delete CFlash.run quiet force
delete install quiet force
delete install.info quiet force

ask "Mount CF0: now? (y/n)"
if warn
 mount cf0:
endif

cls

unalias cls

echo "All done! Enjoy :)"

Last edited by ppill; 29 May 2011 at 03:13.
ppill is offline  
AdSense AdSense  
Old 17 August 2010, 14:23   #2
alexh
Thalion Webshrine
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 11,880
Nice guide, however CrossDOS only came on Workbench 2.1+ so this method is unsuitable for perhaps 30% of potential users (i.e. Vanilla A600HD owners who only have 2.05).

Is there any way we can utilise the method used by Amiga Explorer for installation over serial cable using nothing more than files on the Workbench disk?

http://www.amigaforever.com/kb/13-134

Ok, so if you've not got CrossDOS you're unlikely to have a serial cable but at least that is something you can buy easily at every PCWorld.
alexh is offline  
Old 17 August 2010, 14:31   #3
ppill
CON: artist
ppill's Avatar
 
Join Date: Feb 2006
Location: Poland
Age: 36
Posts: 1,157
Send a message via Skype™ to ppill
It's a self-extracting lha archive so as long you can get it over to the Amiga you're set. Doesn't matter what method of transfer you're using.

Then you just need the commands: copy, delete, iconx, and mount. That's it.

Also this version is not that A600 2.x compatible. AFAIK it (pre 3.x AmigaOS) uses a slightly different mountlist setup (a main mountlist file with the different entries instead of that devs:Dosdrivers, Storage/Dosdrivers thing). You'll still have the files you need it's just that you need to change the mountlist manually.

I plan to make the script more interactive and A600 compatible (not overwriting files that are already there and other things).
ppill is offline  
Old 17 August 2010, 14:44   #4
JLPedro
JLPedro
JLPedro's Avatar
 
Join Date: Jun 2008
Location: Coimbra, Portugal
Age: 41
Posts: 81
Nice! I'm having trouble making my cf adapter to work, will give this a try
JLPedro is offline  
Old 17 August 2010, 14:48   #5
ppill
CON: artist
ppill's Avatar
 
Join Date: Feb 2006
Location: Poland
Age: 36
Posts: 1,157
Send a message via Skype™ to ppill
Quote:
Originally Posted by JLPedro View Post
Nice! I'm having trouble making my cf adapter to work, will give this a try
Great! What setup (amiga model, kickstart, OS) do you have?
ppill is offline  
Old 23 August 2010, 21:55   #6
Rakki
Registered User
 
Join Date: Aug 2008
Location: Jyväskylä / Finland
Age: 43
Posts: 46
Format command returned an error, so I changed parameters.

format a: /t:80 /n:9 worked ok

Your script was tested and it worked ok on WinUAE but I couldn't test it on real Amiga 600.
Rakki is offline  
Old 26 August 2010, 15:52   #7
Strobestar
Re-invigorated Amigan

Strobestar's Avatar
 
Join Date: Jul 2010
Location: Sydney, Australia
Age: 40
Posts: 13
I'm also having issues with my PCMCIA CF Card Adapter, so I'll give this a go as well. Cheers
Requested Amiga Spec Info: Amiga 1200 w/ DKB Cobra '030 8Mb & FPU..

Last edited by Strobestar; 26 August 2010 at 15:55. Reason: Added Information - Requested Amiga Hardware Info
Strobestar is offline  
Old 27 August 2010, 00:04   #8
ppill
CON: artist
ppill's Avatar
 
Join Date: Feb 2006
Location: Poland
Age: 36
Posts: 1,157
Send a message via Skype™ to ppill
Updated the script and archive. It's a bit more sophisticated and user friendly and won't overwrite any files.

Enjoy!
ppill is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
CF CompactFlash Cards in the CD32 + SX-1 Cauterize support.Hardware 3 03 July 2010 21:29
CompactFlash on an A1000 via Palomax? stet support.Hardware 3 16 January 2009 18:04
FS: 32 GB CompactFlash card DJBase MarketPlace 1 07 January 2009 10:12
SMT prototypes now made easy Akira Hardware mods 4 21 July 2008 15:17
Use compactflash.device with FFS? Jerry support.Apps 3 08 December 2006 14:18

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:34.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.17566 seconds with 11 queries