Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: whabang on March 12, 2003, 10:43:09 AM

Title: RTG on AGA.
Post by: whabang on March 12, 2003, 10:43:09 AM
Is there any way of using P96 or CGFX with AGA?
There are several programs out there that requires RTG, but I don't want to use a GFX card as I want to keep my 1200 in it's original casing.
Anyone?
Title: Re: RTG on AGA.
Post by: xeron on March 12, 2003, 10:55:01 AM
If you have a PowerPC, there is a CGX AGA driver for it, but to be honest theres little point.

If a program actually requires a graphics card, the chances are it'll want at least highcolour graphics, and unless the CGX driver has a HAM8 mode, the program still won't work (no modes to show in the screenmode requester).

Even if it DID have a HAM8 mode, it would be so slow as to make the program unusable.
Title: Re: RTG on AGA.
Post by: whabang on March 12, 2003, 10:56:42 AM
Suspected that.
I guess I'll have to use WinUAE for such things, then...
Thanks.
Title: Re: RTG on AGA.
Post by: Karlos on March 12, 2003, 11:59:53 AM
I did use CGX AGA for a bit. It was fine for 8-bit stuff, such as Benoit and the like. There was no 15/16/24/32 bit support though..

It doesn't actually need a PPC - it just uses the ppc.library's AllocVec() replacement function to get memory aligned to a 32 byte boundary (AFAIK).

Maybe somebody could write a tiny stub ppc.library for this purpose ;-)
Title: Re: RTG on AGA.
Post by: xeron on March 12, 2003, 12:02:06 PM
Hmm... but are there any programs that use 8bit output, yet absolutely require the presence of an RTG system?!

Surely any sane programmer writing an OS friendly program that requires 8 bit chunky would offer a mode that uses graphics.library, so users of BlazeWCP can use the program too!?
Title: Re: RTG on AGA.
Post by: Karlos on March 12, 2003, 12:05:00 PM
Quote

Tickly wrote:
Hmm... but are there any programs that use 8bit output, yet absolutely require the presence of an RTG system?!

Surely any sane programmer writing an OS friendly program that requires 8 bit chunky would offer a mode that uses graphics.library, so users of BlazeWCP can use the program too!?


Unless theyr'e lazy buggers like me :-)
Title: Re: RTG on AGA.
Post by: xeron on March 12, 2003, 12:10:06 PM
Heh well, ok, but i don't see the point of limiting your audience, when the potential userbase is already tiny. Especially when WriteChunkyPixels() support requires not much more than:

[color=006600]
void writechunky( x, y etc. etc. )
{
  switch( mode )
  {
    case GMODE_CGX:
      WritePixelArray( x, y etc. etc. )
      break;
    default:
      WriteChunkyPixels( x, y etc. etc. )
  }
}
[/color]
Title: Re: RTG on AGA.
Post by: Karlos on March 12, 2003, 12:34:01 PM
I was kidding ;-)

I have my own code which is much faster than WritePixelArray() (gets copy speed basically) for 15/16/24/32 bit, even when conversion is required. I don't really support 8-bit yet though :-(. This is principally because I use Warp3D for a lot of stuff and most 3D hw is severely crippled on 8-bit screens.
Title: Re: RTG on AGA.
Post by: xeron on March 12, 2003, 12:47:04 PM
Yes, well i guess you didn't read my original post properly then... i said software which requires 8 bit chunky graphics!  :-P
Title: Re: RTG on AGA.
Post by: whabang on March 12, 2003, 12:47:26 PM
The reason I wanted RTG for AGA is tat I have a few programs that work fine in full-screen on AGA machines, but they won't work in a WB window unless I have RTG.
Title: Re: RTG on AGA.
Post by: Karlos on March 12, 2003, 02:01:55 PM
Quote

Tickly wrote:
Yes, well i guess you didn't read my original post properly then... i said software which requires 8 bit chunky graphics!  :-P


Nope, I did read it :-). I was just excusing myself from not having written much 8-bit stuff yet :-)
Title: Re: RTG on AGA.
Post by: saimo on March 12, 2003, 02:54:55 PM
Quote

Tickly wrote:

Even if it DID have a HAM8 mode, it would be so slow as to make the program unusable.


erm... ehm... a little OT, but this gives me the opportunity for some self-advertising... :-P
some months ago a released a package for fast (49 fps for a 320x256x8 with a 030@50) C2P stuff (and lotsa more) on AGA: it's pure c0d3rz stuff, but still I think it may be interesting to Amiga freaks... it can be found on Aminet searching for "TCS" (WARNING: there may be probs with scandoublers and gfxcards redirection because the system uses SHRES displays - no damage can be done, though, just bad-looking visuals).
I'd really like to know what people may think of it...

Regards,
saimo
Title: Re: RTG on AGA.
Post by: Karlos on March 12, 2003, 02:58:08 PM
I might be interested...
Does it bang the copper etc? Or can I just wrap it in a stub C function and use it safely in OS compatible code?
Title: Re: RTG on AGA.
Post by: lorddef on March 12, 2003, 03:49:14 PM
I use CGFX3 on my 030 with AGA, theres a a patch on aminet that allows you to install the PPC AGA drivers then replace certian files with ones in the archive, and woo hoo, CGX on a 68k with AGA.

a screenshot here

http://www.lorddef.net/computers/grabs/grabiff.jpg

You'll get a little speed up doing this, but it is very little.
Title: Re: RTG on AGA.
Post by: saimo on March 12, 2003, 05:08:29 PM
sorry for this late reply - I had to fly to a uni lecture...

anyways, yes it bangs the hadware, although it can be made OS-friendly (BTW: the system is in the form of a shared library, but nothing stops anybody to write his own routines, thanks to the extensive documentation that can be found in the archives); yet, I don't have the time right now and, after all, it's not something really needed... who cares about AGA this days, besides AGA democoders (who will be quite happy with the current implementation)?
To have a glance at some of the features, check out also the TCS_demo (on Aminet, too): you may find interesting things like 2 indipendent, variably cross-faded, 256-color screens with some rotzoom effects.


Best regards,
saimo
Title: Re: RTG on AGA.
Post by: Dan on March 13, 2003, 02:03:22 AM
Quote
I use CGFX3 on my 030 with AGA, theres a a patch on aminet that allows you to install the PPC AGA drivers then replace certian files with ones in the archive, and woo hoo, CGX on a 68k with AGA.

Whoa have to try that on my A1200-060!

Another great AGA-hack is MagicTV2, a software flickerfixer :-)  it really reduces the flicker in 640x512 but it only works in 16 or less colours. :-)
Title: Re: RTG on AGA.
Post by: whabang on March 13, 2003, 07:21:34 AM
Quote

lorddef wrote:
I use CGFX3 on my 030 with AGA, theres a a patch on aminet that allows you to install the PPC AGA drivers then replace certian files with ones in the archive, and woo hoo, CGX on a 68k with AGA.

a screenshot here

http://www.lorddef.net/computers/grabs/grabiff.jpg

You'll get a little speed up doing this, but it is very little.

Can you post a link to this archive? I couldn't find it...
Title: Re: RTG on AGA.
Post by: lorddef on March 14, 2003, 12:40:47 AM
Hmm, I cant seem to find it any more.  I think someone off the amiga-active mailing list emailed it to me.  What I had consisted of 4 archives, 1) a pdf guide to installing it, 2) cgfx3 3)AGA-68k monitor driver for cgfx and 4)an app called cyberbugfix.

If you really want it, I burnt it to CD, it's at home somewhere(where my amiga is) and I'm at uni, but remind me in 2 weeks when I'm at home and I'll email it to you.
Title: Re: RTG on AGA.
Post by: on March 14, 2003, 12:44:31 AM
Hey!

Can't you put it somewhere more public? I'd like this one too :)

Regards, Zerohero
Title: Re: RTG on AGA.
Post by: lorddef on March 14, 2003, 01:49:28 AM
Okay, I will do as soon as I get back home. remind me.
Title: Re: RTG on AGA.
Post by: whabang on March 14, 2003, 07:05:25 AM
Great!
Thanks!