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

Atari demoscene BBS
 
Re: TIMER A
Posted by: Leonard Dec,13.2004-00:45 

Exactly. don't forget to set your raster color at the beginning of the routine.

btw you can optimize by removing the not/tst stuff and simply change the timerb interrupt vector. Better is to change only low order 16bits.

timerB1:
move.w (a0)+,$ffff8240.w
move.w #timerB1,$122.w ( 122 because .w acess)
rte

timerB2:
move.w (a0)+,$ffff8240.w
move.w #timerB1,$122.w
; sample replay code
rte

Of course using 16bits writing tricks imply you check your timerB1 and timerB2 code are not at a 64Kb boundary.








[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