19 May 2006, 19:37 | #1 |
HOL-Team
|
Undumped Amiga chips
As you may or may not know, the Amiga had a microcontroller as keyboard processor. This chip, a 6500/1 from MOS Technologies, has 2kb of internal ROM. Has this been dumped by anyone? Later Amiga's used the 68HC05, which has a read protection, so it's probably very hard to get a dump.
There is also another (to my knowledge) not dumped ROM chip used in Amigas: The LC6554H LCD controller in CDTV's. A dump of those chips is needed for the Amiga emulation in MESS (and would maybe benefit WinUAE too). |
19 May 2006, 20:00 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,518
|
Emulating keyboard controller is imho quite pointless (emulation won't be any more accurate with or without it, only slower) except if you want complete emulation for some reason..
Not dumped ROMs: Action Replay II/III ROMs need "real" dumping. First 4 ROM locations can't be dumped with "may the force be with you"-method. |
19 May 2006, 20:35 | #3 |
HOL-Team
|
I agress, it is kinda pointless for WinUAE as there will be no user visible changes, but MESS, like MAME, is striving for the most accurate emulation (and to document the hardware), which of course includes the keyboard controller.
Last edited by Duke; 19 May 2006 at 20:43. |
20 May 2006, 13:01 | #4 |
Onezay Riendfay
Join Date: Apr 2006
Location: Portugal
Age: 45
Posts: 119
|
Well , I got an Amiga 500 with a CSG 6570-036 from 1985 and an Action Replay MKIII but is there any way to dump them ?
|
20 May 2006, 18:40 | #5 | |
Junior Member
Join Date: Jan 2002
Location: PDX
Age: 62
Posts: 2,396
|
Quote:
I've read/heard of rom protection that destroys/erases the rom if you attempt to remove it from the circuit or if the battery onboard dies |
|
16 April 2020, 06:51 | #6 | |
Code Kitten
Join Date: Aug 2015
Location: Montreal/Canadia
Age: 52
Posts: 1,178
|
Thread, rise from your grave!
Quote:
The cbm-hackers guys have (in 2014, not exactly recent ) 1) established that the 6570 is a 6502 + ROM 2) managed to dump its ROM: http://cbm-hackers.2304266.n4.nabble...3p4659044.html The approach (for a related chip, the MOS 6500/1) is described here: http://e4aws.silverdr.com/hacks/6500_1/ A cursory search of "6570" on the EAB seemed to indicate that its ROM dump was only mentioned on your thread as a hypothesis so a necromancy seemed appropriate. This is clearly very useful for accurate emulation and replacement of failing keyboards. MOS 6570 chips have become quite rare on eBay and cost above 40 USD so it's good that we now have everything that is needed to replace them should we need it. Cheers |
|
17 April 2020, 22:34 | #7 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,348
|
This is excellent stuff, and I wouldn't have known how to go about it... But wasn't it common knowledge all along that the keyboard controller was a 6502 core with some ROM and RAM included?
|
18 April 2020, 20:01 | #8 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,518
|
I am still quite sure it isn't needed for accurate emulation. Protocol and timing is very well known already.
|
18 April 2020, 22:46 | #9 |
Unregistered User
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 43
Posts: 4,190
|
It could be useful to have the 6500/1 ROM if you wanted to build a clone keyboard. Yes, you could implement a compatible functionality in a different uC, but it just wouldn't be the same.
|
22 April 2020, 02:53 | #10 | ||
Code Kitten
Join Date: Aug 2015
Location: Montreal/Canadia
Age: 52
Posts: 1,178
|
Quote:
Quote:
Unless this is known, we cannot be sure that protocol virtualization is enough. And even if there were none, the point of accurate emulation is to go beyond simple virtualization when corresponding information is available. |
||
22 April 2020, 17:41 | #11 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,518
|
Protocol has to be correct because keyboard connects to CIA serial port (very simple, clock and data lines). CIA wouldn't either accept the data or there would be ghost key codes if protocol would do something weird.
Yes, it would be nice to have it completely emulated (and probably will be someday) but I am certain it makes no difference. Except most likely it will breaks some programs if emulation speed is too fast! Main "problem" with keyboard is handshake pulse length requirement (too short delay: keyboard internal buffer fills and keyboard stops working). Bad keyboard routines have CPU delays. It would need even more complex (or stupid) workaround. Everyone would assume buggy emulation without automatic workaround.. |
22 April 2020, 18:02 | #12 | |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,348
|
Quote:
It did get me thinking though, the chip is physically large enough to easily accommodate a PCB and suitable modern microcontroller to act as a compatible replacement. Now there's a project for a rainy day... *adds another entry to the never-ending list* |
|
22 April 2020, 18:09 | #13 | |
Unregistered User
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 43
Posts: 4,190
|
Quote:
Here's one example: https://github.com/Klaus2m5/AVR_emulated_6502_4SBC |
|
22 April 2020, 18:11 | #14 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,348
|
*adds yet another similar entry to the list*
|
22 April 2020, 18:57 | #15 |
Registered User
Join Date: Sep 2006
Location: Thunder Bay, Canada
Posts: 4,323
|
Hi all,
I have made a replacement a500 KB controller board for those that need theirs replacing, just not got around to putting it out there yet... http://www.kipper2k.com/a500controll...ontroller.html |
22 April 2020, 22:40 | #16 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,348
|
*crosses two items off to-do list*
Progress |
23 April 2020, 00:40 | #17 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,205
|
When fixing games, I'm interested that the game behaves like shit on fast machines.
The "keyboard stuck" issue because of bad handshake would be a plus (optionally of course, like blitwait/immediate blit, stuff like that) |
26 April 2020, 20:30 | #18 | |||||
Code Kitten
Join Date: Aug 2015
Location: Montreal/Canadia
Age: 52
Posts: 1,178
|
Quote:
Still, I love the idea that there may be bugs that could be exploited to use the controller in non documented ways. Most likely this is a pipe dream because sending data to the controller seems impossible looking at the schematics but we have seen so many impossible things happen on this machine that I cannot let that go (yet! ). Quote:
Quote:
If users cannot be bothered to double check on the hardware then well, sorry for them. They can maintain a wiki page for all buggy games. IMO fixing games is the job of WHDLoad, not UAE. This said, I understand why Toni makes that choice. Quote:
Thanks for checking though! Quote:
You mention being able to plug into a 1200 but how would that work with only plugging in the 5 signals you mention? The keyboard MCU is going to drive the DATA signal by itself won't it? How can you ensure that your signals prevail? |
|||||
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Amiga 3000 ROM chips | Unknown_K | support.Hardware | 29 | 26 August 2023 04:56 |
Undumped CAPS games, how to dump? | bigmax | project.SPS (was CAPS) | 2 | 31 July 2016 10:26 |
amiga 3000: swapping chips | sovietconscript | Hardware mods | 15 | 06 July 2009 20:18 |
Amiga chips & more | Gavilan | support.Hardware | 7 | 22 October 2008 23:27 |
Amiga Custom Chips | whitebird | request.Other | 13 | 07 November 2006 23:05 |
|
|