Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: Address of the default pal
Posted by: PeP Mar,24.2008-19:52 

You can't use 0x045A to retrieve the palette. You can however use it to set it using a single instruction + palette data (provided that you do so before taking ofer the VBI vector):

Compendium says..
"colorptr: If this value is non-zero then at the next
vertical blank, the 16 color registers pointed to by this
value will be loaded into the hardware registers."







[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
Address of the default palette p01 Mar,23.2008-20:57
  Re: Address of the default pal Cyclone/X-Troll Mar,24.2008-11:19
  Re: Address of the default pal PeP Mar,24.2008-11:56
    Re: Address of the default pal p01 Mar,24.2008-12:22
      Re: Address of the default pal PeP Mar,24.2008-15:19
        Re: Address of the default pal p01 Mar,24.2008-15:53
          Re: Address of the default pal p01 Mar,24.2008-16:54
          Re: Address of the default pal PeP Mar,24.2008-19:52
            Re: Address of the default pal p01 Mar,24.2008-20:07
              Re: Address of the default pal PeP Mar,25.2008-00:27
                Re: Address of the default pal gwEm Mar,26.2008-16:43
  Re: Address of the default palette Per Almered (XiA) Jul,25.2009-17:15


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson