English Amiga Board


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

 
 
Thread Tools
Old 22 October 2014, 16:56   #1
kipper2k
Registered User
 
Join Date: Sep 2006
Location: Thunder Bay, Canada
Posts: 4,323
29f800/160 custom ROM

Hi All,



just a peek of a work in progress, i finally had a chance to play with my flash eprom board.

Here is a 1.3/3.1 kickstart installed in an a500, it is low profile and actually sits lower than an original kickstart ROM. It is reprogrammable, i just place it in my programmer adapter (i built custom) for my Wellon programmer and program it.

It is not programmable in the Amiga itself (would be nice if it could be made to be). This is just the beta version, changes to be made include putting the jumper block which controls the ROM selection on the other end of the board so my fastmem board doesn't block it. I can actually use a 3 pin extension cable so that i can relocate the switch/jumper block to wherever i want. I also have a multirom board designed for the A1200 which actually sits over both ROMs and will have the 2mb 29f160 flash on it.

The board itself can be set up by pushbutton on start or toggle switch, i may give both options.



and a close up




Thoughts etc ?

Last edited by kipper2k; 22 October 2014 at 17:13.
kipper2k is offline  
Old 22 October 2014, 17:31   #2
Franchute13
Registered User
 
Franchute13's Avatar
 
Join Date: Feb 2013
Location: Argentina
Posts: 281
uauu!
Good job!
Franchute13 is offline  
Old 22 October 2014, 17:51   #3
jbenam
Italian Amiga Zealot
 
Join Date: Jan 2009
Location: Italy
Age: 36
Posts: 1,915
Since it can't be directly programmed on the Amiga, how feasible would be to add an USB port along with some kind of IC to allow flashing it on PeeCee without additional hardware?
jbenam is offline  
Old 22 October 2014, 17:52   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,575
I am still waiting for adapter that can be programmed by m68k code, without extra hardware. (Yes, I know it is not going to happen without some kind of Gary adapter/hack)
Toni Wilen is offline  
Old 22 October 2014, 18:32   #5
kipper2k
Registered User
 
Join Date: Sep 2006
Location: Thunder Bay, Canada
Posts: 4,323
Quote:
Originally Posted by jbenam View Post
Since it can't be directly programmed on the Amiga, how feasible would be to add an USB port along with some kind of IC to allow flashing it on PeeCee without additional hardware?
Ultimately it will need some kind of programmer, be it willem or another highend programmer/adapter to be able to program it. My programmer has a 48 pin ZIF on it (wellon VP-380), but i still had to make an adapter board in order to be able to program the 29f800 TSOP.. most cheaper programmers have 40 pin ZIFs which need their own adapter to be able to program it.

I would love for someone to make the software/hardware mod in order to make it in-system programmable on the Amiga but i dont have the smarts for that.
kipper2k is offline  
Old 22 October 2014, 21:18   #6
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,891
Quote:
Originally Posted by kipper2k View Post
I would love for someone to make the software/hardware mod in order to make it in-system programmable on the Amiga but i dont have the smarts for that.

We need Gary replacement
pandy71 is offline  
Old 23 October 2014, 09:24   #7
NMI
Registered User
 
Join Date: Feb 2012
Location: Sweden
Posts: 43
In the previous thread: Custom Flashrom design for Amigas RedskullDC said the software was almost done, and that was close to 2 years ago. Time to check with him if it's done by now?

Totally agree about the need for a gary replacement. Shouldn't be too hard to reverse engineer it or maybe Toni has it mapped out in software already?
NMI is offline  
Old 23 October 2014, 11:45   #8
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,575
I think easiest way to make it incircuit-programmable is to have some kind of remap jumper that maps the flash in some unused address space which is read/write compatible. (F8-FF region is not writable, Gary won't allow it), for example upper fast ram region (assuming there is no 8M fast ram expansion).

Quote:
Originally Posted by NMI View Post
In the previous thread: Custom Flashrom design for Amigas RedskullDC said the software was almost done, and that was close to 2 years ago. Time to check with him if it's done by now?
Writing to flash chip is really easy and simple, modern flash programming is very high level. (erase chip/sector, write unlock sequence, write write command, write byte to correct address, poll for ready bit, repeat next byte)

Quote:
Totally agree about the need for a gary replacement. Shouldn't be too hard to reverse engineer it or maybe Toni has it mapped out in software already?
Emulation won't help and there is nothing mysterious in Gary. It is more or less A1000's logic glue chips in single package.
Toni Wilen is offline  
Old 23 October 2014, 12:53   #9
Knight2011
Registered User
 
Join Date: Oct 2014
Location: Paris
Posts: 11
To me (owner of an A500 with 1.2 ROM and MB rev5), it would be good to have this board to be able to switch to 1.3 (it seems that some games/demos work exclusively with 1.3). And please don't forget people with MB rev5 or earlier to have something just "plug and play".

PS: I'm not user of workbench so having 3.1 ROM would be probably useless for me. No?
Knight2011 is offline  
Old 23 October 2014, 17:21   #10
kipper2k
Registered User
 
Join Date: Sep 2006
Location: Thunder Bay, Canada
Posts: 4,323
Just a quickie to mention i programmed V1.3 and V3.1 in the A1200 so now i can dual boot either Kickstart in my A1200. Took a while and some help from Zetr0 to get it sorted but it's definately worth it.

heres a pic...



next step is to use the 2mb 29f160 flash and set up 4 kickstarts, i'll try to tackle this today/tomorrow
kipper2k is offline  
Old 23 October 2014, 17:22   #11
Yulquen74
Registered User
 
Join Date: May 2013
Location: Kleppe / Norway
Posts: 273
To make a rom programmable by Amiga software without changing any hardware,
or without sacrificing RAM space, it could be possible to do it this way:

Make a board that plugs into ROM socket with 3-state bus-drivers for address and data lines, an SRAM chip, a flash chip, and a PIC microcontroller hooked up to all address and data lines, kickstart #OE, and all control signals for bus drivers, flash and SRAM.

Nothing can be written to kickstart space, so the data that we want to write will have
to be put into the 16 LSB bits of the address during read accesses to ROM area. The micro-controller will have to run much faster than the 7MHz bus, and #OE accesses for kickstart will trigger interrupts which detects what addresses are accessed.

A spesific series of accesses scattered in ROM space that will never occur except during flash programming, can act as a command for the PIC, to start buffering the data to SRAM. When the buffering is finished, another command may have the PIC write the data to a desired block in flash.

The Amiga software doing the transfer will not really know when the PIC is finished
with this, so it would have to wait for an amount of time it is guaranteed finished,
having interrupts and regular rom accesses blocked.

Changing kickstarts could be done with long resets, or commands initiated before short resets to do a change to a certain image, even the image in RAM could be tested.

The real difficulty would be to make this mess as small a footprint as possible.
Yulquen74 is offline  
Old 23 October 2014, 17:26   #12
kipper2k
Registered User
 
Join Date: Sep 2006
Location: Thunder Bay, Canada
Posts: 4,323
Quote:
Originally Posted by Yulquen74 View Post
To make a rom programmable by Amiga software without changing any hardware,
or without sacrificing RAM space, it could be possible to do it this way:

Make a board that plugs into ROM socket with 3-state bus-drivers for address and data lines, an SRAM chip, a flash chip, and a PIC microcontroller hooked up to all address and data lines, kickstart #OE, and all control signals for bus drivers, flash and SRAM.

Nothing can be written to kickstart space, so the data that we want to write will have
to be put into the 16 LSB bits of the address during read accesses to ROM area. The micro-controller will have to run much faster than the 7MHz bus, and #OE accesses for kickstart will trigger interrupts which detects what addresses are accessed.

A spesific series of accesses scattered in ROM space that will never occur except during flash programming, can act as a command for the PIC, to start buffering the data to SRAM. When the buffering is finished, another command may have the PIC write the data to a desired block in flash.

The Amiga software doing the transfer will not really know when the PIC is finished
with this, so it would have to wait for an amount of time it is guaranteed finished,
having interrupts and regular rom accesses blocked.

Changing kickstarts could be done with long resets, or commands initiated before short resets to do a change to a certain image, even the image in RAM could be tested.

The real difficulty would be to make this mess as small a footprint as possible.
even a daughter board connected by a cable could be possible, i'm willing to try to build something to someones design

if anyone wants to buy one of these pcb from me, it would be $2 each + shipping (nothing on the board). i have a few of them kicking around

Last edited by kipper2k; 23 October 2014 at 17:36.
kipper2k is offline  
Old 24 October 2014, 16:23   #13
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,891
Going further - serial NOR flash + uC + SRAM - then various images can be stored in flash, uC can perform authentication and flash reprogramming and SRAM will provide ROM emulation. As some glue logic is required anyway then perhaps easiest is to use softcore uC that can fit in small CPLD/FPGA.
SRAM will allow to modify KickROM on the fly (and also fast access).
pandy71 is offline  
Old 24 October 2014, 17:02   #14
dirkies
Zone Friend
 
dirkies's Avatar
 
Join Date: Aug 2002
Location: Belgium
Age: 51
Posts: 1,297
Drool... upto 4 kickstarts readily available with a simple switch? Hopefully you can pull that one off!
That means the death sentence for Relokick but who cares?!
Good work!
dirkies is offline  
Old 24 October 2014, 17:05   #15
Arnie
R.I.P Smudge 18-08-16
 
Arnie's Avatar
 
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
I presume you still need to programme these yourself?
Arnie is offline  
Old 24 October 2014, 18:21   #16
kipper2k
Registered User
 
Join Date: Sep 2006
Location: Thunder Bay, Canada
Posts: 4,323
These can be preprogrammed for people, the only caveat is that people must prove ownership of the rom in order for these to be sold legally. I believe this could be done by the buyer sending the files to the seller for writing. Once written it can be treated like a regular read only rom for most people that have no intention/need to rewrite it.

A while back i did actually do a small logic circuit that will select a specific rom to be loaded from a multi kickstart flash. i posted it somewhere on here with a short video, I'll have to go looking for it.

I am just working today on the 29F160 2mb chip, i have proven that it will multiload 4 x 512mb kickstarts by selecting address lines A18 and A19 so it's just a case now of tidying up the ROM selection at boot process
kipper2k is offline  
Old 24 October 2014, 18:30   #17
Arnie
R.I.P Smudge 18-08-16
 
Arnie's Avatar
 
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
I would want to program them myself for 2 reasons. One of the rom images is a KS1.3 with SCSI and the other is a 3.9 custom image. I wouldn't be able to prove I own the roms. (unless you count eeproms)
Arnie is offline  
Old 24 October 2014, 18:58   #18
kipper2k
Registered User
 
Join Date: Sep 2006
Location: Thunder Bay, Canada
Posts: 4,323
Quote:
Originally Posted by Arnie View Post
I would want to program them myself for 2 reasons. One of the rom images is a KS1.3 with SCSI and the other is a 3.9 custom image. I wouldn't be able to prove I own the roms. (unless you count eeproms)

if you own the original rom that was used to create the scsi version then i don't think that falls foul of the law, not sure though... let other people have their say
kipper2k is offline  
Old 24 October 2014, 19:04   #19
Arnie
R.I.P Smudge 18-08-16
 
Arnie's Avatar
 
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
Proving you own the roms aside, I doubt that you would be able to tell from a file whether it's been altered or original, would you?
Arnie is offline  
Old 24 October 2014, 20:45   #20
kipper2k
Registered User
 
Join Date: Sep 2006
Location: Thunder Bay, Canada
Posts: 4,323
Quote:
Originally Posted by Arnie View Post
Proving you own the roms aside, I doubt that you would be able to tell from a file whether it's been altered or original, would you?

Yup, every file has a checksum or hash value, and you can take a look at the boot screen and the actual first part of the file which will show the original file version number
kipper2k 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
Help making Custom Kickstart rom Viserion Hardware mods 28 13 December 2014 05:43
Crash with custom ROM on 68000 UAE support.WinUAE 5 10 July 2012 09:04
For sale: > 160 rare C64 games boxed: Synapse, Broderbund, Atari, Epyx... Hacky MarketPlace 0 26 June 2010 23:52
Sound -170%, CPU 160+% problem... Grimbog support.WinUAE 8 23 December 2006 19:54
SALE: Amiga Blizzard PPC card PPC@160 , 68040 @25 MHz morka MarketPlace 3 12 October 2006 00:28

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 11:47.

Top

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