diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cfc62af --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.bin +*.sym diff --git a/enginesounds.s b/enginesounds.s new file mode 100644 index 0000000..d2efbf5 --- /dev/null +++ b/enginesounds.s @@ -0,0 +1,28 @@ +{ + lda SWCHA + eor #$ff + tax + and #%11000110 + beq noblow + lda SNDFRAME + and #1 + bne noblow + lda #8 + sta AUDC0 + lda #1 + sta AUDF0 + lda #4 + sta AUDV0 + jmp nothrust +noblow: + txa + and #$11 + beq nothrust + lda #8 + sta AUDC0 + lda #20 + sta AUDF0 + lda #8 + sta AUDV0 +nothrust: +} diff --git a/game.s b/game.s new file mode 100644 index 0000000..5beca62 --- /dev/null +++ b/game.s @@ -0,0 +1,314 @@ +.import source "vcs/pal.s" + +.pseudocommand nop x { + .for (var i=0; i