could you use this feature in order to include a small segment
of code that echoes the psg on the scc in a given slot?
WYZ showed that the effect can be great
main ideas are here
http://karoshi.msxgamesbox.com/index.php?topic=562.0
In this way we can have scc support in any psg only game!!!!!!
Just read the AY registers and copy them adjusting a bit
in the scc registers
this is the code to add to the interrupt:
SCCOUT: ;FRECUENCIA
ld a,0x3fh
ld (Bank3),a
LD HL,(AYREGS+0) ;REPRODUCE SONIDO EN SCC
LD (SCC_REG+0),HL
DEC HL ;CHORUS EN CANAL 4 OPCIONAL
LD (SCC_REG+6),HL ;*
LD HL,(AYREGS+2)
LD (SCC_REG+2),HL
DEC HL ;CHORUS EN CANAL 5 OPCIONAL
DEC HL
LD (SCC_REG+8),HL ;*
LD HL,(AYREGS+4)
LD (SCC_REG+4),HL
;VOLUMEN
LD A,(AYREGS+8)
LD (SCC_REG+0x0A),A
LD (SCC_REG+0x0D),A
LD A,(AYREGS+9)
LD (SCC_REG+0x0B),A
LD (SCC_REG+0x0E),A
LD A,(AYREGS+10)
LD (SCC_REG+0x0C),A
;MIXER
ld a,(AYREGS+AR_Mixer)
ld b,a
xor a
bit 0,b
jp nz,noA
or 00001001B ; A-> ch 1 & 4
noA: bit 1,b
jp nz,noB
or 00010010B ; B-> ch 2 & 5
noB: bit 2,b
jp nz,noC
or 00000100B ; C-> ch 3
noC: ld (SCC_REG+0x0F),a
RET
the sole problem is the scc init, but it can be solved