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

Atari demoscene BBS
 
Re: TIMER A
Posted by: Bod/STAX Dec,09.2004-17:31 

I know about keeping the same frequency for the entire frame. What i'm trying to do is to have stable rasters as well as playing a sample, or module. Thus a possible timer B routine would be:

timer_b: move.w (a5)+,$fffff8240.w
move.w (a6)+,d7
lsl.w #4,d7
movem.l snd_tab(pc,d7.w),d5-d7
movem.l d5-d7,$ffff8800.w
bclr #0,$fffffa0f.w
rte

Also how does the values 2 into the control register and 30 into the data register aproximate to 8khz output? What is the calculation needed to put those values into those registers?







[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