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

Atari coding BBS
 
Re: palette fading
Posted by: Peter May,02.2006-10:15 

I had similar trouble in a project once. I solved it as follows:

Timer A interrupt
- only sets a flag to indicate that processing is needed

VBL
1. Set palette
2. Check flag, perform processing if necessary. Clear flag when done.

This is primitive, but for some reason this was the only way I could get it to work properly.. In my case, one could probably skip the Timer A interrupt completely and poll the SDMA registers instead..

-- Peter







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

Topic Posted by  Date 
palette fading mikro May,01.2006-14:28
  Re: palette fading p01 May,01.2006-15:37
  Re: palette fading earx May,01.2006-16:51
    Re: palette fading earx May,01.2006-16:59
      Re: palette fading mikro May,01.2006-17:05
        Re: palette fading mikro May,01.2006-17:10
          Re: palette fading earx May,01.2006-22:24
            Re: palette fading mikro May,01.2006-23:38
              Re: palette fading mikro May,02.2006-09:09
                Re: palette fading Peter May,02.2006-10:15
                  Re: palette fading mikro May,02.2006-10:28
                    Re: palette fading mikro May,02.2006-10:34
                      Re: palette fading Peter May,02.2006-17:53
                        Re: palette fading earx May,02.2006-21:07
        Re: palette fading earx May,01.2006-17:11
      Re: palette fading ggn/KUA May,01.2006-19:15
      Re: palette fading ggn/KUA May,01.2006-20:16
      Re: palette fading ggn/KUA May,01.2006-20:17
      Re: palette fading ggn/KUA May,01.2006-20:17
        Ooops ggn/KUA May,01.2006-20:18
          Re: Ooops earx May,01.2006-22:09
            Re: Ooops p01 May,01.2006-23:30
              68030 cache Creature XL May,04.2006-20:34
                Re: 68030 cache mikro May,05.2006-20:37
                Re: 68030 cache ( mea culpa ) p01 May,07.2006-15:25
                  Re: 68030 cache ( mea culpa ) earx May,07.2006-17:25
  Re: palette fading evil May,02.2006-09:35
    Re: palette fading earx May,02.2006-11:56
      Re: palette fading mikro May,02.2006-12:10
        Re: palette fading earx May,02.2006-12:29
          Re: palette fading Patrice Mandin May,02.2006-12:53
            Re: palette fading mikro May,03.2006-23:03


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