English Amiga Board


Go Back   English Amiga Board > Main > Amiga scene

 
 
Thread Tools
Old 24 February 2023, 12:19   #61
OlafSch
Registered User
 
Join Date: Nov 2011
Location: Nuernberg
Posts: 818
Quote:
Originally Posted by Karlos View Post
Arguing with Thomas Richter over the pros/cons/necessity of MMU on Amiga 68K? Moar popcornz plx!!!

As a 68040 user since the first revision Apollo 1240, I have to say, the MMU seems pretty vital if I want to use the data cache properly, especially in the address ranges where all the hardware and chip memory lives.
Back in the days I owned a new A4000 with 68030 without MMU and did not see this as real problem. The other option was A4000 with 68040 but that was too expensive for me.

@Lord_AGA

A endless discussion what is emulation and what not... FPGA certainly is option that is nearest to ASIC but finally why care if it is a cow as long it gives milk . Both hardware extensions (V4 and PiStorm) are NG 68k hardware and if build in real amigas you do not see any difference if you boot it. So it is a matter of taste. Both platforms are far away from real world platforms so both are retro. I do not understand the controversies. Gunnar of course is not neutral, it is his baby he works on for about 10 years and he obviously earns his living with it. That partly explains why he is sometimes overreacting (expecially if someone critisizes). Other than that both solutions are nice for retro fans. What is missing is software (games) that f.e. use SAGA (perhaps even exclusive developed for V4) that "sell" the hardware. Theoretically SAGA is superior to PiStorm (that is using the original chipset in the amiga like it was in the V2 as far as I know) but as long there is no specific software you will not see it.

Last edited by OlafSch; 24 February 2023 at 12:38.
OlafSch is offline  
Old 24 February 2023, 12:48   #62
grond
Registered User
 
Join Date: Jun 2015
Location: Germany
Posts: 1,924
Quote:
Originally Posted by Karlos View Post
As a 68040 user since the first revision Apollo 1240, I have to say, the MMU seems pretty vital if I want to use the data cache properly, especially in the address ranges where all the hardware and chip memory lives.
That's what E-Penguin referred to: the 040 and 060 need the MMU to not cache chipmem and registers. The 080 doesn't cache chipmem nor registers, no MMU required. Why again must an 080 have an MMU? It would be a nice add-on for debugging using existing tools but an MMU is not a requirement at all for an Amiga.
grond is offline  
Old 24 February 2023, 13:15   #63
E-Penguin
Banana
 
E-Penguin's Avatar
 
Join Date: Jul 2016
Location: Darmstadt
Posts: 1,217
Quote:
Originally Posted by Karlos View Post
As a 68040 user since the first revision Apollo 1240, I have to say, the MMU seems pretty vital
"I need to use the MMU because I need to use the MMU" isn't an argument for the general necessity of an MMU.
E-Penguin is offline  
Old 24 February 2023, 13:50   #64
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,438
Quote:
Originally Posted by E-Penguin View Post
"I need to use the MMU because I need to use the MMU" isn't an argument for the general necessity of an MMU.
That's not the argument though. The argument is that I need to use the MMU if I want to use my CPUs data cache properly in a machine where certain memory ranges must not be cached due to volatility. Either that or I disable the data cache entirely and live with the performance hit.

This isn't even going into the whole question of memory protection or virtualization.
Karlos is online now  
Old 24 February 2023, 13:53   #65
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,539
The problem I have with FPGAs is that they, unlike an ASIC, may be modified! As a developer I find it quite frustrating to write programs for a CPU which is a moving target and may potentially break my old code. So I don't.

Nevertheless I think the Apollo team created a great product for a certain kind of person. And I had yet no problem to work together with them.
phx is offline  
Old 24 February 2023, 14:00   #66
OlafSch
Registered User
 
Join Date: Nov 2011
Location: Nuernberg
Posts: 818
Quote:
Originally Posted by phx View Post
The problem I have with FPGAs is that they, unlike an ASIC, may be modified! As a developer I find it quite frustrating to write programs for a CPU which is a moving target and may potentially break my old code. So I don't.

Nevertheless I think the Apollo team created a great product for a certain kind of person. And I had yet no problem to work together with them.
I follow also the MEGA65 project. It is FPGA too. It was planned to be just a slight improved C65 and then stop but now they are also adding additional features. If you have a FPGA the temptation to make changes seems to be too big . Anyway the Vampire cores certainly will be further optimzed for compatibility.
OlafSch is offline  
Old 24 February 2023, 14:01   #67
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,438
Quote:
Originally Posted by grond View Post
That's what E-Penguin referred to: the 040 and 060 need the MMU to not cache chipmem and registers. The 080 doesn't cache chipmem nor registers, no MMU required. Why again must an 080 have an MMU? It would be a nice add-on for debugging using existing tools but an MMU is not a requirement at all for an Amiga.
It wasn't E-Penguin I was responding to, to be honest, it was the original comments about MMU being inefficient. It's much more inefficient to disable your datacache on an 040 or 060 than use the MMU to mark areas as non cacheable (or just imprecise as on the 060 with speedychip IIRC).

If the vampire doesn't need an MMU because it's inherently designed to cache only what it should that's fine.

Does it provide any Enforcer like functionality for developers looking for illegal hits? Honest question. I have no idea.
Karlos is online now  
Old 24 February 2023, 14:19   #68
grond
Registered User
 
Join Date: Jun 2015
Location: Germany
Posts: 1,924
Quote:
Originally Posted by Karlos View Post
Does it provide any Enforcer like functionality for developers looking for illegal hits? Honest question. I have no idea.
Honest answer: I'm not sure. Gunnar said there was such a program which, I believe, Flype had written. I think it can set upper and lower address ranges to some registers of the 080 and the 080 will then check whether a memory access falls between those boundaries or not and will produce an exception if not. I think the number of address pairs was limited to something like a dozen or so. I have never seen that program in action and I didn't use Enforcer much back in the day even though I had a full 030 so I'm not even sure I remember how working with Enforcer was, hence, I couldn't make a meaningful comparison. I also don't know whether this program is still supported by current release cores.
grond is offline  
Old 24 February 2023, 14:56   #69
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,307
Quote:
Originally Posted by Karlos View Post
Arguing with Thomas Richter over the pros/cons/necessity of MMU on Amiga 68K? Moar popcornz plx!!!

As a 68040 user since the first revision Apollo 1240, I have to say, the MMU seems pretty vital if I want to use the data cache properly, especially in the address ranges where all the hardware and chip memory lives.
It's not the caching of chip mem that is crucial, it is the DMA transfer problem with the copyback cache were you really need it. The current Vampire does not support copyback, only writethrough, where this problem does not exist. An ASIC should probably provide copyback caching as well as it is faster than its memory interface.
Thomas Richter is offline  
Old 24 February 2023, 14:57   #70
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,307
Quote:
Originally Posted by grelbfarlk View Post
Jim Drew has been promising a Vampire and 060 updated version of Fusion, for about five years now. So that's taken care of.
Won't happen, trust me. MacOs needs the MMU even more than AmigaOs, and some applications around MacOs as well. Quite unlike AmigaOs, MacOs runs everything in supervisor mode, so you cannot even isolate the problem to the Os - applications there also access the MMU directly (yuck!).
Thomas Richter is offline  
Old 24 February 2023, 15:03   #71
S0ulA55a551n
Registered User
 
S0ulA55a551n's Avatar
 
Join Date: Nov 2010
Location: South Wales
Age: 47
Posts: 944
Quote:
Originally Posted by kriz View Post
I like my Vampire, but the management behind it is really bad.. Documentation and information is also always strangely difficult to obtain (new drivers, updates , guides and so on)..
100% agree with this. I own 2 vamps, but some of the people and decisions behind it I cannot not get on board with.

Not very helpful or good to their customers. Really has put me off using them. They gather dust
S0ulA55a551n is offline  
Old 24 February 2023, 15:28   #72
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,307
Quote:
Originally Posted by Karlos View Post
If the vampire doesn't need an MMU because it's inherently designed to cache only what it should that's fine.

That is not *quite* how it works. As I said, it's an oddball, where caching is controlled on a larger page size than inhibiting access. Of course, if you need to store (only) two bits per "page", and you have limited resources on the FPGA, you need to make pages as large as possible to save resources. (Block-RAM on an FPGA is a resource you better manage carefully, as there is only a limited amount of it).


If I recall, the page sizes were like 4K + 256K, and as said, there are no used or modified bits, nor indirect descriptors, nor memory redirection (map page A to page B) nor write-protection. That's nothing Mac applications could potentially handle, just to widen the perspective a bit beyond my own software.


If you would want to implement a full MMU, you need an "address translation cache" that buffers a couple of descriptors (as you cannot keep the entire table within the FPGA due to limited block RAM), and you need some associative array lookup from a logical address into such an array, and that in the critical path of the memory access. Yes, that's causing problems as it limits the signal running time within the FPGA, and by that the maximum clock frequency the FPGA can operate with.


MMU table walk etc... you could even do in software, that is not really the crucial problem.
Thomas Richter is offline  
Old 24 February 2023, 17:08   #73
Lord Aga
MI clan prevails
 
Lord Aga's Avatar
 
Join Date: Jul 2010
Location: Belgrade, Serbia
Posts: 1,443
Quote:
Originally Posted by Seiya View Post
just a curiosity: why x86 emulate 68k is "Boooo", whyle ARM emulate 68k no?.
Oh, it's just a joke
And it's not aimed at the emulation function. It's: Intel (boooo)! You know, because of the old rivalry? Intel outside?
We have no such rivalry with ARM from the days of old.
Lord Aga is offline  
Old 24 February 2023, 17:20   #74
Promilus
Registered User
 
Join Date: Sep 2013
Location: Poland
Posts: 868
Quote:
You know, because of the old rivalry? Intel outside?
Vampire and Apollo are Intel Inside though...
Warp is on the other hand powered by AMD (Xilinx - Artix7) and so is ZZ9000 (Xilinx Zynq)
Promilus is offline  
Old 24 February 2023, 17:25   #75
ProfPlum
Registered User
 
Join Date: Jun 2019
Location: Montreal, Canada
Posts: 161
There is too much talk on 'emulation', 'ASICs', 'FPGA'.
Is this relevant? The topic is, 'Is there too much hype about the Vampire?'

I pulled my A2000 out of storage 2-3 years ago. I was trying to find an A2630 for it. I was stupid and let one go (I think one was up for sale on Amibay at that time).

I purchased a Vampire 500 V2+. Is it a good product? Yes it is.
I also own a PiStorm. Is it a good product? Yes it is. I currently don't use it because my Vampire gives me network support. (I was using PiStorm with Emu68).

What was I expecting with the Vampire? Why did I buy it?
To get a faster Amiga, RTG display, more RAM, networking.
Did I achieve this? Yes I did.

How do I feel about the cost? I think it's reasonable considering what it would cost me to get an accelerator, network card, RTG card, more RAM and IDE interface (even though I had scsi and buddha cards before Vampire purchase).

Both the Vampire and PiStorm have given me issues with some Z2 cards. But this is what it is. Nothing is perfect. We have 2 good options. Chose what you feel is good for you.

Last edited by ProfPlum; 24 February 2023 at 17:34.
ProfPlum is offline  
Old 24 February 2023, 19:08   #76
Seiya
Registered User
 
Seiya's Avatar
 
Join Date: Nov 2014
Location: Italy
Posts: 2,437
Quote:
Originally Posted by Lord Aga View Post
Oh, it's just a joke
And it's not aimed at the emulation function. It's: Intel (boooo)! You know, because of the old rivalry? Intel outside?
We have no such rivalry with ARM from the days of old.
ah ah ok
Seiya is offline  
Old 24 February 2023, 19:50   #77
HornBeamSoft
Registered User
 
Join Date: Aug 2020
Location: Namestovo/Slovakia
Posts: 17
when someone wrote emulator it means software emulator.
pistorm is emulator. emulator is something odd.

of course there are many problems with Gunnar.
he often lie about performance and features of vampire.
but after all vampire is real thing not software emulator.
HornBeamSoft is offline  
Old 24 February 2023, 20:07   #78
Promilus
Registered User
 
Join Date: Sep 2013
Location: Poland
Posts: 868
Quote:
when someone wrote emulator it means software emulator
No it doesn't. There are emulators of different piece of hardware. E.g. 109R resistor emulates room temperature for RTD (PT100) sensor input. It's hardware emulator.
There are hardware emulators of lambda probes or EGR valves. It doesn't mean AC68080 is emulator. But being implemented in hardware doesn't actually mean it absolutely CAN'T be emulation! Because it obviously CAN!
Promilus is offline  
Old 24 February 2023, 20:10   #79
BSzili
old chunk of coal
 
BSzili's Avatar
 
Join Date: Nov 2011
Location: Hungary
Posts: 1,300
I hope this thread can overtake the "disappointed with the A1200" one in the number of pages. It's Vampire-related, so there's a chance!
BSzili is offline  
Old 24 February 2023, 20:22   #80
Cris1997XX
Registered User
 
Join Date: Oct 2022
Location: Roma
Posts: 346
Quote:
Originally Posted by BSzili View Post
I hope this thread can overtake the "disappointed with the A1200" one in the number of pages. It's Vampire-related, so there's a chance!
I think the number of people disappointed with the Vampire is waay smaller, but sure. I'm ready to bet
Cris1997XX 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
Vampire 1200 V2 accelerator board freesofia support.Hardware 3 04 November 2022 21:23
One video claims to have every amiga game. T_hairy_bootson Amiga scene 5 04 April 2017 05:27
First Amiga 600 FPGA Accelerator - Vampire 600 majsta Hardware mods 736 18 July 2016 18:31
WTB: A600 Vampire 2 accelerator fpmpaolo MarketPlace 8 22 May 2016 20:07

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 09:22.

Top

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