Wednesday, February 3, 2021

Z80-MBC2 and the uTerm

One of the funnest projects that I've built has been the Z80-MBC2 and the uTerm projects by Fabio Defabis; what's more he just keeps churning out the Open Source goodness.

You can read more able the projects with the numerous links below:

https://www.facebook.com/groups/Z80MBC2

https://hackaday.io/project/159973-z80-mbc2-a-4-ics-homebrew-z80-computer

https://hackaday.io/project/165325-uterm

https://github.com/SuperFabius 

I'm really happy with my z80 CP/M board and after a REALLY long time I've finished my uTerm.


Why so long to finish the uTerm . . . well I am glad you asked!

 

After completing the uTerm it was time to program the STM chip and oh boy it went super pear shaped.  I looked for doco on how to do it and I just missed everything.  I plugged it in the wrong way connected power and POP . . . it was dead.  What follows is a HOW not to blow up your uTerm blog entry.

Read the Hackaday page : https://hackaday.io/project/165325-uterm/details

Scroll down to : HOW TO FLASH THE STM32 WITH THE ST-LINK V2

Read my Blog so you don't make mistakes!

  1.  The FIRST thing you should solder to the board is the STM chip
  2. The SECOND thing you should do it to solder on the 4 pin header for J6

        NOW STOP!!  It is time to program it.

You'll likely notice that there isn't much room around the chip once you put all of the through hole components in.  If you fully populate it, it's going to be a pain to get the broken chip out and put a new one in.  The second reason is that the STM chips have been really hard to get hold of.  I had to wait 3 months just to get mine on back order. 

  • The next thing to do is to PLUG the programmer into the board correctly. Make sure you have NOT plugged it into your computer.  Leave it disconnected until it is connected to the board like so.
  • The order of the pins of J6 on the uTerm board is as follows :

                PIN 1 : VCC 3.3v - ** make sure it is 3.3v ** 

                PIN 2 : SWDIO

                PIN 3 : SWCLK

                PIN 4 : GROUND 

  •  Check you programmer as pinouts are all different.  Mine has the pinout printed on the side.


  • With 4.6 version of the STM32 ST-LINK Utility you will need the following settings.

And you are done, now I have a green blinky cursor.

The complete uTerm.





Sunday, December 13, 2020

Repair : Fixing an Amiga tank mouse

I recently bought an Amiga mouse on Ebay.  Unfortunately the little sucker wouldn't work in the horizontal axis.  After a little searching I found this very useful youtube video.  I plugged the mouse into my scope and saw right away that one of the photo transistors wasn't working properly. So I decided to just replace them.

So off to RS Compnents I went to get some OSRAM LPT 80 A Radial Side Lookers.

Taking the black body off was a pain in the bottom.  I DO NOT recommend trying to lever the locking parts apart.  Just try to lever the whole part up.  I broke mine and had to glue them up.



You need to put the parts together and slide them in, just really gently. The slide the wheel in really gently as well.

If you do happen to break any of the plastic there isn't much that will stick to it.  I tried Tamiya model cement and super glue with no joy.  The only thing that did work was E6000 and it worked amazingly.
I did let mine cure for 3 days before re-assembly.

Now I have another working Amiga 600 tank mouse.
 
 


Alternate parts : A new battery for my Amiga 500 memory expansion

I've heard horror stories of Amiga batteries destroying boards so I thought I'd replace mine with a coin cell battery.  It turned out that the memory expansion was in really good condition and the battery looked brand new, but still it had to go.

I ordered a replacement battery from Amiga Kit on Ebay and off I went.

First things first the RF shield has three soldered tabs to deal with.  I used my desoldering gun to get most of the solder off and then a hot iron and heaps of solder wick.  A couple of plastic spudgers are also useful to help lever out the tab while heating it with your soldering  iron.


Off with the old and on with then new.

While I was in there I decided to replace the capacitors as well.


In the end it turned out very well, although the RF case was a little tight going back on.  I didn't resolder the tabs,  I just used some Kapton tape to secure it together.


Wednesday, October 14, 2020

Amiga Backup for Disaster Recovery of CFIDE and Kernel ROM

Before I start I'll preface this entry with the fact that under Australian Copyright Law you are legally allowed to backup and restore your personally owned / licensed software for the purpose of backup and recovery for those and only those said items. This may not be applicable in your country!

The trouble with old hardware is that it fails and some parts fail more quickly than others. On one of my Amiga's I have already lost a hard drive and the kernel eprom as well.  This can be a real nightmare if you don't have a backup (I didn't so I had to buy new legal ones), so just like your photos, documents, software etc etc you should back them up!

CFIDE Backup

 If like me you are using modern Compact Flash (CFIDE) drives, it's really easy to back them up.  You will need a Memory  Card reader that supports Compact Flash and some good imaging software. Take your image and store it somewhere safe.  I keep one on my backup drive and one on a spare CF card.

Things you will need.

1) Disk Imager : https://sourceforge.net/projects/win32diskimager/

2) Generic Card reader :  https://www.officeworks.com.au/shop/officeworks/c/technology/hard-drives-data-storage/card-readers

3) Spare CF cards : I'm just using 4GB cards.

Kernel ROM Backup

Backing up your Kernel ROM is also easy but you'll need more hardware.  You need to remember to backup all of your ROM's as each model Amiga will have a slightly different one.  You will also need some spare EPROMS.

Most Amigas use 27C400 EPROM's, the A1200 apparently uses a 27C800 EPROM's.  It's a good idea to get a few and just put them away for a rainy day.  I also have a licensed multi-ROM that uses a 27C800 so I can have two ROM's on it and switch between them, it was pricey but well worth it.

Mostly the EPROM's available are UV erasable with little windows on them.  There are also some more modern EEPROM's about but none that I've seen in DIP format.

Things you will need.

1) UV Eraser : so you can erase them when you make a mistake or if they have stuff on them still.

2) Programmer : I have a GQ-4x4 with the required 16-Bit add-on board.

3) EPROMS : 27C400 for most Amigas and 27C800 for A1200's and ROM switchers

A special note: If you are backing up a 27C800 multi ROM remove the chip from the switcher and back it up as a 27C800,  don't try to back it up in the switcher!







Wednesday, September 23, 2020

Building the : SIDBlaster-USB TicTac Edition

One of the many things that I love about the C64 is the music.  I've often looked at the HardSid and wanted to get my hands on one just to play the tunes, but to tell the truth unless I listen to a real Sid next to an emulated one or for that matter a 6581 vs a 8580 I simply can't tell the difference.

In early 2019 I stumbled across the SIDBlaster-USB TicTac Edition and added it to my build list, but more for mundane practical reasons, I'd like to try to program my own emulated SID chip and try it out outside of a C64.

The project is here http://crazy-midi.de/joomla/ and the source code and pcb is here on Github

It's taken me around 7 months to build this project, with COVID-19 about it's actually been a much harder task.

The thing I really like about this project was :

  1.  The documentation,  it is quite simply amazing and every little nuance has been recorded.

The things I didn't really like were :

  1. The difficulty in sourcing the parts.  Quite a number of them were difficult to source and a one or two items aren't manufactured anymore and are quite expensive (ignoring the SID).
  2. The number of through hole parts required.

Hopefully a new iteration of this project will be updated with more current and readily available parts.

Stealing a boost converter chip for the 9/12 volt supply. 

 
Here is the finished result,  I tested it with one of my ARMSID and it works very well.