Welcome, Guest. Please login or register.

Author Topic: Amiga AGA RTG  (Read 4614 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline cynkronyzeTopic starter

  • Newbie
  • *
  • Join Date: Mar 2006
  • Posts: 42
    • Show only replies by cynkronyze
Amiga AGA RTG
« on: August 25, 2006, 09:22:03 AM »
Hi guys,

can any of you explain what does RTG stand for?

I know that AGA is advanced graphics architecture.

AGA games are good

AGA RTG are amazing......so wahts the difference?

thanks
C64
C128
Sega mega drive
Sony PSP
Compaq B2800
AMD 64 desktop
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show only replies by Karlos
Re: Amiga AGA RTG
« Reply #1 on: August 25, 2006, 09:33:34 AM »
ReTargettable Graphics

The idea behind RTG is that an application doesnt't need to know exactly what hardware is powering the display.

Just to  muddy the issue, stuff written specifically for AGA will usually outperform RTG stuff that happens to work on AGA.  Additionally a lot of RTG stuff exists that assumes you have a graphics card and won't work on AGA only systems.
int p; // A
 

Offline Thomas

Re: Amiga AGA RTG
« Reply #2 on: August 25, 2006, 09:41:06 AM »

RTG stands for ReTargetable Graphics and is a standard phrase for graphics card drivers. OCS/ECS/AGA are natively supported by AmigaOS, but AmigaOS is not ready for RTG. So graphics card drivers need to hack into the OS in order to work. That's why there is such a strict differentiation between native and RTG screen modes when regarding the Amiga.

Bye,
Thomas

Offline alexatkin

  • Full Member
  • ***
  • Join Date: Aug 2006
  • Posts: 100
    • Show only replies by alexatkin
    • http://csdprojects.co.uk/
Re: Amiga AGA RTG
« Reply #3 on: August 25, 2006, 10:49:33 AM »
Sorry to takeover the thread, although I think the question has been answered sufficiently to be safe.

So, you can support RTG with standard AGA hardware?

If I understand that right its because one of the major limitations with AGA games is they were designed for stock A1200 with 2MB CHIP RAM for EVERYTHING. Whereas RTG stuff will vary as its NOT for stock hardware so will use higher colour modes.  And as more CHIP RAM will be available you CAN use higher colour modes than stock AGA games could have.

If all the above is true, is there a guide to installing Workbench on Amigas with accelerators and how customised would you recommend for a stock AGA system running a 50Mhz 030?  Will it be worth getting an FPU?  I understand that an FPU can take HUGE burdon off the CPU and does number crunching a lot faster too for things like archivers, but will it be any major benefit such as speeding up graphics operations?  The more I can push out of the AGA chipset the better, in fact thats part of the challenge. To see how much I can get out of the A1200 without spending stupid amounts of money that would be better spent on upgrading my PC.

And to get back on topic.  I presume that RTG is very similar (although on a more basic level I expect) to Direct X in that respect.  Its a middleware API so you only have to speak one language and RTG handles translating into something the graphics card understands, right?
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Amiga AGA RTG
« Reply #4 on: August 25, 2006, 11:16:00 AM »
FPU doesnt speed up Amiga at all.
My Amigas: A500, Mac Mini and PowerBook
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Amiga AGA RTG
« Reply #5 on: August 25, 2006, 11:19:32 AM »
@alexatkin
Quote
If I understand that right its because one of the major limitations with AGA games is they were designed for stock A1200 with 2MB CHIP RAM for EVERYTHING. Whereas RTG stuff will vary as its NOT for stock hardware so will use higher colour modes. And as more CHIP RAM will be available you CAN use higher colour modes than stock AGA games could have.

Well, the graphics memory with the gfxcard has nothing to do with "chip memory", but other that that, yes that's pretty much it. Also, the graphics cards typically can generate higher frequency & resolution displays due to faster memory and chipset. Most gfxcards have at least 2MB graphics memory, typically 4/8MB or more (naturally this depends on the gfxcard in question).

Gfxcards (with fast bus) are much faster for things that need chunky graphics, there is no need for chunky2planar conversion.

Quote
Will it be worth getting an FPU?

Depends on if you have applications that benefit from FPU. Normally FPU is not needed.

Quote
I understand that an FPU can take HUGE burdon off the CPU

Not really, FPU needs special support from the software. But if application supports FPU it can potentially be couple of times faster than integer math version.

Quote
and does number crunching a lot faster too for things like archivers

No.

Quote
but will it be any major benefit such as speeding up graphics operations?

No.

Quote
And to get back on topic. I presume that RTG is very similar (although on a more basic level I expect) to Direct X in that respect. Its a middleware API so you only have to speak one language and RTG handles translating into something the graphics card understands, right?

Correct (to some extent). DirectX does much much more than amiga RTG. RTG patches to regular graphics.library, layers.library and intuition.library, providing OS friendly apps way to access the graphics card hardware. Truecolor routines are available thru additional API (Picasso96API.library for Picasso96, cybergraphics.library for CyberGraphX and Picasso96). RTG itself has drivers for various graphics cards.
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show only replies by Karlos
Re: Amiga AGA RTG
« Reply #6 on: August 25, 2006, 11:20:02 AM »
An FPU will speed up only a specific subset of operations involving floating point arithmetic. And then it will only do it if the software was compiled for it. Stuff like rendering etc are the biggest users of FPU. Software compiled to use the mathiee#? libaries will be accelerated if you get appropriate replacement libraries.

Stuff like graphical operations and archiving are typically integer operation based and hence unaffected by the presence of an FPU.

The only graphical systems assisted by FPU are things like Warp3D/OpenGL which need much higher spec systems to start with.
int p; // A
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Amiga AGA RTG
« Reply #7 on: August 25, 2006, 11:26:07 AM »
Quote

I presume that RTG is very similar (although on a more basic level I expect) to Direct X in that respect.


Not at all. Direct X is low level API for games. RTG is more like a driver system for graphics cards and replaces original rendering routines by its own driver system.

My Amigas: A500, Mac Mini and PowerBook
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Amiga AGA RTG
« Reply #8 on: August 25, 2006, 11:28:57 AM »
Quote

An FPU will speed up only a specific subset of operations involving floating point arithmetic. And then it will only do it if the software was compiled for it. Stuff like rendering etc are the biggest users of FPU. Software compiled to use the mathiee#? libaries will be accelerated if you get appropriate replacement libraries.


But for example FPU version of mpega.library is slower than integer version without FPU. However FPU version provides better quality of output.
My Amigas: A500, Mac Mini and PowerBook
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show only replies by Karlos
Re: Amiga AGA RTG
« Reply #9 on: August 25, 2006, 11:30:09 AM »
One thing to be aware of with respect to RTG, assuming you are performance obsessed like yours truly, at least on classic systems, is that they tend to massively underutilize the GPU for rendering tasks.

Most stuff ends up being rendered by software under Picasso96 / CGX on the vast majority of graphics cards, even when the card supports a full range of 2D operations directly. I did a *lot* of experimentation in this area up to about a year ago. Often only basic blits between identical BitMap formats, rectangle fills and sometimes line drawing are accelerated by RTG. Transparent blits, scaled blits, pixel converting blits (from one format to another) polygon fills etc tend to be entirely CPU driven regardless if the GPU offers these operations. Which I find immensely irritating ;-)

The speed up a graphics card gives you is principally down to the fact that you have a faster bus on which to shovel pixel data to the video memory ;-0
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show only replies by Karlos
Re: Amiga AGA RTG
« Reply #10 on: August 25, 2006, 11:31:20 AM »
Quote

itix wrote:
Quote

An FPU will speed up only a specific subset of operations involving floating point arithmetic. And then it will only do it if the software was compiled for it. Stuff like rendering etc are the biggest users of FPU. Software compiled to use the mathiee#? libaries will be accelerated if you get appropriate replacement libraries.


But for example FPU version of mpega.library is slower than integer version without FPU. However FPU version provides better quality of output.


True, but this is a very specific example. Arguably you could still say it is faster - the integer version to attain a comparable quality would likely be slower.
int p; // A
 

Offline alexatkin

  • Full Member
  • ***
  • Join Date: Aug 2006
  • Posts: 100
    • Show only replies by alexatkin
    • http://csdprojects.co.uk/
Re: Amiga AGA RTG
« Reply #11 on: August 25, 2006, 01:01:05 PM »
When I was referring to chip RAM it was because I was trying to find out what AGA RTG was.  If its RTG but sat on top of normal AGA chipset then surely it IS related to chip RAM as that IS one and the same as graphics RAM. The higher the bitdepth the more of that 2MB it will use up. Therefore if you have FAST RAM it follows that you can use a higher bit depth because more graphics memory is available due to most of the stuff that previously was in graphics memory is now in FAST RAM instead.
 

Offline Flashlab

  • Hero Member
  • *****
  • Join Date: Aug 2005
  • Posts: 1396
    • Show only replies by Flashlab
Re: Amiga AGA RTG
« Reply #12 on: August 25, 2006, 01:05:37 PM »
If I recall correctly there's a AGA RTG driver for CGX. That's the closest you'll get to AGA RTG I guess.
Amiga 4000D Cyberstorm PPC 060@50 604@200 SCSI 130Mb Ram G-Rex Voodoo3 PicassoIV Paloma Ariadne Delfina Lite

Online Flash version of BoulderDash: Offline...
 

Offline zipper

Re: Amiga AGA RTG
« Reply #13 on: August 25, 2006, 04:02:15 PM »
But just for CGX v.3
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Amiga AGA RTG
« Reply #14 on: August 25, 2006, 04:56:05 PM »
Quote

The higher the bitdepth the more of that 2MB it will use up. Therefore if you have FAST RAM it follows that you can use a higher bit depth because more graphics memory is available due to most of the stuff that previously was in graphics memory is now in FAST RAM instead.


AGA still couldnt use more than 8 bit planes at once. But AGA could be wrapped inside RTG where offscreen bitmaps were allocated from fast ram and chip ram was reserved for screens. Unfortunately manipulating planar bitmaps by CPU is insanely slow, 8bit AGA screens are insanely slow, not to mention insanely slow chip ram bus.
My Amigas: A500, Mac Mini and PowerBook