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

Atari coding BBS
 
Re: hbl on falcon
Posted by: ggn Sep,26.2007-14:37 

Well I wouldn't restrict it to the Videl only. Try to do palette changes like these on a plain ST and you'll see snow there.

I tend to agree with you Anders, Timer B (the vector at $120 ;) gives you an interrupt when a horizontal blanking occurs, so if you don't do a movem to save registers (or anything else) and just shove stuff to the palette registers, then you should get rock steady rasters.

The HBL interrupt (at $68 iirc) is more of a nuisance because it gives interrupts on EVERY scanline (not just the lines drawn like timer B does), so you have to apply logic to see if the scanline the interrupt occurs is the one you need, which translates to loss of clock cycles. Also it's not programmable like timers, so you can't do the tricks timers do (i.e. program the timer to occur every 20 scan lines, etc).

On another note, doing rasters on the videl on ST modes (at least) with timer b is a bit problematic, as I noticed that you get something like 2 interrupts every scanline (one on hbl and one in the middle of the scanline).







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

Topic Posted by  Date 
hbl on falcon mikro Sep,24.2007-16:32
  Re: hbl on falcon frost Sep,24.2007-18:08
    Re: hbl on falcon mikro Sep,25.2007-09:54
      Re: hbl on falcon earx Sep,25.2007-10:31
      Re: hbl on falcon ggn Sep,25.2007-10:36
  Re: hbl on falcon NO/Escape Sep,24.2007-20:28
  Re: hbl on falcon evil Sep,25.2007-13:55
    Re: hbl on falcon earx Sep,25.2007-16:43
    Re: hbl on falcon ggn Sep,26.2007-14:37
      Re: hbl on falcon evil Sep,26.2007-17:18
        Re: hbl on falcon mikro Sep,27.2007-09:31
        Re: hbl on falcon ggn Sep,27.2007-12:43
          Re: hbl on falcon evil Sep,27.2007-18:06
            Re: hbl on falcon ggn Sep,27.2007-21:52
  Re: hbl on falcon mikro Sep,28.2007-11:58
    Re: hbl on falcon mikro Sep,28.2007-11:59
    Re: hbl on falcon earx Sep,28.2007-14:14
      Re: hbl on falcon Mikro Sep,29.2007-17:29
        Re: hbl on falcon Mikro Sep,29.2007-19:44
          Re: hbl on falcon earx Sep,30.2007-07:18
            Re: hbl on falcon mikro Oct,01.2007-11:08
    Re: hbl on falcon ggn Oct,03.2007-08:36
      Re: hbl on falcon mikro Oct,03.2007-09:20
  Re: hbl on falcon RA/pdx Oct,15.2007-13:59
    Re: hbl on falcon mikro Oct,16.2007-09:13
      Re: hbl on falcon Orion Apr,11.2019-13:29


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