Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline buzz

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 612
    • Show all replies
Re: We need an iBrowse replacement for 68k!!!
« on: January 30, 2015, 09:06:38 PM »
Should you check that list->lh_Head isn't null also ?

not sure if this will be of any use to you but this is from the hivelytracker source:

Code: [Select]
static struct Node *_GetHead(struct List *list)
{
  if ((!list) || (!list->lh_Head)) return NULL;
  if (list->lh_Head->ln_Succ == NULL) return NULL;
  return list->lh_Head;
}

static struct Node *_GetSucc(struct Node *node)
{
  if (node->ln_Succ->ln_Succ == NULL) return NULL;
  return node->ln_Succ;
}
« Last Edit: January 30, 2015, 09:11:35 PM by buzz »
 

Offline buzz

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 612
    • Show all replies
Re: We need an iBrowse replacement for 68k!!!
« Reply #1 on: February 05, 2015, 01:54:37 AM »
perhaps of no use at all, but when porting hivelytracker to os3, I made big use of guigfx/renderlib (one or the other or both).

Enabled me to have the app fully 24bit on gfxcards, and still work in 4 colours on aga (and nicely dithered gfx too). It's pretty quick - there is an older asm version and the newer versions were made in c afair.

anyway, it's made by a very talented demo coder so it must be good ;-)

I was thinking back when novacoder was doing his scummvm stuff that perhaps it could be used to make one version for all.

Anyway, just thought i'd drop this here - not necessarily on topic, but we were on a similar subject.
 

Offline buzz

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 612
    • Show all replies
Re: We need an iBrowse replacement for 68k!!!
« Reply #2 on: February 05, 2015, 03:49:26 AM »
Quote from: NovaCoder;783037
ScummVM does a real-time 16bit to 8bit conversion, I can't even remember how I coded it but it seems to work OK.

Maybe my memory plays tricks, but was there an old discussion with you and the guy on eab who had written optimised remapping/conversion code as part of his replacement icon library relating to that ?

Anyway, good job on scummvm. I assume you cross compile btw? - scummvm is a massive amount of code :)
« Last Edit: February 05, 2015, 03:54:21 AM by buzz »