![]() |
|
|||||||
| Register | >> Amiga FAQ/Wiki << | Rules & Help | Members List / Moderators List | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Registered User
Join Date: Mar 2012
Location: Norfolk, UK
Posts: 132
|
Kickstart ROM's chipram test
I'm currently working on porting the Minimig FPGA core to new hardware and have come up against some "interesting" issues. I currently have the core working well enough to run Spaceballs 9 fingers and a few games - but when it first starts up the Kickstart ROM detects some kind of issue with chipram and gives me a green screen with blinking power LED for a few moments before eventually giving me the "Insert Disk" screen.
Does anyone know precisely how the Kickstart ROM tests the chipram? Knowing that will make it much easier to track down where my design's failing.
__________________
~ Amiga 4000/030 ~ Amiga 1200 030/50MHz ~ Turbo Chameleon 64 ~ Altera DE1 with Minimig core ~
http://retroramblings.net |
|
|
|
|
|
#2 |
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,944
|
Test is simple write/read test, my crystal ball says problem is in ROM overlay which is not getting disabled.
|
|
|
|
|
|
#3 |
|
Leffmann with two n's
Join Date: Jul 2008
Location: Sweden
Posts: 1,190
|
The memory test writes a longword 0 to address 0, then tests the memory in blocks by writing some random-looking longword marker just past the end of the current block, and if it can read back this marker, and read 0 from address 0, and is not past the predetermined range to test, then it will continue with the next block.
The mechanism it relies on has to be that a write past the mapped chip memory will either end up at 0, or can not be read back correctly. KS 1 tests the memory in blocks of 4K, and KS 2 and 3 tests in blocks of 16K, I don't know how these sizes are determined but I guess it's simply a tradeoff between performance and thoroughness. |
|
|
|
|
|
#4 | ||
|
Registered User
Join Date: Mar 2012
Location: Norfolk, UK
Posts: 132
|
Quote:
Quote:
![]()
__________________
~ Amiga 4000/030 ~ Amiga 1200 030/50MHz ~ Turbo Chameleon 64 ~ Altera DE1 with Minimig core ~
http://retroramblings.net |
||
|
|
|
|
|
#5 |
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,944
|
I forgot some important details..
After ROM checksum check and overlay being disabled (and before actual chip ram check) exec writes early exception vectors from address zero to about 0x100 and then does second pass and compares them. If any value is wrong -> green screen. Main chip ram test also checks for aliasing (for example if 512k chip, first address after 512k is same as address zero) Entire ROM is mapped if overlay is enabled. |
|
|
|
|
|
#6 |
|
Registered User
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 216
|
|
|
|
|
|
|
#7 | |
|
Registered User
Join Date: Mar 2012
Location: Norfolk, UK
Posts: 132
|
Quote:
__________________
~ Amiga 4000/030 ~ Amiga 1200 030/50MHz ~ Turbo Chameleon 64 ~ Altera DE1 with Minimig core ~
http://retroramblings.net |
|
|
|
|
|
|
#8 |
|
Registered User
Join Date: Mar 2012
Location: Norfolk, UK
Posts: 132
|
Thanks for the input, everyone. It turns out the problem was indeed interference from the Action Replay component. I'll figure out at some point why it was being activated without being asked, but for now just removing that module fixes the green screen issue
![]()
__________________
~ Amiga 4000/030 ~ Amiga 1200 030/50MHz ~ Turbo Chameleon 64 ~ Altera DE1 with Minimig core ~
http://retroramblings.net |
|
|
|
![]() |
| 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 | Hammie | New to Emulation or Amiga scene | 1 | 29 June 2003 08:04 |
| Kickstart ROM | Toxic | support.WinUAE | 7 | 08 November 2001 21:53 |