Welcome, Guest. Please login or register.

Author Topic: We need an iBrowse replacement for 68k!!!  (Read 25918 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Crumb

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show all replies
    • http://cuaz.sourceforge.net
Re: We need an iBrowse replacement for 68k!!!
« on: January 28, 2013, 09:38:59 AM »
Quote from: Karlos;724342

What you could do is set up a sub domain on a1k and we could look at installing a suitably modified version of the code on it to cope with whatever forum engine you ultimately go for.


What about a local HTTP proxy? that would save some bandwidth
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)
 

Offline Crumb

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show all replies
    • http://cuaz.sourceforge.net
Re: We need an iBrowse replacement for 68k!!!
« Reply #1 on: February 03, 2015, 10:04:14 PM »
Quote from: chris;782905
OK, try the new build and see if that fixes the colour issues on P96.  If it doesn't I'll go back to Plan A.


Hi Chris

IIRC P96 built in emulated CGX WritePixelArray worked quite nicely performing RGBA to CLUT conversions. As strange as it may sound perhaps you should use CGX functions, because P96 doesn't have public functions to do some stuff available in its CGX emulation. Doing the same with the native P96 functions was trickier.

If you are using a 24bit buffer CGX WritePixelArray will help although If I have read correctly you are using datatypes to convert to the screen format.

Perhaps you could make use of AWeb sources for dithering and scaling, these should be more or less optimized for 68k, maybe also image decoders. Render.library should also include optimized code for that.

You can easily detect if current screenmode is cgx or not.
  if (CyberGfxBase != NULL)
    if (IsCyberModeID(resultadoalloccgx.DisplayID))
      {
      printf("screenmode is CGX\n");
      } else {
      printf("screenmode is something else\n");
      }

IIRC you could also use CGX LockBitMapTags to discover if the screen's bitmap is clut, rgba and to lock it to draw directly with the cpu (remember to write the bytes/words/longwords in the same screenformat).
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)