Welcome, Guest. Please login or register.

Author Topic: some questions about RTG library.  (Read 1872 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: some questions about RTG library.
« on: October 10, 2005, 10:28:56 PM »
Whatever you do, avoid rtgmaster at any cost.

It's one of the worst things that happened to Amiga.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: some questions about RTG library.
« Reply #1 on: October 10, 2005, 10:54:03 PM »
@LuisTHE

Some of the reasons:
- It nukes horribly due to stupid programming bugs.
- It incorporates horrible and butt-ugly custom modeid requester nonsense. Yuck.
- Inconsistent and utterly broken API. It seems 0 designwork went into this.
- Utter bs and lies about ppc.library in the documentation.
- About every app using it crashed in a way or another. Often the reason could be tracked directly to rtgmaster.
- Unfinished/lacking documentation.
- It doesn't lock/unlock the bitmap properly (at least cgx).
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: some questions about RTG library.
« Reply #2 on: October 10, 2005, 11:11:28 PM »
@Karlos

Indeed, this is exactly what I did aswell. Group as much as possible OS calls into one chunk of m68k asm code and then call it with argument structure.

Imagine for example calling some 68k routine 256 times in a loop with full cacheflush in between, and then calling the 256 x 68k routines in one go, and then doing *single* cacheflush afterwards... Needless to say, the speedup was massive.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: some questions about RTG library.
« Reply #3 on: October 11, 2005, 12:53:18 AM »
I guess it would be:
gfx/board/rtgmaster_user.lha

Good luck.