Welcome, Guest. Please login or register.

Author Topic: Unofficial CyberGraphX v4 bug fixes  (Read 8698 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show all replies
Re: New CyberGraphX v4 version available
« on: July 17, 2015, 04:03:24 PM »
Quote from: Cosmos;792561
New version 47.8 of the cgxsystem.library (CyberGraphX 4) soon available, I need to make the patch...

Only the 020 version will be available, because the other 040 is very very close to the 020...
 
Two bugs were fixed, one found by the almighty Peter Keunecke and the same one by me into another function : when d2 is used, coders have to save it on the stack, no discussion.


I remember this bug. Long ago when i was coding in asm i found out one of parameters were silently altered. For a moment i was like "wtf" until i realised what was going on.
My Amigas: A500, Mac Mini and PowerBook
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show all replies
Re: New CyberGraphX v4 version available
« Reply #1 on: July 18, 2015, 06:10:01 PM »
Quote from: Thomas Richter;792618
If contacting the author fails, well, one can still start patching. It puts the one uploading the patch into a somewhat dangerous position, though, but that's then at least not my personal risk...

It would be better use SetPatch() to patch this library vector to save D2 before calling original function and restore D2 on return. However, developers knowing said function clobbers D2 can work around it without resorting to tricks (IIRC the result is D2 = D2 + width).

Anyway, CGX is not abandonded, it is part of MorphOS, and the latest update was just few weeks ago. It is copyrighted stuff and Cosmos has no right to release "new" CGX4 versions.
« Last Edit: July 18, 2015, 06:21:13 PM by itix »
My Amigas: A500, Mac Mini and PowerBook
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show all replies
Re: New CyberGraphX v4 version available
« Reply #2 on: July 18, 2015, 09:53:17 PM »
Quote from: motrucker;792628
I am in the process of buying a new (old) graphics card for my Amiga A2000. Guess I get to wade through all of this quite soon. So far, I only have v3, so I need to upgrade to version 4 where?


You can still continue using CGX 3. Version 4 is better, for example it has better async blit support, 56KHZAUDIO env var and loads of other things but updating is not necessary.
My Amigas: A500, Mac Mini and PowerBook
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show all replies
Re: New CyberGraphX v4 version available
« Reply #3 on: July 19, 2015, 09:01:09 AM »
Quote from: kamelito;792642
Did you mean SetFunction()?
Kamelito


*slaps his head*

Yes of course SetFunction.
My Amigas: A500, Mac Mini and PowerBook