[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
apple II 8bit sound programmers
- Subject: apple II 8bit sound programmers
- From: aiiadict@gmail.com
- Date: 31 Jan 2006 12:24:45 -0800
- Complaints-to: groups-abuse@google.com
- Injection-info: g14g2000cwa.googlegroups.com; posting-host=71.142.243.121; posting-account=wL7QqAwAAADveYas09gsbDvmMNiULH_b
- Newsgroups: comp.sys.apple2
- Organization: http://groups.google.com
- User-agent: G2/0.2
- Xref: g2news1.google.com comp.sys.apple2:3965
hi,
the level sequencer of my game allows you to specify:
0)time enemy appears
1)type of enemy
2)speed of enemy
3)location of enemy
the code would work perfect for adding a sound routine
(1bit speaker sound)...
I would need 1) a song ---in a format similar to this:
time=0 note = 4
time=1 note = 3
time=2 note = 2
time=3 note = 3
time=4 note = 4
time=5 note = 4
time=6 note = 4
can anyone name that tune? :-)
and a small routine to play the note
ldy duration ;duration is fixed in this example
loop0
lda speaker
ldx note,time ; note = frequency of sound to play
loop
dex ;
bne loop ;
dey
bne loop0
anyone interested in writing a simple tune for an
arcade game?
would be neat to have "I shot the sherrif" playing through
the speaker as you shoot enemies :-)
Rich