English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware > Hardware mods

 
 
Thread Tools
Old 28 June 2013, 17:45   #1
robinsonb5
Registered User
 
Join Date: Mar 2012
Location: Norfolk, UK
Posts: 1,154
Overzealous Kickstart ROM - address decoding?

As some of you might already know, I now have one of Majsta's prototype Vampire 500 FPGA accelerators to play with. (Yay! Something else to distract me from the things I *should* be doing! )

So I'm playing around with this thing on an old Revision 5 A500 motherboard with Kickstart 1.3. I've verified that reads and writes to and from Chip RAM, the Custom Chip registers and CIA registers are all working correctly - but I have a problem with the Kickstart ROM.

The ROM itself seems to be readable just fine at $fc0000 - the problem is it's showing up at $f00000 as well, but only under specific circumstances.

Using the dissasembly on this page as a reference: http://wandel.ca/homepage/execdis/exec_disassembly.txt (a different Kickstart version, but the relevant code is identical)
The ROM starts executing perfectly at $fc00d2 until the cmp at $fc00f4. It then reads from f00000, sees $1111, and thus jumps to $f00002, where it finds instructions to jump to $fc00d2 - thus creating an infinite loop!

What's weird is that isolated reads from the region at $f00000 return the junk data you'd expect for an undecoded region, but if a valid ROM address has been on the bus, the ROM seems to be shadowed at $f00000 provided there are no accesses to other regions in between the reads from $fcxxxx and $f0xxxx.

The board works fine with its original CPU.

Does anyone have any idea what could cause this?
(Is Gary not deasserting the ROMEN signal perhaps? But why would that happen?)
robinsonb5 is offline  
Old 28 June 2013, 23:45   #2
FrenchShark
FPGAmiga rulez!
 
FrenchShark's Avatar
 
Join Date: Dec 2007
Location: South of France
Age: 50
Posts: 155
Hello,
256 KB Kickstart ROM must be shadowed at address F80000 not F00000.
To me, it looks like a wrong address decoding is done by Gary.
IIRC, Gary is responsible of terminating bus accesses on most of the areas with the DTACK# signal.
Does Majsta uses 74LV latches in his design ? Maybe some address bits "get stuck" in the latches and Gary still "sees" a valid Kickstart ROM access.
Regards,

Frederic
FrenchShark is offline  
Old 29 June 2013, 15:15   #3
robinsonb5
Registered User
 
Join Date: Mar 2012
Location: Norfolk, UK
Posts: 1,154
Quote:
Originally Posted by FrenchShark View Post
Hello,
256 KB Kickstart ROM must be shadowed at address F80000 not F00000.
Yes, that's what I thought, and I've verified that the ROM appears at FCxxxx, F8xxxx, F4xxxx and F0xxxx - it appearing at the latter two being incorrect.

Quote:
To me, it looks like a wrong address decoding is done by Gary.
Yes indeed.

Quote:
Does Majsta uses 74LV latches in his design?
No, 74ALVC transceivers - so there shouldn't be any danger of stale data getting latched. I wondered if the problem was a short between signals for A20 and A19 - but it seems it's not that simple.

Oh well - the bug-hunting continues
robinsonb5 is offline  
Old 30 June 2013, 11:09   #4
robinsonb5
Registered User
 
Join Date: Mar 2012
Location: Norfolk, UK
Posts: 1,154
And... it's alive!


The problem turned out to be a simple bad solder joint on one of the pins of the DIL socket! Ironic, given how long I spent scrutinizing the surface-mount components looking for the problem!

Mental note: always check the obvious first!
Attached Thumbnails
Click image for larger version

Name:	FirstBoot.jpg
Views:	748
Size:	93.9 KB
ID:	35822  
robinsonb5 is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
kickstart 1.3 rom Paul_s MarketPlace 0 08 April 2007 22:51
CD32 kickstart rom & extended rom ben111g Amiga scene 1 24 February 2007 13:56
Kickstart 2.04 ROM crs MarketPlace 19 19 December 2006 12:44
Kickstart Rom 1.4 komunita support.Other 2 14 June 2006 17:27
Kickstart ROM Toxic support.WinUAE 7 08 November 2001 21:53

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 20:25.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06831 seconds with 14 queries