Overview Features Coding ApolloOS Performance Forum Downloads Products Order Contact

Welcome to the Apollo Forum

This forum is for people interested in the APOLLO CPU.
Please read the forum usage manual.
Please visit our Apollo-Discord Server for support.



All TopicsNewsPerformanceGamesDemosApolloVampireAROSWorkbenchATARIReleases
The team will post updates and news about our project here

3D for Amiga Now!

Gunnar von Boehn
(Apollo Team Member)
Posts 6207
20 Jul 2021 07:38


Maybe you have seen this already in the R7 announcement.
 
R7 will bring some 3D/TEXTURE assembly instruction for AMIGA.
R7 will be released soon for the V4 range.
The means V4-Standalone and V4-Firebird for A500 will have 3D features now. Also for the V2-1200 accelerator making a release with these 3D instructions is planned.
 
The instructions TEX8, TEX16 and TEX24 are explained in our coding documentations section. These new AMMX instructions are designed to make coding of texture-3D games easier and also to reach a lot higher performance.
 
 
TEX8 is designed as drop in replacement for existing games.
Many old games like Tomb Raider, Alone in the Dark, Doom, Quake, X-wing, and mostly all Amiga AGA 3D demos use 8bit texturing. This instruction is designed as very easy to be used by all these programs and to improve the performance of all of these.
 
TEX16 is designed to be easy to use and to improve performance a lot for some effect many Amiga Demo coders like to use. Some RTG Amiga demos effects will be easier and faster to code with it.
 
TEX24 open complete new possibilities for AMIGA.
Finally its possible to code great looking 24bit 3D textures surfaces with light/shading in an very easy way and with performance never seen on Amiga.
 

 


Norbert Kett
(Apollo Team Member)
Posts 39
20 Jul 2021 09:46


I think this is what i'm waiting for ... TinyGL should support this.
(So sad, my V600 is not working anymore. As i know it requires some soldering, because it's an early version, and not working with latest cores)


Peeri the Sunlight

Posts 71
20 Jul 2021 10:57


Gunnar von Boehn wrote:

  The instructions TEX8, TEX16 and TEX24 are explained in our coding documentations section.

Is there possibility to give opt code examples so that we can use them in Asmone

like


Newloop:
    dc.w  $xxxx, xxxx, xxxx, xxx ; = tex8.256 (A0,(A2,A3)),D0

    add.l D2,A2
    add.l D3,A3
    move.b D0,(A1)+
    dbra  D7,Newloop




Gunnar von Boehn
(Apollo Team Member)
Posts 6207
20 Jul 2021 11:46


Peeri the Sunlight wrote:

Gunnar von Boehn wrote:

  The instructions TEX8, TEX16 and TEX24 are explained in our coding documentations section.

 
  Is there possibility to give opt code examples so that we can use them in Asmone
 
  like
 
 

  Newloop:
    dc.w  $xxxx, xxxx, xxxx, xxx ; = tex8.256 (A0,(A2,A3)),D0
 
    add.l D2,A2
    add.l D3,A3
    move.b D0,(A1)+
    dbra  D7,Newloop
 

Yes, here is the matching obcode for this:
dc.w    $FE30,$203E,$B850  = tex8.256 (A0,(A2,A3)),D0




Peeri the Sunlight

Posts 71
20 Jul 2021 12:35


Gee... Thanks. I presume that you someday release full list of obcodes...


Thierry Atheist

Posts 644
21 Jul 2021 02:48


Gunnar von Boehn wrote:
TEX16 is designed to be easy to use and to improve performance a lot for some effect many Amiga Demo coders like to use. Some RTG Amiga demos effects will be easier and faster to code with it.

Can the images/screens generated be applied to S-AGA screen modes as well?

(Not a fan of rtg.)


Gunnar von Boehn
(Apollo Team Member)
Posts 6207
21 Jul 2021 08:04


Thierry Atheist wrote:

Can the images/screens generated be applied to S-AGA screen modes as well?
 
(Not a fan of rtg.)

Yes you can of course directly open the screen with a simple MOVE to SAGA GFXMODE register. There is no need to use any RTG layers (you can but not need). If you look at Arnes Amiga assembly courses then you will see that he always goes the direct Amiga way.

posts 7