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: evil May,29.2015-11:56 

It took me a few reads to understand what you meant here, but I think finally my slow brain got it.

I don't think you can get away with this theoretical problem unless you restrict apps to directly access the HW. To protect reg 7 in your YM-player (and not using 14,15) will at least take away the practical problem of the music player by itself to fuck up the hard drive.

The theoretical problem of an interrupt happening in the middle of YM-access goes the other way around too. For example if you play a song on VBL (even without interrupt-based sound effects), Timer C has priority over that and can interrupt between YM-register select and write from VBL.

It's a risk you need to take if you want to play YM-music at all while the OS is still alive.

--
Anders Eriksson
ae@dhs.nu










[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