Side Track

Hmm? Sorry, got Side Tracked.

Uncompiled Source Code
Present at of the stl6a-2 ROM. SED LDA CREDIT SEC SBC #$01 STA CREDIT CLD JSR CLSCOR ;CLEAR SCORES JSR SRESET ;CLEAR SCREEN JMP CON6 ; ST2 LDA #$02 ;2PLAYER PRESSED JSR START1 BEQ CON7 LDX CREDIT DEX DEX BMI CON7 SED SEC LDA CREDIT SBC #$02 STA CREDIT CLD ; CON5 LDA #$C0 ;ENABLE 2 PLAYER STA STAT CON6 LDA #$80 JSR SETAUD JSR GAMSTR ;GAME SET UP LDA #$80 JSR SETAUD GME5 JSR MOTS ;MAIN LOOP PROGRAM LDA CRAFLG BMI CNGPLY BIT STAT BMI GME5 JMP ENDG ;END OF GAME ; CNGPLY BIT STAT BVC SLPLY LDA STAT ;MUST BE TWO PLAYER EOR #$10 STA STAT ;PLAYER CHANGED AND #$10 BNE NOTEOG ;TO 2ND PLAYER SLPLY DEC CRNU ;TO 1ST PLAYER BPL NOTEOG ;NOT EOG LDA #$00 ;IS EOG STA STAT STA CRNU LDA #$00 STA CRAFLG LDX #$02 JSR WAIT JMP ENDG NOTEOG JSR GAMRST LDA #$00 STA CRAFLG ;RESET CRASH FLG LDA #$80 JSR SETAUD ;ENABLE AUDIO JMP GME5 ; GAMSTR JSR CLSCOR ;CLEAR SCORE, MAIN START GAMRST JSR SRESET ;CLEAR SCREEN JSR WPOS1 LDA STAT AND #$10 BEQ GAPL1 LDX #$10 JSR WPHR ;PLAYER 2 JMP GAPL21 GAPL1 LDX #$0F JSR WPHR ;PLAYER 1 GAPL21 JSR GAPL30 LDX #$01 JSR WAIT ;EXPANDED DELAY JSR BEEP LDX #$01 JSR WAIT