commit d26bf6ae938e3fd27354e70e4e87a1f6097e7210 Author: Michaelangel007 Date: Mon Oct 23 01:06:17 2017 -0700 Initial public release diff --git a/README.md b/README.md new file mode 100644 index 0000000..0035c3d --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# Castle Wolfenstein Sound Board + +Player and Data ripped from the game. +Front-end to select which voice to play. + diff --git a/cw.play.1950 b/cw.play.1950 new file mode 100755 index 0000000..735d689 Binary files /dev/null and b/cw.play.1950 differ diff --git a/cw.speech.dsk b/cw.speech.dsk new file mode 100644 index 0000000..db9835f Binary files /dev/null and b/cw.speech.dsk differ diff --git a/sfx_5e36 b/sfx_5e36 new file mode 100755 index 0000000..d0b87a5 Binary files /dev/null and b/sfx_5e36 differ diff --git a/sound.board b/sound.board new file mode 100644 index 0000000..0ffce20 Binary files /dev/null and b/sound.board differ diff --git a/sound.board.s b/sound.board.s new file mode 100644 index 0000000..ebfb7b6 --- /dev/null +++ b/sound.board.s @@ -0,0 +1,193 @@ +; Castle Wolfenstein Sound Board +; https://github.com/Michaelangel007/apple2_castle_wolfenstein_sound_board +; Assembler: Merlin32 +; +; To rip code + data +; bsave "cw.play.1950",1950:1980 +; bsave "cw.sfx.5e36",5e36:8b9d + +temp = $FB +dst = $FC +src = $FE + +PRODOS = $BF00 + +KEY = $C000 +KEYSTROBE = $C010 + +SQUEEKER = $C030 + +TEXT = $FB39 ; SETTXT +HOME = $FC58 +COUT = $FDED +BELL = $FBDD + + ORG $2000 + +LENGTH = __END - __START + __MAIN - Main + +; Move from $2000 .. $5D00 +Main BIT __MAIN + $3D00 + LDA #$4C ; "JMP" $abs + STA $2000 +Move LDY #0 +Src LDA $2000,Y ; The two regions don't overlap +Dst STA $5D00,Y ; $2000 + $2E9E = $4E9E < $5D00 + INY + BNE Src + INC Src+2 + INC Dst+2 + LDA Src+2 + CMP #>LENGTH + Main + BNE Move + BEQ Main + +__MAIN + ORG * + $3D00 ; $5D00 +__START + JSR TEXT + JSR HOME + + LDA #'A'+$80 + STA temp + + LDX #$5E ; hi + LDY #$36 ; lo + STX src+1 + STY src+0 + + STX Pointers+1 + STY Pointers+0 + + LDX #>Pointers + LDY #