11.07.2015 Views

Here - 1000 BiT

Here - 1000 BiT

Here - 1000 BiT

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Lines 20 to 29 make and store the addresses of more of SID's boxes.Line 31 puts a zero into each of SID's boxes, which TURNS HIM OFF completely!It takes two boxes, called HI and LO, to tell SID what tone to play. HI makes a bigdifference in the pitch, and LO is for fine tuning. In this program we change only thenumber in HI. LO remains at zero.Line 65 turns the note on and also says that the note should be a "sawtooth" wave form.We will come back to this later.Line 70 says the note should be about one second long.Line 72 turns the note off. That is, it turns the sawtooth off.But you would still hear a faint lasting sound unless you also turn the sound itself off.This is done by line 73 putting a zero in the HI box.PICCOLO, PIANO OR WHAT?SID is a one man band. You can get him to play different instruments by changing thenumbers POKEd into the register called TM at address 54276 in lines 65 and 72of TONES.112

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!