Amiga.org

Amiga computer related discussion => Amiga Hardware Issues and discussion => Topic started by: AmigaBruno on February 05, 2021, 03:47:32 PM

Title: SETTING UP CF CARD IN PCMCIA SLOT
Post by: AmigaBruno on February 05, 2021, 03:47:32 PM
This is something I’ve never got round to doing, although I  meant to years ago!

I now have both a PCMCIA CF card adaptor, as well as a 4Gb CF card. Unfortunately, I have no installation software to go with it!

The software I need would come either on a floppy disk, an ADF image, or be downloaded directiy onto my Amiga from Aminet. Unfortunately, at the moment I have no floppy drive, my Gotek drive isn’t working, and I’ve never connected an Amiga to the Internet. My Amiga now boots and runs off CF cards, which I can easily swap as I’ve fitted an extension lead giving me an external CF card slot at the rear of the computer. I have two of these which I’ve used recently. One of these is from Amigakit, bought in 2015, while the other one is from someone on eBay, bought within the last 6 months. Unfortunately, the more recent one of these cards is suffering from file corruption of saved files! This card is in PFS format, which I don’t think I’ve even heard of before. These files have been saved from the game Civilization, as well as from Deluxe Paint version IV AGA and/or version V. The effects of the file corruption are that recently after reloading a saved game from Civilization lots or all of my cities have been taken over by the Barbarians and renamed as “NONE”.  As for the Deluxe Paint files, I’ve found that often some files that have been created in one version of Deluxe Paint won’t reload into that version, but will load into the other version!

I removed my internal floppy drive several years ago to fit the Gotek drive. This seemed quite easy. After that, I moved and the old internal floppy drive got lost. I did also have an external floppy drive, but I put that into storage at a club I was a member of, then then emptied all the storage units at a certain time without warning me, so I lost that as well. From some items for sale on eBay I see the software is supplied on a floppy drive. The external floppy drives are more expensive now and I may only end up using it once, just to install this software, so it’s not worth it.

When I first got this PCMCIA adaptor and the 4Gb CF card, I plugged them into my Amiga A1200, then turned it on, but the boot stopped and I got an error message in the AmigaShell window. After that, I reformatted it on my laptop using Linux with the software Gparted. Unfortunately, it didn’t matter whether I formatted it as FAT16 or FAT32, or whether the partition was 2Gb or 4Gb. The results were if I tried to boot with it already inserted, the boot stopped with the error message “LoadModule failed returncode 10”. I also tried inserting the CF card into the already inserted PCMCIA adaptor, but that always made my Amiga crash immediately.

I don’t know what’s the matter with my Gotek drive, which I bought over five years ago, but I stopped using some time ago. The original USB stick no longer worked, then I wasn’t sure what to do to get it working again. I think this version may require some older software, or the drive itself needs to be reflashed. 

Perhaps the solution is to get someone to set up the CF card for the PCMCIA slot in a certain way, then I’ll be able to use it, but I don’t know. 

Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: Pat the Cat on February 05, 2021, 05:42:56 PM
Does the Amiga have any fast RAM?

You might need to reduce it to 4MB to get the PCMCIA slot working if it's mapped into zorro 2 space, rather than 32 bit fast RAM on 030 accelerators and up.

Recent thread here, you should be able to mount your "internal" CF card in Linux and read and write to it directly rather than copying the files twice.

https://forum.amiga.org/index.php?topic=75027.0

EDIT:

You can use GParted to reveal the CF cards device ID on your system (usually sdb1) and if it's formatted in Amiga Fast File system V40 (4 gigabytes or less mount it for use on Linux with;-

mount -t affs /dev/sdXN0/mnt                      <- In a Debian Linux terminal, probably need sudo at the front
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: AmigaBruno on February 06, 2021, 11:41:25 AM
This Amiga A1200 is fitted with an 8Mb RAM expansion card from Amigakit  https://amigakit.amiga.store/product_info.php?cPath=182_25_87&products_id=12690&currency=GBP  which I bought last year, so I get the impression you know all about how that works. Ever since plugging it in, I have left it on the default setting, meaning my Amiga A1200 has 8Mb of Fast RAM. When you say reduce it to 4Mb, do you mean 4Mb on the card or 4Mb TOTAL, meaning 2Mb on the card and 2Mb internal Chip RAM? Of course, I could easily drop and lose the jumper which may disable the card, so I suppose I should buy some spare jumpers which are compatible.

I've already read the other recent thread, which was started by a newbie to the Amiga. I can't see how this applies to me, though. This latest card is also in the PFS format, which I've never heard of before.

As for the advice about GParted, neither of these cards are formatted in FFS. I think the whole point of CF cards in the PCMCIA slot is to easily transfer files to a non Amiga OS computer. In that case FAT32 or even FAT16 format is the most widely supported.
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: Pat the Cat on February 06, 2021, 05:21:30 PM
4MB on the card, not total, to answer your question.

Only about 1 in 3 cf cards work in the PCMCIA slot, it seems. You can get a card that will work plugged into the IDE with an adaptor that works fine, but won't work in a PCMCIA adaptor.

And for over 2GB partition in FAT32, you have to have a block size of 4096 or 8192. 512 bytes won't cut it if you are using Windows Format to set it up.

One alternative is to get a CF-SD card adaptor, and plug that into the PCMCIA adaptor. Those seem to work consistently, with small partitions at any rate... but that doesn't help you get the compactflash.device, fat95, CF0 and CF0.icon files onto your Amiga drives to use them.

From what you are saying, it sounds like you do have those files (CF0 in Devs/Dosdrivers, compactflash.device in Devs, Fat95 in L) but it still isn't playing ball?

EDIT: Instructions in the next link for setting up a USB stick for use with an Amiga Gotek (basically you have to copy a couple of files to the root directory of the stick so the Gotek will read any ADF files on the stick as Amiga floppy disks).

https://www.retro32.com/gaming/amiga/01042020508-amiga-gotek-getting-started-guide-installation-set-up-and-game-downloads-flashfloppy
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: AmigaBruno on February 09, 2021, 09:03:12 AM
Here's my Progress Report. I checked to see if all those files were on my CF card and in the right places, which they are. After this, I changed the RAM jumper position for the first time since I got this card and found out that my Amiga A1200 wouldn't boot up! It wouldn't boot up in the 4Mb position, so then I also tried it in the 5.5Mb position, as well as the disable position, but none of these settings worked. Sometimes I was able to view the Early Startup Menu, but sometimes I wasn't. I selected the Expansion Card Diagnostic and no card was detected! Sometimes I saw the HDD drive flickering. while sometimes I didn't. Sometimes when my Amiga seemed to be booting up, I eventually got a No Signal message from my MATSUI TV. This has also happened in Deluxe Paint whenever I've tried to change screen resolution after running the program, instead of at the beginning. I have to use the CVBS port because my RGB port is broken.I assume from what's happened that each time I moved the jumper it failed to make proper contact, so the card was disabled, but this also prevented the Amiga from booting up. I can't easily remove the card because it's too big to fit properly in the Amiga and I had a hell of a job plugging it in! The first time it didn't make contact and wasn't detected. I have only moved the jumper this time.  I even had to watch a video showing how someone else finally managed to do this before I could get it working! https://www.youtube.com/watch?v=W75pJpy93q4

After the problems I had fitting this card, I don't want to remove it then try plugging it back in. I feel that if I did this I may break the card or my motherboard!

 
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: NinjaCyborg on February 09, 2021, 04:40:19 PM
[Removed because OP is ungrateful]
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: Pat the Cat on February 10, 2021, 01:21:01 AM
...because my RGB port is broken...  I can't easily remove the card because it's too big to fit properly in the Amiga and I had a hell of a job plugging it in!

If you remove the top metal metal shield from an A1200, it gets very easy to reach the top of the card without unplugging it. This has to be done anyway to change the capacitors for new ones (definitely recommended on an A1200 if not done already).

It sounds like the connectors are a little short and it will only have full connection when it's arranged just right (not quite fully in and sligtly out of 90 degrees.
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: AmigaBruno on February 11, 2021, 12:58:35 PM
Obviously you haven't read my original post or my last post! To sum up, in my original post I said that my Amiga A1200 now boots and runs off CF cards which can be easily swapped thanks to an extension lead providing an external slot. Obviously the CF card adaptor is connected to the IDE connector. AFAIK there is no other way of booting from CF cards. In my last post I said I'd checked that all the necessary files for using a CF card in the PCMCIA slot were present and where they should be!!  This means that the problems now are the RAM expansion and/or if my particular FAT formatted CF card is compatible with the Amiga. >:(

I don't know about your memory expansion, but here's what to do with your CF card:

Yes you're right in one sense that the CF card could/should be FAT so that you can easily transfer files to another computer. But to get that far you need to first have a valid operating system that boots.

Are you using the IDE adaptor of your A1200 for anything? A hard disk? Personally I'd use a CF card with a CF to IDE adaptor internally. Treat it as your fixed system hard drive. Then you can use another CF card in the PCMCIA slot as your 'floppy disk' for data exchange between Amiga and PC.

If you have your operating system installed and booting up, then you still need a FAT filesystem driver for the removable CF card. For this, you can either use fat95 from Aminet, or if you have OS 3.1.4 then CrossDOS has been updated to support FAT32 and long file names.

If you want to boot from the CF card in the PCMCIA slot or IDE interface, it will need to be setup using HDToolbox, either by booting from the Install floppy from your AmigaOS disk set, or you can do it from WinUAE or FSUAE on a pc, mac or linux, but it's a bit fiddly.
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: AmigaBruno on February 11, 2021, 01:43:56 PM
This is a particular 8Mb RAM expansion card from Amigakit, which I gave you details of in two links. As you might have expected, the jumpers are facing DOWN, so are accessible just by removing the trapdoor panel. They're not accessible at all from the upper side of the motherboard.

Since installing the 8Mb RAM card I have never moved it at all, because it doesn't fit the casing properly and is a tight fit. I had to install it from the top instead of through the trapdoor, like in that video. All I have done since then is move the tiny jumper from the 8Mb position to the 4Mb, 5.5Mb, and disable positions, but none of these changes worked. They have made my Amiga temporarily unbootable or resulted in it turning off the output to the CVBS port before it finishes booting up.

All I can do now is keep moving the tiny jumper around on the different RAM setting positions and press it down to make sure it's properly in contact with the pins until it actually works.

As for getting my RGB port repaired, the 8Mb card checked or anything like that, I'm afraid that the COVID-19 restrictions have made that very very difficult or even impossible. It took 17 days for Amigakit just to get the RAM expansion card to me. God only knows how long it would take them to replace my RGB port, check the 4Mb, 5.5Mb, and disable jumpers on my 8Mb card. I think I might die of depression caused by the COVID-19 restrictions before then. I used to go to some electronics repair parties where one of the repairers was an Amigan. If only those parties were still running, but the COVID-19 restrictions have forced them to be suspended and moved online. I could watch lots of videos of people soldering as well as changing jumpers, but that doesn't enable me to do these things myself!

Another way round this is that there is actually some Amiga to PC file transfer software that has been preinstalled onto the main CF card hard drive I'm using. This requires a connecting cable to work. In the past, I used similar software with an old PC serial port. I don't know if the software on my current Amiga CF card will transfer files using a cable from the Amiga serial port to USB, though.   

...because my RGB port is broken...  I can't easily remove the card because it's too big to fit properly in the Amiga and I had a hell of a job plugging it in!

If you remove the top metal metal shield from an A1200, it gets very easy to reach the top of the card without unplugging it. This has to be done anyway to change the capacitors for new ones (definitely recommended on an A1200 if not done already).

It sounds like the connectors are a little short and it will only have full connection when it's arranged just right (not quite fully in and sligtly out of 90 degrees.
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: NinjaCyborg on February 11, 2021, 01:49:51 PM
People here are trying to help you. If you don't want their help that's fine too.
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: Pat the Cat on February 11, 2021, 06:11:17 PM

Another way round this is that there is actually some Amiga to PC file transfer software that has been preinstalled onto the main CF card hard drive I'm using. This requires a connecting cable to work. In the past, I used similar software with an old PC serial port. I don't know if the software on my current Amiga CF card will transfer files using a cable from the Amiga serial port to USB, though.   


Programs to look for on your CF drive - NComm, Zterm, Xterm. They are terminal emulators that can transfer files over the serial port.

Now, I know setting up a usb port as a COM port is doable in Windows, because that's how programs like Pronterface talk to 3D printer controller boards. same principle, although Pronterface can't upload or download files (just typing commands).

That means on the PC side, you would have to install a terminal emulator program capable of file transfers like XModem, YModem or Zmodem protocols, point it at the right COM port, and yes, that should work. If they're both running at 38400 speed or lower.

It is worth checking the "storage" drawer of your bootable CF drive. You might find that compactflash.device and Fat95 are already in devs and L, but the CF0 icon was put into storage rather than devs/Dosdrivers.

EDIT: I apologize, you have obviously done the last as you reported finding the files!  :-[
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: Pat the Cat on February 11, 2021, 06:28:26 PM
If you disconnect the CF drive and set the memory to 4 or 5.5 mb - do you get the purple Kickstart screen with a disk going into a drive?

That would indicate the problem with less memory isn't the memory card, it's your hard drive setup needing at least 6MB of fast RAM to boot up properly.

One way to further test that is to reconnect the CF card, hold down both mouse buttons, and turn on. Wait for a prompt to type at.

Then type

Bindrivers
Loadwb
endcli

Pressing the reurn key each time. That would give you a very minimalist Workbench.

EDIT: One particularly hoggy program is Poseidon. It's for usb. If that's in your user-startup drawer (automatically loaded on start). It would cause this sort of problem (and it's completely pointless unless you have a usb interface on a clockport or similar). I don't think you do, otherwise you wouldn't be bothered about PCMCIA or serial solutions to transfer files.
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: AmigaBruno on February 13, 2021, 12:37:17 AM
Great suggestion! Somehow this worked!!  :D

The sequence of events as I remember it is as follows...

1. I moved the jumper from disable to 4Mb

2. I removed the Amiga A1200 CF card hard drive.

3. I turned on the Amiga A1200 and the purple insert floppy disk animation was displayed

4. I turned off the Amiga A1200 and inserted my older CF hard drive card which I bought in 2015 from Amigakit.

5. I turned on the Amiga again and it booted up from the five year old CF card!

6. I turned off the Amiga and inserted the CF hard drive card I bought last year.

7. I turned on the Amiga again and it booted up from this latest CF hard drive card!

8. After booting up, I found a new icon on my Scalos/Workbench screen. It looked like a floppy disk, but its name was a number with a dash in the middle of it. After clicking on it, I found that the capacity of this new disk was about 2Gb! This meant that the CF card inserted in an apaptor in my PCMCIA slot was finally recognised!!

9. I soon found that I was able to copy my Deluxe Paint graphics files from my Amiga CF hard drive card onto the FAT32 hard drive card in my PCMCIA slot!

10. Just after this, I loaded these same Deluxe Paint graphics files into Personal Paint which was preinstalled onto my Amiga CF card hard drive, converted them all into PNG format, then saved them onto the CF card in the PCMCIA slot.

11. I turned off my Amiga and removed the CF card from the PCMCIA slot.

12 I inserted this FAT32 formatted CF card into a USB CF card reader and plugged it into a Toshiba Satellite C60 laptop, which has both KDE Neon Linux and Elementary OS Linux installed.

13. I found that using a combination of Elementary OS and KDE Neon Linux (both Debian based) I was able to mount my CF card, read the files and copy them onto my laptop hard drive. I can't remember the sequence of events here, but each of these Linux distros has access to the other distro's partition. I feel that KDE Neon Linux is more powerful than Elementary OS.

14. I was able to copy the files from the CF card onto my laptop hard drive!

15. I was able to view the PNG format graphic files using the Gwenvew file viewer under KDE Neon Linux.

So, that's it! I can now take my Amiga artwork further, although my Amiga still isn't on the Internet! I think that the whole attitude behind the Amiga is more creative and quite different from other computers, running Microsoft Windows, Linux, and Mac OS. I stopped using Mictosoft Windows some time ago. At the moment, apart from Amiga OS I use Linux on my laptop, Android OS on my mobile phone and tablet, and only a couple of days ago I bought a Macbook Air (2014) from eBay, running the latest version of Mac OS, called Big Sur. I now plan to take my Amiga artwork further, posting it online, as well as using my newly installed FAT32 CF card to transfer a lot of amazing Amiga programs onto my Amiga fron anywhere online where I can find them. 

For now, I'll try to upload some artwork for a music album of my own music which I'm designing with a friend. Apart from Deluxe Paint, we've been using Ibis Paint and Adobe Draw to help put it alll together. The album is called "Decay". This is a kind of protest about lack of fashion connected with music, as well as a lack of progress in certain technologies, including space exploration. Unfortunately, although I tried, I wasn't able to upload the DECAY logo into this message!



If you disconnect the CF drive and set the memory to 4 or 5.5 mb - do you get the purple Kickstart screen with a disk going into a drive?

That would indicate the problem with less memory isn't the memory card, it's your hard drive setup needing at least 6MB of fast RAM to boot up properly.

One way to further test that is to reconnect the CF card, hold down both mouse buttons, and turn on. Wait for a prompt to type at.

Then type

Bindrivers
Loadwb
endcli

Pressing the reurn key each time. That would give you a very minimalist Workbench.

EDIT: One particularly hoggy program is Poseidon. It's for usb. If that's in your user-startup drawer (automatically loaded on start). It would cause this sort of problem (and it's completely pointless unless you have a usb interface on a clockport or similar). I don't think you do, otherwise you wouldn't be bothered about PCMCIA or serial solutions to transfer files.
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: Pat the Cat on February 13, 2021, 03:39:41 AM
Great news.

Maybe if you'd just edited the CF0 mount entry to use a sector size of 4096 rather than default 512, the card would have worked as supplied and you'd have all the capacity.

Something wasn't seated quite right, but it's all going now at least.

I can understand totally if you don't want to mess with it anymore. :)
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: AmigaBruno on February 13, 2021, 01:45:39 PM
I reformatted this card a few times in the past to try and get it to work at all. I used GParted under Linux every time. The last reformat also involved only having a 2Gb partition because I heard there were problems with larger partitions, or even cards larger than 2Gb at all. I have never used a CF card in the PCMCIA slot before, and I don't remember reading any advice about editing the CF0 mount entry. I'm just relieved that it's finally working! 

At the very bottom of this post you can see a graphic file I've transferred from my Amiga A1200 running Linux. I also converted it to PNG using Personal Paint. I think I just needed to add the extension PNG for it to be uploaded on here.



Great news.

Maybe if you'd just edited the CF0 mount entry to use a sector size of 4096 rather than default 512, the card would have worked as supplied and you'd have all the capacity.

Something wasn't seated quite right, but it's all going now at least.

I can understand totally if you don't want to mess with it anymore. :)
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: AmigaBruno on February 13, 2021, 02:22:56 PM
Here's some more artwork I'm doing for my album cover. This title "DECAY" is meant to look rotten, rusted, and oxidised.

As for the CF card I set up in 2015, it also contains artwork, but doesn't contain those files for supporting FAT32 CF cards in the PCMCIA slot, so I'll have to set that up to copy my artwork off there.

I also have another CF card I used a lot up until 2015. This card has somehow been corrupted and become unbootable. What do you think I can do about that?



Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: AmigaBruno on February 13, 2021, 02:23:31 PM
Here's some more artwork I'm doing for my album cover. This title "DECAY" is meant to look rotten, rusted, and oxidised.

As for the CF card I set up in 2015, it also contains artwork, but doesn't contain those files for supporting FAT32 CF cards in the PCMCIA slot, so I'll have to set that up to copy my artwork off there.

I also have another CF card I used a lot up until 2015. This card has somehow been corrupted and become unbootable. What do you think I can do about that?

Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: AmigaBruno on February 13, 2021, 02:24:38 PM
Here's some more artwork I'm doing for my album cover. This title "DECAY" is meant to look rotten, rusted, and oxidised.

As for the CF card I set up in 2015, it also contains artwork, but doesn't contain those files for supporting FAT32 CF cards in the PCMCIA slot, so I'll have to set that up to copy my artwork off there.

I also have another CF card I used a lot up until 2015. This card has somehow been corrupted and become unbootable. What do you think I can do about that?

Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: AmigaBruno on February 13, 2021, 02:34:05 PM
Unfortunately, I've accidentally posted my last message three times. This was after an error message saying my session had expired, then I'm not sure what happened, but I couldn't see my message. Can a moderator delete two of those messages? I can't find any option to delete them.  :(
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: Pat the Cat on February 13, 2021, 08:22:10 PM
IIRC you can click "Modify", delete all the text in them, then click "save".

One thing you never mentioned - which version of Kickstart is in the A1200.? Do tell.

Is it the two Commodore supplied Kickstart 3.0 chips, or does it have 3.1 or later ROMs?

It does make a difference, 3.1 and above tends to turn off the PCMCIA card if more than 4MB of extra fast Zorro II memory is detected (so not an 030 accelerator card or above, but usual for a memory expansion for the built in A1200 020 CPU, ie your particular case).

Kickstart 3.0 doesn't bother, it just assumes everything is going to work together.

The version number and revision is displayed on the purple "I can't find a hard disk" screen. Vt39 for Kickstart 3, V40 for 3.1, upwards for 3.x and 3.1.4 (native big capacity drive support).
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: AmigaBruno on February 14, 2021, 10:42:28 AM
I tried Modify and deleted all the body text, then tried to save, but that didn"t work.

My Amiga Kickstart version is 3.0. The Revision number is 39.106. I don't know how hard it would be to upgrade this.

My main problem at the moment is the broken RGB port. Only one pin (No. 23) is half broken off, but because of this the whole port must be replaced! It seems this pin sends a signal to switch my TV from CVBS to RGB input.

It"s a great shame that there are all these problems such as Fast RAM clashing with the PCMCIA slot. I don"t really understand why this happens. After I got my first Amiga in December 1988, I read not long afterwards that the Amiga computers have no memory map, except Exec = $04. The book or article said something like the Amiga would configure its RAM however it needed to and nothing would be at a fixed location. Years later, I read that this kind of thing is due to the Amiga Workbench OS, but if you turn off the OS for games or demo coding, then this doesn't apply and in that case you've got a memory map with the custom chips, etc at fixed locations. Can you explain this any further? It's a bit confusing talking about Zorro RAM and 32 bit RAM, because AFAIK the A1200 trap door slot isn't a Zorro slot and the whole A1200 is 32 bit, unlike the A1000, A500, A2000, or A600.

I've been doing some more work on my graphics, mainly on that analogue watch picture, but I found that some of it coudn't be done with only 6Mb, so I had to change the jumper setting again. The Amiga went into a loop with a Recoverable Alert and a Requester asking me to click Proceed, but I wasn't able to click on it. There was also a green box telling me about the lack of RAM. This happened when I picked up the watch as a brush to bend it for a more 3D effect instead of leaving it looking very flat. After I change the jumper setting, the Amiga doesn't always boot up.

 
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: Pat the Cat on February 14, 2021, 06:51:42 PM
I also have another CF card I used a lot up until 2015. This card has somehow been corrupted and become unbootable. What do you think I can do about that?

If you can copy the CF0 file to like CF1, and modify it to point at ffs (Amiga fastfilesutem andler)  rather than Fat95 (fat32 filesystem handleron the Amiga) then you could try formatting it and setting it up in the PCMcia slot. You would have to wap the CF0 and CF1 icon in and out ofd DOsdrivers to get it recognized, but that would let you setup the (nonworking) CF card drive usinging your working cf card that does work with PCMCIA.

Then maybe you could put your other CF drive in the pcmcia lot working wit the new CF1 mount file, and jut copy the file to it to ue PCMCIA compact fiaslh.

Getting your Gotek working just has to be easier.

Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: Pat the Cat on February 14, 2021, 07:25:29 PM
I tried Modify and deleted all the body text, then tried to save, but that didn"t work.

My Amiga Kickstart version is 3.0. The Revision number is 39.106. I don't know how hard it would be to upgrade this.

Changing two old ROM chips for 2 new ROM chips. It's not that difficult, making sure you get the notches the same way as the old ones fitted. If they're fitted wrong order (lo in hi, hi in lo), It won't power up but no damage done. But do get them fitted right way round and correectly spaced (usually have extra pair of pins that are not connected). Fitting the the wrong notch around or trying to use wrong pins can really mess up the chips and the A1200.

They behave very differently though from original 3.0. They take much longer to boot, they turn the PCMCIA off (usually a little program runs on a hard disk to turn it back on again). Latest one (3.1.4) was aimed very much at making big drives and partitions usable straight from boot, plus bug fixes.

Quote
My main problem at the moment is the broken RGB port. Only one pin (No. 23) is half broken off, but because of this the whole port must be replaced! It seems this pin sends a signal to switch my TV from CVBS to RGB input.

That's fixable. It seems there are still supplies of 23 pin D connectors to fit EDIT Not cheap, like £25 each for ones that mount on main board.

Quote
It"s a great shame that there are all these problems such as Fast RAM clashing with the PCMCIA slot. I don"t really understand why this happens. After I got my first Amiga in December 1988, I read not long afterwards that the Amiga computers have no memory map, except Exec = $04. The book or article said something like the Amiga would configure its RAM however it needed to and nothing would be at a fixed location. Years later, I read that this kind of thing is due to the Amiga Workbench OS, but if you turn off the OS for games or demo coding, then this doesn't apply and in that case you've got a memory map with the custom chips, etc at fixed locations. Can you explain this any further? It's a bit confusing talking about Zorro RAM and 32 bit RAM, because AFAIK the A1200 trap door slot isn't a Zorro slot and the whole A1200 is 32 bit, unlike the A1000, A500, A2000, or A600.

Every Amiga has auto-config. When an Amiga powers on, it takes note of expansions, extra ROMs fitted in them. You may not think of the trapdoor in an A1200 as being a Zorro slot, but Mediators connect that way, and they do have Zorro (even PCI) slots.

Most Amigas all have 24 address lines. That's a total of 16MB. Up to 2mb chip RAM at the beginnin, the ROM grows downward from the end of memory, and where fast RAM gets placed is a matter of what expansions are detected at power on.

The way Commodore did PCMCIA, you could plug in extra RAM to the PCMCIA on a600s and A1200s. It wasn't very fast. But it was convenient (and expensive).  It was a bad implementation.

Kickstart 3.0 just assumes you have 4mb of extra memory or less and leaves the port turned on. The fixes to 3.1 on the hard drive try to turn it  on again.

Hence the early startup, to give the user some idea of what expansions the Amiga was recognizing

Quote
I've been doing some more work on my graphics, mainly on that analogue watch picture, but I found that some of it coudn't be done with only 6Mb, so I had to change the jumper setting again. The Amiga went into a loop with a Recoverable Alert and a Requester asking me to click Proceed, but I wasn't able to click on it. There was also a green box telling me about the lack of RAM. This happened when I picked up the watch as a brush to bend it for a more 3D effect instead of leaving it looking very flat. After I change the jumper setting, the Amiga doesn't always boot up.

Perhaps the memory card needs at least one cold reboot for the new setting to take effect. It can't flip straight from one memory setting to the other.

A few cards are configured that way as a fail safe. Or maybe it's an old corroded jumper that isn't making a good connection to the pins.

I guess maybe one not too expensive way for file transfer is a faster serial port off a clockport. Or get your Gotek working again.

I still swear by just using FFs partitions and filesystems and Linux mounting the drives though. No WInUAE for me. It does help that I know how to setup a working hard drive, but I would struggle hugely too without any kind of floppy drive.
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: AmigaBruno on February 14, 2021, 11:44:23 PM
Thanks for all your help so far, it's been amazing!  :D

Unfortunately, I don't think you understand what I want to do with this corrupt CF card. If you do understand, then it's even more complicated than I thought! It's a 4Gb Sandisk CF card which was used by me as an Amiga A1200 CF hard drive some time before 2015, or even before 2014 or earlier! This means it contains various Amiga files which I want to rescue. They're probably Deluxe Paint artwork I did. I recently inserted it into the PCMCIA slot and it came up as NDOS. What's the best way of salvaging the files on this CF card? I think there may be some particular software I could use for this, which might be on Aminet.

As for my Gotek drive, that's a totally different issue. I bought it in 2015 via eBay. I can't remember which seller I bought it from. I don't think I can check my eBay account that far back, either. I think that the firmware needs to be reflashed. I don't know what firmware it originally used. I have never flashed the firmware on a Gotek drive, so it would be easier just to buy a new Gotek drive! I also found when it still worked that it wasn't possible to do file transfers by creating blank ADF files, then copying some files from my CF card onto an ADF image on my Gotek drive's USB stick. These files appeared when using the USB stick with the Gotek drive, but didn't appear when I plugged the USB stick into a laptop or desktop PC and read the ADF files in an emulator. The ADF images just appeared as blank.

I also have another CF card I used a lot up until 2015. This card has somehow been corrupted and become unbootable. What do you think I can do about that?

If you can copy the CF0 file to like CF1, and modify it to point at ffs (Amiga fastfilesutem andler)  rather than Fat95 (fat32 filesystem handleron the Amiga) then you could try formatting it and setting it up in the PCMcia slot. You would have to wap the CF0 and CF1 icon in and out ofd DOsdrivers to get it recognized, but that would let you setup the (nonworking) CF card drive usinging your working cf card that does work with PCMCIA.

Then maybe you could put your other CF drive in the pcmcia lot working wit the new CF1 mount file, and jut copy the file to it to ue PCMCIA compact fiaslh.

Getting your Gotek working just has to be easier.
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: Pat the Cat on February 15, 2021, 02:15:40 AM
Thanks for all your help so far, it's been amazing!  :D

Unfortunately, I don't think you understand what I want to do with this corrupt CF card. If you do understand, then it's even more complicated than I thought! It's a 4Gb Sandisk CF card which was used by me as an Amiga A1200 CF hard drive some time before 2015, or even before 2014 or earlier! This means it contains various Amiga files which I want to rescue. They're probably Deluxe Paint artwork I did. I recently inserted it into the PCMCIA slot and it came up as NDOS. What's the best way of salvaging the files on this CF card? I think there may be some particular software I could use for this, which might be on Aminet.

Disksalv is the only Amiga program I'm aware of for rummaging around in hard drives looking for data. You still got the issue of getting it to mount as an Amiga formatted disk rather than FAT32 disk.

Kill or cure method if you don't get any joy - try an fsck on the partition on a Linux machine, after mounting it as an Amiga partition.

If it's NOT in fastfilesystem from Workbench 1.3 - 3 hen that would probably destroy the data. Can you remember if you set it up from floppies or bought it with Workbench installed?

Quote

As for my Gotek drive, that's a totally different issue. I bought it in 2015 via eBay. I can't remember which seller I bought it from. I don't think I can check my eBay account that far back, either. I think that the firmware needs to be reflashed. I don't know what firmware it originally used. I have never flashed the firmware on a Gotek drive, so it would be easier just to buy a new Gotek drive! I also found when it still worked that it wasn't possible to do file transfers by creating blank ADF files, then copying some files from my CF card onto an ADF image on my Gotek drive's USB stick. These files appeared when using the USB stick with the Gotek drive, but didn't appear when I plugged the USB stick into a laptop or desktop PC and read the ADF files in an emulator. The ADF images just appeared as blank.

I was thinking more of swapping the CF driver between Workbenches rather than transferring files the Amiga to PC. You can get Adfs of blank floppy disks.

Anyway, 3 ways to flash the firmware - copy the files onto a fresh usb stick as described. The Gotek flashes itself from the HXFconfig file.
 On first power on with the Amiga, it will ask you to point at which ADF files point to which menu number.

Only If that doesn't work, then you either have to bridge four holes on the Gotek and flash with a usb A-usb A cable from a PC. Or do it with a usb =a linked to a level convertor board hooked up into the guts of the thing.

It isn't that difficult, there are tutorials on Youtube. Although most of them use Windows. (There are linux alternatives of course).

If you bought it in 2015, pretty sure it will have fast floppy style of firmware already and just copying the files onto a usb should reflash. Maybe that needs a small partition too - 8GB biggest stick I've seen offered with them, could be a factor.

They get much more useful with an OLED screen. That tells you the name of he disk when you are moving around the list of adfs.
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: Pat the Cat on February 15, 2021, 05:17:58 AM
A more detailed explanation of how you flash a gotek with video links and Linux alternative method to Windows;-

https://github.com/keirf/FlashFloppy/wiki/Firmware-Programming

Couple clarifications - you don't need to solder anything when changing Kickstart ROM chips. At least on an A1200.

Most adf files have protection bits set. If you set them to prwed then they can be edited. (Including adfs of blank Amiga formatted floppy disks. With the protection bits set, they can't easily be changed (or even deleted without formatting the usb. That could be where you came a cropper before?

This makes a big difference to saving files on a Gotek pretending to be a floppy disk. The ADFs size doesn't change, they are all exactly the same length.

Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: AmigaBruno on February 16, 2021, 03:31:48 PM
@ Pat The Cat, from the details you've given about the ROM chips, they don't do that much, so I don't really need them. One big difference is taking longer to boot, though. This would happen every time, no matter what I wanted to do with the Amiga, so that would be a disadvantage.

As for the 23 pin D connnectors, the main problem is how to fit one or get it fitted. I have only one Amiga at the moment. I haven't managed to learn how to solder properly and this looks much more complicated than soldering a couple of wires. Of course, if I sent my Amiga away for repair, then it could take ages to be repaired and come back. I think I can use Twitter to contact an Amiga A1200 enthusuast and electronics repairer who's really good at soldering, then we might be able to meet up and he could do the RGB port replacement during the space of one day while I was with him. 

An alternative to replacing the RGB port might be to get another TV with a SCART socket or some other socket which is in RGB mode by default, or can be put into RGB mode before I connect my Amiga into it. Do you have any ideas what kind of TV this would be or how it would be put into RGB mode?
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: Pat the Cat on February 16, 2021, 06:29:41 PM
In terms of alternatives, they all need a voltage to switch to RGB mode AFAIK...

... And I was wrong about a supply of available video connectors (ones required are for board mounting, with the pins going 90 from horizontal to vertical, to connect to a board. I would guess Amibay would be one place to adverrtize for such a need - people do strip dead boards for such "they don't make them anymore" sort of connectors. Then when you have the spare, you could arrange a meet n fix session.

But, if you can solder a wire to a pin or two... What you could do is take +5V from one of the other ports on the back of the Amiga, and connect that instead to the cable going to the TV.

23 pin connectors are available for the cable side of things (external floppy drive port has these) so you could do it that way and at least get a functioning system. As a short term solution until you get the port fixed properly.

As for ROMs, most hard drive installs on CF cards expect 3.1 ROMs. That can cause issues too. Although if you're just gaming and 2d doing artwork, you'll probably be OK. The big difference was RTG support (between 3,0 and 3,1) for 24 bit graphics cards.
Title: Re: SETTING UP CF CARD IN PCMCIA SLOT
Post by: Pat the Cat on February 16, 2021, 07:43:50 PM
As for that "getting my old data back from a non-booting CF card" - I suggest you start a new thread on that, after getting your Gotek going.

I am not at all familiar with CF cards, I stick to sd and msata drives with adapters. CF have a problem with attaching 2 cards on the same channel (ide cable with 3 female connectors), which is why I avoided them in the first place. AFAIK they don't like being master drives on a channel, they're only happy as slaves. I could be wrong on that.

A request for a mountlist for an Amiga formatted CF card being made available via PCMCIA would be a start. Although things like a ready made floppy to do that would require you getting your Gotek working first, which is why I'm suggesting you start with that before asking.