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

Atari coding BBS
 
Re: Stop YM sound
Posted by: evil Apr,27.2010-19:34 

As register 7 have I/O ports, you should not move direct values to it, but rather first read it and only modify the bits you like and put it back.

Anyway to get the YM to shut up I do this:

lea $ffff8800.w,a0
lea $ffff8802.w,a1
move.b #8,(a0)
clr.b (a1)
move.b #9,(a0)
clr.b (a1)
move.b #10,(a0)
clr.b (a1)

--
Anders Eriksson
ae@dhs.nu








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

Topic Posted by  Date 
Stop YM sound RA/pdx Apr,27.2010-19:12
  Re: Stop YM sound evil Apr,27.2010-19:34
    Re: Stop YM sound ggn Apr,28.2010-12:47
      Re: Stop YM sound RA/pdx Apr,28.2010-22:43


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