Lets actually try Hybrid Emulation

rhester72
Top Contributor
Posts: 1374
Joined: Thu Jun 11, 2020 2:31 am
Has thanked: 15 times
Been thanked: 228 times

Re: Lets actually try Hybrid Emulation

Unread post by rhester72 »

It was a pipedream to start with that would produce little benefit at enormous effort required if even possible to do so in a stable fashion (which it never was).

Neocaron
Top Contributor
Posts: 375
Joined: Sun Sep 27, 2020 10:16 am
Has thanked: 212 times
Been thanked: 88 times

Re: Lets actually try Hybrid Emulation

Unread post by Neocaron »

Not to be rude, but terms like 'Impossible' and 'pipe dream' always age poorly in the context of the MisterFPGA project. So, I'd refrain from being categorical on this topic too. Even if it's not used here, it might be developed for another project. Nothing is useless in the end.

Remastering Classic Game Cinematics: My new Youtube fun, check it out :D
https://www.youtube.com/@neocaron87

rhester72
Top Contributor
Posts: 1374
Joined: Thu Jun 11, 2020 2:31 am
Has thanked: 15 times
Been thanked: 228 times

Re: Lets actually try Hybrid Emulation

Unread post by rhester72 »

I provided the very technical justifications for my position on this in this very thread years ago. They remain as true now as they were then.

lordoftime79
Posts: 111
Joined: Sun Feb 14, 2021 6:29 pm
Has thanked: 1 time
Been thanked: 5 times

Re: Lets actually try Hybrid Emulation

Unread post by lordoftime79 »

sorry about the necro bump but i finally managed to get this working but i was seeing really lack luster speeds - it turns out i was using the older files and the links for the later ones are all dead - now while i appreciate this is probably abandoned if anybody has the later itterations of this can you please upload them somewhere for me to use? thank you.

lordoftime79
Posts: 111
Joined: Sun Feb 14, 2021 6:29 pm
Has thanked: 1 time
Been thanked: 5 times

Re: Lets actually try Hybrid Emulation

Unread post by lordoftime79 »

anyone? i just wanted to push this back to the top as i could use those files - i have checked wayback machine/archive.org but no luck.

lordoftime79
Posts: 111
Joined: Sun Feb 14, 2021 6:29 pm
Has thanked: 1 time
Been thanked: 5 times

Re: Lets actually try Hybrid Emulation

Unread post by lordoftime79 »

i have just copied the set up from my test sd card that was working fine to my up to date sd card and now i dont get the arm cpu option - can anybody help please?

foft
Posts: 345
Joined: Thu Dec 03, 2020 11:05 am
Has thanked: 29 times
Been thanked: 125 times

Re: Lets actually try Hybrid Emulation

Unread post by foft »

Been a while but pretty sure I put all the binaries and code on GitHub.

Think this repo has binaries:
https://github.com/scrameta/MiSTer_Hybrid_Support

foft
Posts: 345
Joined: Thu Dec 03, 2020 11:05 am
Has thanked: 29 times
Been thanked: 125 times

Re: Lets actually try Hybrid Emulation

Unread post by foft »

Several years later...

Came across this page talking about using the FPGA->HPS SDRAM bridge:
https://people.ece.cornell.edu/land/cou ... index.html

This performs much better but its FPGA->RAM on the HPS side, but its not a request/response to a memory mapped address from HPS.

So the idea would be:
i) Amiga chipset access memory on the HPS side using this bridge. i.e. move the memory to HPS side.
ii) Only use the slow HPS->FPGA bridge to access the hardware registers.

Edit: Oh I see I was already considering this before, but never implemented it.

User avatar
LamerDeluxe
Top Contributor
Posts: 1241
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 902 times
Been thanked: 285 times

Re: Lets actually try Hybrid Emulation

Unread post by LamerDeluxe »

foft wrote: Tue Oct 08, 2024 12:28 pm

Several years later...

Came across this page talking about using the FPGA->HPS SDRAM bridge:
https://people.ece.cornell.edu/land/cou ... index.html

This performs much better but its FPGA->RAM on the HPS side, but its not a request/response to a memory mapped address from HPS.

So the idea would be:
i) Amiga chipset access memory on the HPS side using this bridge. i.e. move the memory to HPS side.
ii) Only use the slow HPS->FPGA bridge to access the hardware registers.

Edit: Oh I see I was already considering this before, but never implemented it.

Would this be very complicated to implement in the current core?

foft
Posts: 345
Joined: Thu Dec 03, 2020 11:05 am
Has thanked: 29 times
Been thanked: 125 times

Re: Lets actually try Hybrid Emulation

Unread post by foft »

LamerDeluxe wrote: Tue Oct 08, 2024 4:06 pm

Would this be very complicated to implement in the current core?

Good question, not sure. I was hoping one of the main core developers would chime in :D

I'll probably have a look at some point. Threw my back out shortly after posting this so not done much hobby stuff lately...

Neocaron
Top Contributor
Posts: 375
Joined: Sun Sep 27, 2020 10:16 am
Has thanked: 212 times
Been thanked: 88 times

Re: Lets actually try Hybrid Emulation

Unread post by Neocaron »

I like to see this topic still alive! Sad to see you hurt yourself foft, get better quickly!

Remastering Classic Game Cinematics: My new Youtube fun, check it out :D
https://www.youtube.com/@neocaron87

User avatar
LamerDeluxe
Top Contributor
Posts: 1241
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 902 times
Been thanked: 285 times

Re: Lets actually try Hybrid Emulation

Unread post by LamerDeluxe »

foft wrote: Sat Oct 26, 2024 10:55 am
LamerDeluxe wrote: Tue Oct 08, 2024 4:06 pm

Would this be very complicated to implement in the current core?

Good question, not sure. I was hoping one of the main core developers would chime in :D

I'll probably have a look at some point. Threw my back out shortly after posting this so not done much hobby stuff lately...

Ouch, sorry to hear that, take your time, backs can be a real hassle.

FPGA64
Top Contributor
Posts: 1012
Joined: Mon Mar 01, 2021 3:10 pm
Has thanked: 51 times
Been thanked: 398 times

Re: Lets actually try Hybrid Emulation

Unread post by FPGA64 »

Isnt that paper about the DE 1 and we have a DE 10 in the Mister

smarkusg
Posts: 3
Joined: Sun Dec 15, 2024 6:08 pm

Re: Lets actually try Hybrid Emulation

Unread post by smarkusg »

Hello
As this is my first message on the forum - welcome to the forum.
I am a recent owner of a MiSTER Pi.

@lordoftime79
I have recompiled with the patch from @foft : Mister, the current minimig and kernel modules and qemu.
It all runs under the current version of Mister.
I don't know about code changes under fpga unfortunately and everything works as previous versions.
Would probably have to make changes @foft.
If you need to run core hybrid further let me know.

smarkusg
Posts: 3
Joined: Sun Dec 15, 2024 6:08 pm

Re: Lets actually try Hybrid Emulation

Unread post by smarkusg »

I found an interesting message about hybrid emulation.
(FPGA + Emu68 JIT on Pi4/3). Tang Nano 20k board and probably MiSTeX.
The sysinfo result is interesting

https://x.com/Claude1079/status/1878319 ... u6GxQ&s=19

Post Reply