Welcome, Guest. Please login or register.

Author Topic: do AGA machines support HAM5 mode?  (Read 2775 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline bbond007Topic starter

  • Hero Member
  • *****
  • Join Date: Mar 2009
  • Posts: 1517
    • Show all replies
do AGA machines support HAM5 mode?
« on: February 16, 2012, 06:50:33 AM »
Hello!

Do AGA amigas such as my 1200 support HAM5?

I have written a program in SAS c 4.68 utilizing HAM5 mode and to my surprise it works on my MINIMIG 1.1 and UAE but not my actual A1200...

I changed the program to use HAM6 and it worked on the A1200.

What gives? This is very discouraging.

Thanks.

Nate
 

Offline bbond007Topic starter

  • Hero Member
  • *****
  • Join Date: Mar 2009
  • Posts: 1517
    • Show all replies
Re: do AGA machines support HAM5 mode?
« Reply #1 on: February 16, 2012, 06:50:43 PM »
Quote from: wodan;680708
I assume the missing bitplane is in the colour information bits (index or modified value), otherwise it would indeed not be all that useful :)


Quote from: Thomas;680684
Ok, but it does not make much sense because you can only modify the blue component but not red and green.


I assume is just call OpenScreenTags() SA_DISPLAYID:HAM_KEY  with SA_DEPTH:5?

HAM5 does indeded work the way Thomas suggests and I do want to just modify the blue value with my HAM pixels, however it does not seem to work on my AGA 1200.

I thought AGA was 100% compatible with OCS? Seems odd they would have left out an entire mode... I must be doing something wrong...

thanks,

nate
 

Offline bbond007Topic starter

  • Hero Member
  • *****
  • Join Date: Mar 2009
  • Posts: 1517
    • Show all replies
Re: do AGA machines support HAM5 mode?
« Reply #2 on: February 16, 2012, 07:20:21 PM »
Quote from: wodan;680714
not that odd, what's the use if you can only change blue?? seems more like a hardware bug that was relabled as a feature, then fixed in AGA.


I do have a use for it. I bet Mrs Beanbag can guess what I'm trying to do...
 

Offline bbond007Topic starter

  • Hero Member
  • *****
  • Join Date: Mar 2009
  • Posts: 1517
    • Show all replies
Re: do AGA machines support HAM5 mode?
« Reply #3 on: February 16, 2012, 08:10:12 PM »
Quote from: Crumb;680726
@wodan
it's faster than 6 planes and allows 256 (blue-ish) colors, perfect for underwater simulators :-P


1 bit for HAM mode 4 for the blue level, so 2^4 = 16. AGA would be 64.

Also, You are only altering the blue color component, so the resulting color might not even be blue at all, maybe it has no blue :)

I'll do the underwater simulator next...