Wednesday, May 8, 2013

A600: Mounting HxC & Floppy Internally (Part 1)

Hello my fellow Amigans...

From the time I got my first HxC SD Floppy emulator I was a happy man and I always wanted to mod it inside my A600.
Mods were made in the past with me putting the HxC successfully inside my A600. LCD was mounted along with the buttons and where the floppy was... the HxC was placed leaving the SD card in the floppy disk slot.
Because I wasn't 100% fond of this mod, I re-cased my A600 and waited when the time comes to see again if and how I was gonna mess with HxC.
Some time ago, I gone into slimming down the HxC and also changing the default LCD to a more tiny one just to gain as much height and space possible for a future mod.
I always wanted to put both the floppy and the HxC but space constraints on the little A600 DON'T even leave such a task to be achieved. On the past I thought about slim drives, but they seems more of a fuss instead of a solution...

Well... the time has come after seeing an EPIC thread of our fellow Amigan Orcish75 (a.k.a. Nigel).
I don't know how I missed this thread, but while searching for some floppy stuff etc... I saw this thread and I was amazed about the execution and Nigel's custom PCB and implementation.
I had to PM him asking for further info, and if he could provide me with one of his adapters!
Luckily Nigel had some spare adapters which he sent me along with a slim floppy drive he had. I had a spare slim drive from some old SBC project that required such drive with ribbon, but having one more wasn't bad :)
Nigel my friend... I can't thank you enough! You ROCK! :D

Anyway... adapter and floppy drive arrived some days looking like this...



I won't explain what this adapter does as Nigel's thread pretty much covers everything but you can see the 26pin connector for 2x slim floppies.

So... after testing the floppy and my own slim floppy on my A600 as DF0 I realized that the adapter was working! AWESOME!
To be able to test if DF1 connector worked, I needed to get 2 signals as Nigel said on his thead from the external 23pin disk drive connector. Judging from his pictures I saw that the lower 3rd and 5th pin, needed to be tied to the lower 3rd and 7th pin on the 34pin internal floppy connector (as the custom PCB takes advantage of these 2 signals without having to get extra wires to the PCB).
I then modded my own connector like this...



After connecting the floppy to the 2nd 26pin connector DF1 worked just fine. AWESOME x2!

Ok now I new that the floppies plus the adapter was working just fine. What about the HxC that has an 34pin connector and not an 26pin ribbon connector though?
After a LOT of searching Google around... I found 2 websites that I thought that corresponded as close to what I was looking for

After making the match I came down to this diagram

Signal     34 pin       26 pin
----------------------------------
VCC    --> -        --> 1,3,5
GND    --> 1,3...33 --> 13,15...25

DSKCHG -->  2       -->  6
MOTLED -->  4       -->  -
INDEX  -->  8       -->  2
DRVS   --> 10       -->  4
MOTE   --> 16       --> 10
DIR    --> 18       --> 12
STEP   --> 20       --> 14
WDATE  --> 22       --> 16
WGATE  --> 24       --> 18
TRK00  --> 26       --> 20
WPT    --> 28       --> 22
RDATA  --> 30       --> 24
SIDE1  --> 32       --> 26
READY  --> 34       -->  8


Of course to double check if my diagram was correct, I made a continuity test with my multimeter checking Nigel's 26pin connector with the 34pin connector. Every pin was a match so I though... what the hell... lets do this!
This is when it comes to soldering like the freak...




Now I had the connector with header to the HxC as DF0 with proper 17pin connector (the rest 17pins - lower row are all GND signals so I left them untouched) and the power connector.
After putting them temporarily on my A600... IT WORKED!!! Damn I was such a happy man :)
You can see from the picture bellow an image of Hybris loaded via HxC (DF0) and a network drive floppy (DF1) working simultaneously on my Amiga.



OK, adapter and floppy works! How on earth can you put both the HxC and Floppy and also the adapter? Too much cabling involved I tell ya!

I thought at first to use a base from an old broken floppy drive that I had. This is what it's case looked like...




And after a bit of Dremeling, sanding and spraying... this is how it turned out to be :)



This is how I mounted temporarily the modded and slimmed down HxC and Nigel's adapter...



...and this is installed on my A600. Can you now realize how much cabling it's involved? Wait... you haven't seen anything YET :)



This is how I putted the my own slim floppy drive on top...



...and a comparison of the whole unit comparing it with my previous original Panasonic drive.


As you can see from the previous pictures I putted Nigel's adapter vertically for tests. Sadly... case couldn't close with the adapter on... so I had to use a different approach (as Nigel did on the EAB thread) by putting the adapter horizontally.
One other thing I noticed, is that the ribbon was screwing me BIG TIME. Sadly my own drive had the ribbon on the left side of the drive, while Nigel's TEAC floppy had it on the right side. I could have used Nigel's floppy but my own, was a about 2 fingers shorter which gave me the advantage of ease of installation due to space requirements... OK I had to reallocate the 26pin connector OR I had to buy a really long 26pin ribbon... and fold it numerous times in order to come to the desired location. Thank God I had a spare 26pin connector from an adapter I had in the past...
Time for another EPIC soldering a.k.a. waste of time and energy... but essential in this case. Here you can see the front and back part of my 26pin connector extension...




I also cut a bit of the metallic base and instead added a plastic extension based on an CD jewel case (LOL). You can't say I'm not creative :)



...and this is how it looks with the adapter hot glued in place!




...and finally, attached to the Amiga. Floppy was attached temporarily with a bit of hotglue on the side for me to be able to measure EXACTLY how the orientation of the drive had to be in order for the front slot to be 100% operational.



After realizing what I needed to do and cut... the painful time of Dremeling, sanding and re-spraying occured a numerous times after I finalized where the floppy had to be placed. Once I was ready I used an instant glue to hold the drive in place and then I applied some hotglue on various points and in hole perimeter for drive to be rock stable. This is the final version of the combo looks like!



Comparing it with the original floppy drive from the side and from the front...




Ok, another crappy job was doing the holes for the HxC navigation buttons... I did it in the past, and these things need much attention if you want to do them properly without  them looking crappy.
I decided this time that I didn't want them to be put on the top of the case, but somewhere more elegantly without showing. Also I wanted them to be close to the floppy... so the only good spot that I found... was under the floppy where the little triangle on the back resides, and this is where I drilled :)



I had to put new momentary switches as the ones that I had already soldered in the mini veroboard, wouldn't fit, so I putted them individually applying a bit of instant glue on the corners of each button, holding them together in place.



...and of course hotglued them once they were steady and in position.



This is the final result :)



You might remember my old case that I kept in case I wanted to try new things... Well, it came handy for measuring where to cut the case for the eject button. Well.. the hole is rather CRAPY but it's just a test case. I will be more discreet and more PRO when I'll cut the original case of mine... but we'll cover that in "Part 2".
You can see how well the alignment of the floppy drive went!





Before I end this part, a panoramic picture of my old upper case, without the keyboard in place for better viewing and how the LCD looks comparing to the old BIG LCD :)



Stay tuned for next part soon :)

Sunday, April 28, 2013

Custom Greek Support on OS3.9

Hey my fellow Amigans... most of you won't even bother reading this article as it contains info about Greek support on OS3.9 only.
For the Greek readers though... it can be informative though so here goes :)

First of all, OS3.9, comes by default with many Localization language packs (including Greek) from the official Haage-Partner's website which you can check out here:
http://www.haage-partner.net/download/AmigaOS/BB3.9-2-Locales/

The Greek support pack, includes a Keymap toggle application (named "Hellas") which is put from the installation script on WBStartup folder plus the required localization files and the Greek keymap.
So far so good, and everything works out just fine.
The bad thing with this pack though... is that it installs USAELOT keymap which be default is the American Greek keymap. This can be really irritating for Amiga users that have an UK English keyboard so some symbols like @ and " are in different key locations.
So... even if you choose GB as the default keymap, onces the Hellas application runs on startup changes the keymap to the American USAELOT which means it screws the english support for UK keyboards.
Sadly there is no way to assign with an option or a Tooltype on the Hellas icon, that the default keymap is other than the US one :(

I remembered that in the past my father had obtained a legal Greek localized version of Workbench 2.1 (for our former A2000 beast back in the days) which happens to also have a Greek Support floppy for already installed 2.1 or 3.x systems!!!

You can see what the booting of the default Workbench 3.1 installation with the localized support looks like



The greek solution of the era (made my Mr. Kostas Tsaousis) had a popup window that showed the legal owner (in the pic you can see the name of my father),  it's telephone number and it's national identity card's ID. 
While searching the archive I saw that the required files needed for the Keymap toggle in the WBStartup folder where 2 out of the 4 installed: MenuKeySwapper and KeymapSwapper.



If you check the information of KeymapSwapper application you can see that there are many tooltype variables that we can change! One of them is the SW_Keymap1 and SW_Keymap2.



By default the SW_Keymap1 was equal to USA so I changed it to GB and voila! Everything worked as it should!!!
It was a time to make a test on my beloved custom ClassicWB3.9 installation.
After taking a backup in case I screw something up... I removed the Hellas application and instead of installing the GreekSupport of Mr. Tsaousis, I putted the files manually cause I didn't want the setup to overwrite my Locale files (after all the installation was at best for Workbench 3.x so localization would have screwed my OS3.9 localization).
What I discovered was WHEN the KeymapSwapper application run... I had an error message that the SW_Keymap2 couldn't open the GR Keymap. Hmmm that was odd cause I thought that the keymap file from the 3.9 Locale would have been compatible. I guess I was wrong since when I overwrote the gr keymap of locale 3.9 with the one from the 3.1 GreekSupport the application run just fine and I could use Greek just fine on my UK keyboard!!! Hooray!

One thing that I also realized that despite everywhere I could change the language from English to Greek (via the hotkey LAmiga-Space) I couldn't do it only in VincED. Ok someone can say easily who cares... you can ditch VincED for KingCON :)
The keymap toggle indeed works in normal CLI windows with KingCON, and I already have KingCON on my ROM so no big deal. It was irritating though so I thought about searching for a way to do it as well!
After lotsa of fiddling around I FOUND IT!
It's just a tooltype change that is required named SEARCHEXEC which is by default on YES. If you change it to NO then VincED works just fine as welll!



You can see it on my ClassicWB3.9 working normally on VincED \o/



Ofc... the greek keyboard can't implement the UK keymap as it's by default USAELOT but that is really minor. It's the same on Locale 3.9 and all greek keyboards I know.
One other thing I realized is that the Locale 3.9 greek support, has the ACCENT character one button right as we all greeks are used to (in " instead of ;). Mr. Tsaousis Greek support solution has it normally in ;

The only thing that was kinda irritating, was the popup window that showed my father's info.
Don't get me wrong, I love my father, but seeing that popup in every boot was really crappy.
My friend Cass from AmigaHellas helped me out but checking the binary of the 2 needed files that had the code that called intuition's library function. By dissasembling it, he saw what was happening, and made an alteration to the binary so the window won't be called upon running!
That was it. Now the applications run just fine and the annoying popup windows doesn't show!!!

Thanks a lot Cass my friend \o/

Despite I don't like Greek localized OS3.9 (I can enabled it at any time via Locale prefs) prefering the English one... the solution for Greek support writting is better than the original one thanks to my former greek support solution! I'm glad there's something from my Amiga past that still helps me out even today.

Sunday, April 14, 2013

HxC SD: Mounting a tiny LCD and slimming it down

Hey my friends.

Since a really long time (long before HxC Rev.F and Slim Edition), I wanted to take my Rev.C HxC SD Floppy emulator and slim it down as much as possible in order to make it moddable for my taste :)
The one thing I didn't like much was the big (lol) LCD screen that occupied a lot of space.

While searching the bay, I managed to get a really Tiny 16x2 LCD Screen that was really nice for my needs but instead of having pins, it had a ribbon as it's meant for embedded projects.



I don't mind though, as I also got a connector to wire it.
As you can see from the picture below... the size difference is definitely noticeable compared with the default 16x2 LCD screen of HxC SD :)



In order to use this LCD screen, I needed to short 2 of the opened jumper locations as I saw from the online   datasheet.



After carefully wiring the connector for the ribbon... SUCCESS I had :)



As I said before, I wanted to slim the HxC SD down so I decided to unsolder the PIC and IC sockets in order to gain some height space. It was a really boring procedure but nothing one man can't do with a bit o patience :)
Since I'm not the best in unsoldering with the El'Cheapo desoldering pump that I own, I managed to loose connection from 3 lines, which after a continuity test, managed to find from nearby lines so no problem at that! (Thank God to my 1st Rev.B to Rev.C HxC SD which helped me find the missing tracks.)
After unsoldering the LCD Header (after my successfull experiment) I soldered the wires from the tiny LCD connector directly to HxC and also hotglued a tiny pcb juts to hold the wires together not to get cut.
I also unsoldered the Drive selection jumpers and short the pins where a jumper for assigne DF0 would have been :)

You can see here the cable connection and the unsoldered PIC and IC :)



Ok, I was happy with the result, but more stuff needed to get out of the way to gain some height space as well. Obstacles were:

  • The 34pin floppy connector
  • The mini buzzer
  • The LCD contrast trimmer
  • The 3x PCB mounted buttons
  • The molex floppy power connector
Ok lets get these things one by one shall we?

The 34pin floppy connector
First of all I removed the plastic rectangle that surrounds the pins as I didn't care :)
then I bent all the pins with pliers 90 degrees. Bending one-by-one was such a BORING procedure that required a bit of attention but had to be done :(
Once might ask... WHY haven't you desoldered the header and solder an angled dual row pin connector instead? Well... firstly because I was afraid of doing some damage with desoldering, but most important that I saw that the angled double row pins had more height that I wanted.
Anyway... after bending the pins, I soldered a dual row of pins to the bent pins and everything was nice and firm :)

The mini buzzer
The buzzer is rather small, but still it has some height I didn't like. I decided to unsolder it and attach it via hotglue to the back of the unit in the middle between the lower and upper part of the PCB :) That made it a lot lower than before.

The LCD contrast trimmer
That bugger has some great height due to big leg pins. I desolder teh bastard quickly and as I measured it, there was no need to reattach it elsewhere, so I just soldered a fixed resistor value that worked great with my LCD as there was no way of putting another screen than the one I currently own.

The 3x PCB mounted buttons.
Despite being ok, the position of these 2 buttons didn't suit my needs not to mention their height was out of the question as well, so they had to go. I unsoldered these as well, and rewired them to an external mini PCB that I can put whenever I want.

The molex floppy power connector
This was too easy. I just use pliers to remove the plastic insulation of the connector alas I got some exposed pins that I will use in the future with a flat female connector :)


After all this work I tested everything but the LCD screen didn't show much stuff :O WTF. I was really sad.
AFTER a long time testing to see what I did wrong, I found that one pin of the LCD screen wasn't making a firm connection with one of the PIC pins so I just wired a bridge underneath and everything was fine as well :) I so, unglued the mini pcb and resoldered the wires once again, hotgluing them directly to the PCB and now everything worked as it should without issues!

Here you can see some pics of the whole custom work.





Just as a comparison with the original unit, I'll present some photos from my 1st Rev.B to Rev.C HxC SD. Don't take in mind the custom PCB with the RAM module that converts the board from Rev.B to Rev.C just see the whole PCB and compare :)




Not bad aye? Just tested it by:
  • Playing Hybris using Kickstart 1.3 + Disabled ACA
  • Loading WB using Kickstart 3.1 + Enabled ACA
No problem so far.
Good to know I have a modded HxC SD for future mods... :)

Stay tuned