From: JB on
On Jul 20, 12:36 pm, JB <jbrown1...(a)gmail.com> wrote:
> I am working on a terminal program and I would like to have the GONG
> sound CCGMS uses when a Control-V is encountered.
>
> I am really terrible when it comes to using sound.  Tried to find the
> routine in CCGMS but had no luck.  A bell I have, gong I do not.
>
> If anyone can help out, it is much appreciated!

Well I tired another version of CCGMS and I was able to find the GONG
and the BELL routine.

Here is the code for them in case anyone wants to see it, or at least
it will be archived here in case I lose it and need it again. :)

; CCGMS BELL AND GONG WORKS 7-21-2010


*= $C000

LDA #14
STA $D418 ;VOLUME
JMP GONG

BELL LDX #9
STX $D413
LDX #0
STX $D414
LDX #$40
STX $D40F
LDX #0
STX $D412
LDX #$11
STX $D412
RTS

GONG PHA
LDX #0
- LDA REG,X
TAY
LDA DATA,X
STA $D400,Y
INX
CPX #20
BCC -
PLA
RTS

REG .BYTE $18,$06,$0D,$14,$04,$0B,$12,$0F,$08,$01
.BYTE $05,$13,$0C,$0E,$07,$00,$04,$0B,$12,$18

DATA .BYTE $24,$00,$00,$00,$00,$00,$00,$04,$08,$10
.BYTE $0D,$0D,$0B,$1C,$30,$44,$15,$15,$15,$0F
From: rusure on
Add a "$" to the value being
loaded in the first line

ldy #$14

Add a "$" to the SID address in
the filesid loop and change the
looping condition from bne to bpl

ldy #7
filsid ldx sidreg,y
lda sidval,y
sta $d400,x
dey
bpl filsid

Change the ",," & ".," to
"," and change the "d315"
to "315" in the last line

sidval .dby $3c73,$cc9,$c319,$315



From: rusure on
That's a gong ? Now the COMPUTE GAZETTE gong is a GONG!!!!
From: JB on
On Jul 22, 12:22 pm, rusure <r_u_s...(a)mybluelight.com> wrote:
> That's a gong ?  Now the COMPUTE GAZETTE gong is a GONG!!!!

I am not sure I follow you?

The gazette gong is pretty sad compared to the ccgms gong, but thats
my opinion anyway.
From: rusure on
On Jul 22, 12:01 pm, JB <jbrown1...(a)gmail.com> wrote:
> On Jul 22, 12:22 pm, rusure <r_u_s...(a)mybluelight.com> wrote:
>
> > That's a gong ?  Now the COMPUTE GAZETTE gong is a GONG!!!!
>
> I am not sure I follow you?
>
> The gazette gong is pretty sad compared to
> the ccgms gong, but thats my opinion anyway

Everybody is entitled to their incorrect opinion