Page 1 of 1

memory locations SID

Posted: Mon Oct 13, 2008 11:17 pm
by underboard
using the cc64 on a vista pc. trying to program the SID with machine language. anyway,.. if i poke the values in basic i get noise and it works. if i try to enter the values thru machine language at the registers $d400-$d418 they wont take and stay zeros. also when the values are poked and sound is going, if u check the memory locations with m d400 they are still zeros!!!!
any programmers have luck with this cc64 sid memory locations?!
please help

Re: memory locations SID

Posted: Tue Oct 14, 2008 9:12 pm
by underboard
nevermind, i got it

ldx
then
stx into your sid register

thank you me :D

Re: memory locations SID

Posted: Wed Oct 15, 2008 7:57 am
by StevenRoy
Yeah, the SID registers are write-only. This is normal. (Except for the Voice 3 envelope and oscillator outputs, which can be read but not written.)