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

Atari demoscene BBS
 
Re: TIMER A
Posted by: Leonard Dec,12.2004-16:08 

Ok I see. You're right, TCB does it first in cuddly megascroller.
I really don't enderstand your 8khz ?? To me, only two things:

a) you WANT have rasters so you must use timerb in event mode. If you put your sampling rout is timerb interrupt, sampling rate WILL be 15.6Khz multiple ( you can do 8.3 by playing every 2 rasterlines only)

b) you don't want rasters so you can't put any frequency you want.

If you choose A, timerb event only occurs on display image, so you have to startup a timer for the rest of the VBL (timerb too if you want, but not in event count).

BUT, as you play digit one time per line, better use the HBL interrupt when no image is displayed, so you d'ont have to setup timer control registers, and you will have exactly the same rezplay rate as the timerb event mode.

So, use TimerB in event count mode for your 200 lines images (or more with borders) to set colors AND play digit, and use HBL ( $68 ) to play digit on other raster lines)








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

Topic Posted by  Date 
TIMER A Bod/STAX Dec,07.2004-16:37
  Re: TIMER A earx Dec,07.2004-17:05
    Re: TIMER A Bod/STAX Dec,08.2004-00:37
      Re: TIMER A Bod/STAX Dec,08.2004-00:40
      Re: TIMER A earx Dec,08.2004-11:36
      Re: TIMER A The Paranoid Dec,08.2004-19:00
        Re: TIMER A Bod/STAX Dec,08.2004-19:19
          Re: TIMER A Bod/STAX Dec,08.2004-19:25
            Re: TIMER A Leonard Dec,08.2004-23:45
            Re: TIMER A Leonard Dec,08.2004-23:49
              Re: TIMER A Bod/STAX Dec,09.2004-17:31
                Re: TIMER A Simon Sunnyboy / Paradize Dec,09.2004-19:33
                  Re: TIMER A Bod/STAX Dec,09.2004-19:48
                Re: TIMER A Leonard Dec,12.2004-16:08
                  Re: TIMER A Bod/STAX Dec,12.2004-22:36
                    Re: TIMER A evil Dec,12.2004-23:27
                    Re: TIMER A Leonard Dec,13.2004-00:45
                      Re: TIMER A Leonard Dec,13.2004-00:46
                        Re: TIMER A Bod/STAX Dec,13.2004-19:52
                          Re: TIMER A Leonard Dec,14.2004-11:06
                            Re: TIMER A Bod/STAX Dec,14.2004-17:24
                              Re: TIMER A Leonard Dec,15.2004-15:41
                                Re: TIMER A Bod/STAX Dec,15.2004-16:18


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-2025 Dead Hackers Society Contact: Anders Eriksson