Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Television Interface Adaptor
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Code === Shown is the code from combat<syntaxhighlight lang="asm" line="1"> MOTORS LDA AltSnd,X BEQ DOMOTOR ; Pong sound. LDA #$04 STA AUDC0,X LDA #$07 STA AUDV0,X LDA BounceCount,X STA AUDF0,X RTS ; Engine sound. DOMOTOR LDY GAMSHP LDA SNDV,Y AND GameOn ; Kills sound if no game on by ANDing STA AUDV0,X ; volume value w/$00 no-game value LDA SNDC,Y STA AUDC0,X CLC LDA #$00 MOPIT0 DEY ; This loop sets start value for sound BMI MOPIT1 ; pitch based on GAMSHP in Y (tank, ADC #$0C ; biplane, or jet) BPL MOPIT0 MOPIT1 ADC Vtemp,X ; Use saved velocity to adjust TAY ; sound pitch via SNDP table TXA ASL ADC SNDP,Y STA AUDF0,X RTS </syntaxhighlight>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)