Welcome, Guest. Please login or register.

Author Topic: SetAPen(RastPort*, UBYTE);  (Read 2284 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline The Hanged ManTopic starter

  • Newbie
  • *
  • Join Date: Mar 2010
  • Posts: 8
    • Show all replies
SetAPen(RastPort*, UBYTE);
« on: April 06, 2010, 12:50:25 AM »
Wanting to use a graphicscard, this is a real prob to me. I need a (RastPort*, WORD/LONG). I suppose it's because it's using cgx.library instead of the regular graphics.library... Where do I find some 'autodocs' ?
 

Offline The Hanged ManTopic starter

  • Newbie
  • *
  • Join Date: Mar 2010
  • Posts: 8
    • Show all replies
Re: SetAPen(RastPort*, UBYTE);
« Reply #1 on: April 06, 2010, 01:09:32 AM »
Thx, but I know all that stuff (UBYTE is only 8bit...)
Yes, I know I'll probably not be using pens at all, rather, just be choosing by RGB values from 16/32 bit.
 
I found this link:
http://utilitybase.com/ref/?action=List&funcgroup=Picasso96
 

Offline The Hanged ManTopic starter

  • Newbie
  • *
  • Join Date: Mar 2010
  • Posts: 8
    • Show all replies
Re: SetAPen(RastPort*, UBYTE);
« Reply #2 on: April 06, 2010, 03:39:17 AM »
So, I can use regular grapgics.library for +8bit displays, but I will be using 'pen 1', and then change the palette value of 'pen 1' by using the values with SetRGB32(), but without SetRGB32() changing colorvalues, in contrast to the behavior of a 8bit display ?
 
I think Commodore failed even on 3.0. The more colors of the AGA was very poorly implemented. Even making the WB use more than 8colors was a real pain. I personally had to make a program to set and lock the pens in order for that to work reliably. I wonder if drawing in HAM8 was even implemented.