Welcome, Guest. Please login or register.

Author Topic: ADOOM on A600 running 22-35 FPS  (Read 55993 times)

Description:

0 Members and 2 Guests are viewing this topic.

Offline vxm

  • Jr. Member
  • **
  • Join Date: Apr 2012
  • Posts: 59
    • Show only replies by vxm
Re: ADOOM on A600 running 22-35 FPS
« Reply #344 from previous page: February 24, 2015, 06:22:16 PM »
Quote from: Thomas Richter;785326
It's a matter of finding the right balance, and the size of the cache. The current core already requires software support for integer arithmetic and - quite like the 68060 - does not suffer from that because only exotic instructions require emlation that are rarely ever needed.

Consider an ATC of 256 entries, 4K per entry. This is already pretty small. The core could then address 1MB of memory without ever requiring a table walk. Put this into perspective to the typical Amiga program, probably at one tenth of this size.

Thus, the core would at worst initiate a table walk when loading a program.

Anyhow, this is all theory. I'm not saying that anyone should focus on this right now. There are more serious matters.
In an AMP context, your idea seems very promising. Especially as the architecture of the Amiga should facilitate this development.
And no, I have not forgotten the many discussions around a possible AMP based solution. In fact, I quietly waiting it.
« Last Edit: February 24, 2015, 06:29:53 PM by vxm »
 

Offline ppcamiga1

Re: ADOOM on A600 running 22-35 FPS
« Reply #345 on: February 24, 2015, 07:50:07 PM »
Quote from: Thomas Richter;785298
This crap natami has a standard 68060 CPU on board, and hence a standard 68060 MMU.

This crappy natami is on my crappy desk. Here you go.

gunnar von boehn promised NatAmi faster than powerpc.

I do not want NatAmi with 060.  

I want NatAmi faster than g4 with PS2 level graphics, for 100 euros only.  

gunnar promised that in autumn 2009, everyone will be able to buy it.  

gunnar where is my NatAmi?
 

Offline eliyahu

  • Lifetime Member
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jan 2011
  • Posts: 1220
  • Country: us
  • Thanked: 4 times
  • Gender: Male
    • Show only replies by eliyahu
    • eliyahu.org
Re: ADOOM on A600 running 22-35 FPS
« Reply #346 on: February 24, 2015, 08:02:03 PM »
@ppcamiga1

you were warned to stop trolling in this thread, and you ignored it. enjoy your two-week break.

-- eliyahu
"How do you know I’m mad?" said Alice.
"You must be," said the Cat, "or you wouldn’t have come here."
 

Offline ferrellsl

Re: ADOOM on A600 running 22-35 FPS
« Reply #347 on: February 24, 2015, 08:50:37 PM »
Quote from: eliyahu;785342
@ppcamiga1

you were warned to stop trolling in this thread, and you ignored it. enjoy your two-week break.

-- eliyahu


Thank you!
 

Offline Nickman

  • Sr. Member
  • ****
  • Join Date: Feb 2002
  • Posts: 255
  • Country: 00
    • Show only replies by Nickman
Re: ADOOM on A600 running 22-35 FPS
« Reply #348 on: February 24, 2015, 09:36:08 PM »
Quote from: ferrellsl;785348
Thank you!


Yes Thank you!
----
Amiga1200T
Mediator/Voodoo3 3000/100mbit NIC/SB128
Blizzppc 603e 210Mhz 040 25Mhz, 192 mb ram,Bvision
SCSI Ultra320 74GB HD,4x Burner,MO drive.
 

Offline Oldsmobile_Mike

Re: ADOOM on A600 running 22-35 FPS
« Reply #349 on: February 24, 2015, 11:14:32 PM »
Sometimes people make moderating decisions too easy.  ;)

:banana:  :banana:  :banana:  :banana:  :banana:  :banana:  :banana:


:pint:  :pint:  :pint:  :pint:  :pint:  :pint:
Amiga 500: 2MB Chip|16MB Fast|30MHz 68030+68882|3.9|Indivision ECS|GVP A500HD+|Mechware card reader + 8GB CF|Cocolino|SCSI DVD-RAM
Amiga 2000: 2MB Chip|136MB Fast|50MHz 68060|3.9|Indivision ECS + GVP Spectrum|Mechware card reader + 8GB CF|AD516|X-Surf 100|RapidRoad|Cocolino|SCSI CD-RW
 Amiga videos and other misc. stuff at https://www.youtube.com/CompTechMike/videos
 

Offline matthey

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1294
    • Show only replies by matthey
Re: ADOOM on A600 running 22-35 FPS
« Reply #350 on: February 25, 2015, 12:16:21 AM »
@ThoR
I used the term virtual address instead of logical address, hoping non-technical people would understand it better. I guess I won't be writing any technical manuals on the MMU.

Quote from: Thomas Richter;785296
I wouldn't go for a hierarchy, it's all complicating matters. A flat page table within which the MMU finds entries by trying several hash algorithms to find a suitable table entry would be entirely sufficient. Everything else, like filling the page table, or replacing descriptors in the page, can be done entirely in software. This software can do the table walk and emulate whatever 68K MMU there is.

So would support code be loaded before boot which would trap when 68040 MMU instructions not in hardware were used? Then offer a supervisor space library interface to the same code (like fpsp.resource but supervisor only) which can be used to reduce the trap overhead? This could make it easy to get an OS using a 68040 MMU up and running and then slowly replace the trapped MMU instructions?
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: ADOOM on A600 running 22-35 FPS
« Reply #351 on: February 25, 2015, 12:22:32 AM »
Quote from: ppcamiga1;785340
gunnar von boehn promised NatAmi faster than powerpc.

I do not want NatAmi with 060.  

I want NatAmi faster than g4 with PS2 level graphics, for 100 euros only.  

gunnar promised that in autumn 2009, everyone will be able to buy it.  


Gunnar overpromised many things but I don't remember any "for 100 euros only" promise.  Maybe you are referring to "CPU only"?

And the deal with "faster than g4" was actually "Mhz for Mhz faster than G4".

That means a 100 Mhz Natami/Apollo would be faster than a 100Mhz G4.  A 300Mhz Natami/Apollo would be faster than a 300Mhz G4.  And a 400Mhz Apollo/Natami would be faster at copying memory from Point A to Point B than a 2200Mhz G4 due to the spectacularly bad memory interface endemic to all publicly available PPC processors.

If you are going to criticize someone, fine, but be truthful about it.
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline kolla

Re: ADOOM on A600 running 22-35 FPS
« Reply #352 on: February 25, 2015, 12:50:07 AM »
Quote from: biggun;785310
Not sure I understand the question.
If we would not put SAGA into the FPGA how could we run Amiga OS?

Exactly, and for Amiga (and Atari) this is pretty much done deal, FPGA implementations of chipsets exists, but I don't this is the case for other m68k systems.

@matthey, a "cherry pi" would need an FPGA anyhow to be useful for AmigaOS. Price wise, what is more expencive you think, a bigger FPGA to hold both CPU and chipset and whatnot, or an ASIC for CPU and a "cheaper" FPGA for chipset++?
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline matthey

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1294
    • Show only replies by matthey
Re: ADOOM on A600 running 22-35 FPS
« Reply #353 on: February 25, 2015, 02:06:21 AM »
Quote from: kolla;785357
Exactly, and for Amiga (and Atari) this is pretty much done deal, FPGA implementations of chipsets exists, but I don't this is the case for other m68k systems.

@matthey, a "cherry pi" would need an FPGA anyhow to be useful for AmigaOS. Price wise, what is more expencive you think, a bigger FPGA to hold both CPU and chipset and whatnot, or an ASIC for CPU and a "cheaper" FPGA for chipset++?


It should be possible to bake the Amiga chipset and possibly even other chipsets into the ASIC, although a small FPGA for a chipset would be more flexible. I believe the power could be switched off to the chipsets if someone wanted a CPU only. Then again, it would be useful if the CPU came with a chipset, more I/O support like ethernet and USB, memory controller and even a small amount of memory. One of the reasons ARM SoCs are used so much is that they are convenient, cheap to build a board and low power. If there was a decent 68k SoC on the market, I bet there would be a slew of new Amiga hardware projects pop up over night.
 

Offline kolla

Re: ADOOM on A600 running 22-35 FPS
« Reply #354 on: February 25, 2015, 06:36:20 AM »
I'm curious if old MacOS 8 under Shapeshifter has been tested on Vampire600?
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline biggunTopic starter

  • Sr. Member
  • ****
  • Join Date: Apr 2006
  • Posts: 397
    • Show only replies by biggun
    • http://www.greyhound-data.com/gunnar/
Re: ADOOM on A600 running 22-35 FPS
« Reply #355 on: February 25, 2015, 06:50:44 AM »
Quote from: kolla;785357
Exactly, and for Amiga (and Atari) this is pretty much done deal, FPGA implementations of chipsets exists, but I don't this is the case for other m68k systems.


If you run BSD or Linux then you are not banging the chipset anyway.
So where is the point to have diffrent chipset for these users?
Isn't one chipset which is supported all they need?

Offline kolla

Re: ADOOM on A600 running 22-35 FPS
« Reply #356 on: February 25, 2015, 07:09:20 AM »
Of course both BSDs and Linux are banging the chipset, how else would they provide screen output and sound? Of course these also have the advantage that they will be able to support and make use of SAGA too, when that time comes. Other OSes are not so fortunate, and require that people replicate their old chipsets in the FPGA.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline biggunTopic starter

  • Sr. Member
  • ****
  • Join Date: Apr 2006
  • Posts: 397
    • Show only replies by biggun
    • http://www.greyhound-data.com/gunnar/
Re: ADOOM on A600 running 22-35 FPS
« Reply #357 on: February 25, 2015, 07:48:44 AM »
Quote from: kolla;785379
Of course both BSDs and Linux are banging the chipset,


The point is on BSD and Linux all software goes through a driver - there is nothing banging the chipset directly. So on BSD or LINUX it does not matter what hardware you have. The same is true for MAC-OS.

For ATARI and AMIGA the story is different. An AMIGA without AMIGA chipset is no AMIGA ...

guest11527

  • Guest
Re: ADOOM on A600 running 22-35 FPS
« Reply #358 on: February 25, 2015, 07:59:03 AM »
Quote from: matthey;785355
So would support code be loaded before boot which would trap when 68040 MMU instructions not in hardware were used? Then offer a supervisor space library interface to the same code (like fpsp.resource but supervisor only) which can be used to reduce the trap overhead? This could make it easy to get an OS using a 68040 MMU up and running and then slowly replace the trapped MMU instructions?

Look, you are asking a lot of questions on concrete software implementation in a situation where even requirements and use cases are not strictly defined. Thus, it is really a bit premature to say anything, given that no single thought has been wasted on an actual MMU in the Phoenix.

If you want me to cook something up in a minute, I would say that a typical solution would possibly make the CPU trap in case it does not find its descriptor in the cache. A mmu support package (mmusp) would catch this exception, perform the table walk as the 68K MMUs would do, replace descriptors in the cache, and resume operation. In case it does not find the descriptor in the table, it would initiate the bus error from the software side.  

There are not really many MMU instructions that would need to be trapped. Actually, none of them are user accessible, so none of them require - strictly speaking - any trapping.  You would probably have to emulate the TTx registers to allow exec to start up, probably even as a no-op, but that's only an implementation detail.

What then could happen is that is extensive mmusp could be replaced by something simpler, for example the mmu.library, as soon as it comes into play.

But anyhow, these are all rough design ideas without really having them checked, and whether they might survive contact with reality is another story.  

One way or another, at this point I would rather prefer to get the current core done "as a product" (i.e. can be bought as expansion card in stores). Since that's all on an FPGA, it shouldn't really cause too much trouble replacing that in the future, should the card be successful, should there be enough users, should Gunnar find enough time for the design... Many "if's" in this equation, so please, I don't think it makes much sense to discuss this right now.
 

Offline biggunTopic starter

  • Sr. Member
  • ****
  • Join Date: Apr 2006
  • Posts: 397
    • Show only replies by biggun
    • http://www.greyhound-data.com/gunnar/
Re: ADOOM on A600 running 22-35 FPS
« Reply #359 on: February 25, 2015, 08:40:33 AM »
Quote from: matthey;785366
It should be possible to bake the Amiga chipset and possibly even other chipsets into the ASIC, although a small FPGA for a chipset would be more flexible.


Maybe it makes sense to sum up the difference:

CPU

in FPGA  ~ 600 Mhz 68020 Speed
in Very Good FPGA ~ 1200 Mhz 68020 Speed
+ needed investment to develop an FPGA system is low - some hundred to maybe thousand $ to get prototype
+  Bugs can be fixed in the field

 
CPU
in low end ASIC  ~ 1000 MHz 68020 Speed
in high end ASIC  ~ 5000 MHz 68020 Speed
- needed investment is huge for high end Asic the price for prototype can be in range of $200,000
- if there is a bug then the ASIC can not be fixed.
- To fix a bug again $100,000 need to be invested.



GFX Chipset
If you do the chipset well then you can get with todays entry level FPGA already super performance.
16bit CD quality audio is no problem.
FULL HD video output is no problem, 24bit truecolor is no problem,
If you do it right then having 100 times DMA performance compared to AGA is no problem with todays entry level FPGAs.

an ASIC could again improve over this.
But would have huge cost and huge risk.

I'm personally happy with FULL HD - I do not need 4K display ...

In regards of the chipset I would certainly prefer to use an FPGA to keep the risk and investments lower and to have the possibility to improve the chipset if we want to.