Hey. I was thinking of maybe doing one of those things that I saw in that NSF SNES rom where it displays volume and duty cycle info... Also notes, but I don't think I'd bother with that.
Would it just be a simple matter of doing something like this?
I thought this might be cool for future sound tests. I just wanted to get input in advance. Thanks.
Also, what would one look at for triangle? Just if something's in $4008?
Would it just be a simple matter of doing something like this?
Code:
LDA $4000
AND #%00001111 'View volume
;Act accordingly
LDA $4000
AND #%11000000 'View duty cycle
ASL A
ROL A
ROL A 'Move into index and act accordingly!
AND #%00001111 'View volume
;Act accordingly
LDA $4000
AND #%11000000 'View duty cycle
ASL A
ROL A
ROL A 'Move into index and act accordingly!
I thought this might be cool for future sound tests. I just wanted to get input in advance. Thanks.
Also, what would one look at for triangle? Just if something's in $4008?