Dead Hackers Society
Other BBSes »
 
 

68k Inside

Sommarhack 2024

Silly Venture 2024 SE
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: 200Hz SNDH-replay using TimerC
Posted by: gwEm/PHF May,29.2015-15:13 

what evil said in different words:

----
you can easily have problems with writing to the YM without disabling interrupts while you are doing it.

if you are doing writes without reads you can just write the address and data at the same time with a movep or move.l. (movem.l can even be used with the YM2149 ghost registers on non-Falcon machine)

if you don't mask interrupts in between a YM read followed by write at the same address you /will/ have problems, and you will notice them fairly quickly too.

most SID routines do writes only, but in fact I have written some routines for size limited players which toggle register 7 rather than the volume register. its no problem since SID routines operate at the highest IRQ level and cannot be interrupted.

you could certainly view a SID routine interrupting an OS routine as a risk. however, in the bits of TOS code I've researched, the interrupts are always masked.









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

Topic Posted by  Date 
200Hz SNDH-replay using TimerC Sdw May,21.2015-15:31
  Re: 200Hz SNDH-replay using TimerC gwEm/PHF May,21.2015-16:00
    Re: 200Hz SNDH-replay using TimerC Sdw May,21.2015-16:16
      Re: 200Hz SNDH-replay using TimerC evil May,21.2015-18:40
        Re: 200Hz SNDH-replay using TimerC Sdw May,27.2015-16:39
          Re: 200Hz SNDH-replay using TimerC evil May,27.2015-17:52
            Re: 200Hz SNDH-replay using TimerC Sdw May,27.2015-23:58
              Re: 200Hz SNDH-replay using TimerC gwEm/PHF May,28.2015-16:42
                Re: 200Hz SNDH-replay using TimerC evil May,28.2015-17:16
                  Re: 200Hz SNDH-replay using TimerC Splash/S1 May,29.2015-00:58
                    Re: 200Hz SNDH-replay using TimerC evil May,29.2015-11:56
                      Re: 200Hz SNDH-replay using TimerC gwEm/PHF May,29.2015-15:13
                        Re: 200Hz SNDH-replay using TimerC Splash/S1 May,31.2015-19:21
                  Re: 200Hz SNDH-replay using TimerC Sdw May,31.2015-21:49
                    Re: 200Hz SNDH-replay using TimerC insane Jun,07.2016-10:08
                      Re: 200Hz SNDH-replay using TimerC insane Jun,07.2016-10:29
                      Re: 200Hz SNDH-replay using TimerC Splash/Sector One Jun,30.2016-18:30


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