Jump to content



0

My horrid attempt at TIA audio.


No replies to this topic

#1 atari2600a OFFLINE  

atari2600a

    Combat Commando

  • 1 posts

Posted Tue Mar 27, 2007 1:00 PM

	AUDC0=$15;Audio Noise #1 (4-bit)
	AUDC1=$16;Audio Noise #2 (4-bit)
	AUDF0=$17;Audio Frequency #1 (5-bit)
	AUDF1=$18;Audio Frequency #2 (5-bit)
	AUDV0=$19;Audio Volume #1 (4-bit)
	AUDV1=$1A;Audio Volume #2 (4-bit)
;
	*=$F000
;
;
;
;
;
	LDA #%00001111
	STA AUDV0
	LDA #%00000100
	STA AUDC0
;
loop	STA AUDF0
	INX
	TXA
	CPX #%11111
	BNE loop
	LDX #0
	JMP loop
;

...yeah, it sucks. Very hard in fact. Can anyone help me out so my horrid code can live? I'm getting sick of the annoying pulse of death I produce.

Edited by atari2600a, Tue Mar 27, 2007 1:02 PM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users