26 October 2020, 04:46 | #1 |
Registered User
Join Date: Mar 2015
Location: Bristol/UK
Posts: 166
|
Raspberry Pi / Mushashi powered 68k Hardware Emulator
Claude Schwarz has posted on twitter that he has Diagrom running on an A500 with a Raspberry Pi and interface plugged into it where the 68000 should be.
https://twitter.com/Claude1079/statu...825558530?s=20 I don't know what sort of performance is possible with the CPU emulation on the Pi and the hardware interfacing. But there may be some interesting hybrid possibilities in addition to emulation (I'm thinking A314 on steroids). |
26 October 2020, 17:30 | #2 |
<optimized out>
Join Date: Sep 2020
Location: <optimized out>
Posts: 321
|
I'd love to know more about this, but I'm afraid I don't have the expertise to really understand it. The 7ish MHz that the 68K originally ran at is very slow by modern standards, but is it actually possible to interface something like a RaspberryPi to the 68K socket and actually make it work?
|
26 October 2020, 18:07 | #3 | |
Registered User
Join Date: Apr 2018
Location: Stockholm / Sweden
Posts: 129
|
Quote:
|
|
26 October 2020, 18:54 | #4 |
Registered User
Join Date: Apr 2009
Location: N/A
Posts: 962
|
Finally!
I have been dreaming about this since the first day the Raspberry Pi came out. Unfortunately I am no hardware guru (I am no hardware nothing actually) and therefore could never do anything about it. Finally projects like this are under development. Cannot wait for something similar also for the A1200. Looking so forward for this. Last edited by Sim085; 26 October 2020 at 19:00. |
26 October 2020, 19:06 | #5 | |
Registered User
Join Date: Apr 2009
Location: N/A
Posts: 962
|
As I said I am no expert. However I believe for the Amiga changes nothing, signals are sent to the CPU and signals are returned from the CPU, the only difference is that the CPU is emulated by the raspberry pi. It is a great project. Wonder what pi resources can be shared.
Quote:
Last edited by Sim085; 27 October 2020 at 18:42. |
|
26 October 2020, 19:22 | #6 |
Registered User
Join Date: Mar 2015
Location: Bristol/UK
Posts: 166
|
As I understand it he is using the GPIO connector in a mode called SMI (Secondary Memory Interface). This gives 18 data bits and 6 address bits and read/write signals. This talks to a MAX II CPLD on the interface card between the PI and the 68000 socket. The interface card also includes a set of latch ICs. So the PI can signal the CPLD probably using the SMI address lines and a combination of the read/write lines "the lower16 bits for the address latches are on the SMI databus", "the upper 8 bits for the address latches are on the SMI data bus", "8 or 16 bits to write to the databus latches are on the SMI databus" or "get the contents of the Amiga data bus into the latches", "put the contents of the data latches on the SMI databus". there are about 20 other signals (bus control, interupts etc.) on the 68000 that also need to be handled by the CPLD and PI.
|
26 October 2020, 23:39 | #7 |
Registered User
Join Date: Jan 2011
Location: -
Posts: 728
|
According to the Musashi GitHub, it's a "68000, 68010, 68EC020, 68020, 68EC030, 68030, 68EC040 and 68040 emulator".
I've been waiting for FPGA as the next iteration of budget accelerators, but it may be Pi powered which is pretty exciting! |
26 October 2020, 23:50 | #8 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,164
|
Earlier this year, Musashi author allowed me to contribute to the emulator to fix 68040 features (missing/wrong instructions, FPU stuff), and I also suggested a few optimizations.
So if there are issues with Musashi itself I can help. Where Musashi is excellent is because of its architecture. It's rather quick to have something running with it. (but of course Amiga custom chips aren't supported, but that probably doesn't matter here) |
27 October 2020, 00:55 | #9 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,400
|
Yep this is very interesting, a cheap and fast accelerator would be great for the classics.
I've heard of a few of these hybrid cards being discussed over the years, I'd personally love to see an FPGA/ARM hybrid solution released as a plug in accelerator....that would be very cool. |
27 October 2020, 10:21 | #10 | |
Registered User
Join Date: Feb 2008
Location: Northampton/UK
Posts: 524
|
Quote:
Definitely, I've never watched any of the 060 demo's on real hardware, the gulf in cost between my 030 and an 060 has always been to great for me. I hope one of these devices can bridge that divide someday. Last edited by khph_re; 27 October 2020 at 19:18. |
|
27 October 2020, 17:45 | #11 |
Registered User
Join Date: Oct 2020
Location: Tallahassee
Posts: 2
|
It seems even with some hacked together support for fastmem, it is already pretty quick.
https://twitter.com/Claude1079/statu...22503716081665 |
27 October 2020, 19:02 | #12 |
Registered User
Join Date: Sep 2009
Location: San Antonio, TX USA
Age: 50
Posts: 1,184
|
This is what @majsta Vampire should have been, CPU and RAM, not plus everything else, or stand alone.
I hope something comes from it. |
27 October 2020, 20:32 | #13 |
Registered User
Join Date: Apr 2015
Location: Lisbon
Posts: 65
|
This could change a lot, its seems very promising project. congrats
|
27 October 2020, 23:22 | #14 |
Zone Friend
Join Date: Apr 2005
Location: London
Posts: 1,176
|
|
27 October 2020, 23:57 | #15 |
Registered User
Join Date: Mar 2015
Location: Bristol/UK
Posts: 166
|
The Raspberry PI could add everything the Vampire boards have and more if the software is written to make the features available from the emulator.
|
28 October 2020, 03:46 | #16 | |
Registered User
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 2,546
|
Quote:
This Raspberry Pi CPU emulator is interesting, and could be attractive if it is cheap. However I doubt that it could match the performance of the Vampire, and I feel happier with real hardware anyway. Seems a pity to use a Pi without the Amiga having access to its video, RAM, SD Card etc. Oops! I forgot, we don't want 'everything else'. |
|
28 October 2020, 05:40 | #17 | |
Registered User
Join Date: Sep 2009
Location: San Antonio, TX USA
Age: 50
Posts: 1,184
|
Quote:
I'm not saying Vampire is bad. |
|
28 October 2020, 08:15 | #18 |
Registered User
Join Date: Apr 2009
Location: N/A
Posts: 962
|
I always saw the advantage of putting a raspberry pi to emulate resources as a cheap alternative since the resources are there available to use on the raspberry pi and the raspberry pi is mass produced (unlike any amiga specific hardware).
I do not see why if the cpu and fast ram are emulated by the pi, why then storage cannot also be emulated by the pi. After all aren't those signals also going through the CPU socket? Maybe people with more knowledge then me can confirm or reject, I am really curious, I always thought so however given there are cards with ide. I understand that the emulation software might not have reached that point (I do not know, maybe it already does). However the fun part is that this moves the problem to the software world rather then the hardware world + more powerful raspberry pi will continue to come out. Last edited by Sim085; 28 October 2020 at 08:22. |
28 October 2020, 14:45 | #19 |
Registered User
Join Date: Oct 2020
Location: Tallahassee
Posts: 2
|
I agree scope creep drives price and delivery time up, but with him looking at moving to a CM4 with this, then the only Amiga-specific hardware is the carrier board. He could start with an initial version with just the functionality his adapter board currently has and down the road, if he desires, he could release a different version with hdmi, Ethernet, whatever. The CM4 would still remain the same. And if the CM5 comes out, people can just swap that in if he updates the software to support it. It provides a level of future-proofing that's not readily available with the current (and other future) accelerators out there. I have a 3640 with an '060 and am hesitant about some of the newer accelerator designs where you have to solder the '060 into them.
|
28 October 2020, 15:09 | #20 |
Registered User
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,410
|
That's quite cool!
Hope it ends up very successful, a PI based accelerator would be a very useful alternative for when the 680x0's start running out. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Blitter emulator for 68k | kamelito | Coders. Asm / Hardware | 24 | 03 November 2022 22:36 |
Raspberry PI SCSI emulator | Jope | Hardware mods | 56 | 19 October 2021 00:11 |
Hatari ST emulator for 68K? | Angus | request.Apps | 14 | 25 September 2013 20:31 |
amiga 68k emulator | petee1979 | support.OtherUAE | 11 | 28 June 2008 10:07 |
68k Mega Drive Emulator | Hewitson | request.Apps | 11 | 04 February 2008 08:55 |
|
|