From 2c6ade629c24ac9dd054a59630d551d568580375 Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Thu, 11 Aug 2022 09:42:08 -0400 Subject: [PATCH] wargames: fix the SSI speech to work on actual hardware --- demos/wargames/ssi263_simple_speech.s | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/demos/wargames/ssi263_simple_speech.s b/demos/wargames/ssi263_simple_speech.s index 22197722..8ab657cf 100644 --- a/demos/wargames/ssi263_simple_speech.s +++ b/demos/wargames/ssi263_simple_speech.s @@ -172,6 +172,24 @@ not_end: sta speech_playing + ; IS THIS NEEDED? + + lda #$E8 + ldx #SSI263_F ; duration/phoneme + jsr ssi263_write_chip + + lda #$7F + ldx #SSI263_CAA ; duration/phoneme + jsr ssi263_write_chip + + lda #$A8 + ldx #SSI263_RI ; duration/phoneme + jsr ssi263_write_chip + + lda #$6F + ldx #SSI263_I ; duration/phoneme + jsr ssi263_write_chip + ldy #$00 ; Get the next data lda (SPEECH_PTRL),Y