head	1.1;
branch	1.1.1;
access;
symbols
	iQue_20031113:1.1.1.1
	iQue_beta_1_0:1.1.1.1
	start:1.1.1.1
	Nintendo:1.1.1;
locks; strict;
comment	@# @;
expand	@b@;


1.1
date	2003.02.05.23.45.27;	author wheeler;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2003.02.05.23.45.27;	author wheeler;	state Exp;
branches;
next	;


desc
@@



1.1
log
@Initial revision
@
text
@;**********************************************
;		STAR FOX 64
;		SE SEQUENCE DATA
;		MESSAGE
;		1996. 8.30(FRI)
;		YOJI INAGAKI
;**********************************************


#define VOICE_CMD_PORT	0
#define VOICE_STAT_PORT	1
#define VOICE_BNK_PORT  2
#define VOICE_SC_PORT	4
#define VOICE_NUM0_PORT	5
#define VOICE_NUM1_PORT	6
#define VOICE_TMP_PORT	7

#define VOICE_CMD_START  	1
#define VOICE_STAT_NON_ACTIVE  	$ff
#define VOICE_STAT_ACTIVE  	1


;****************
;* GROUP TRACK  *
;****************   

_Start
    defpause,$88
    pausevolume,0
    volumechg,127
    gr_evolume,127
    tempochg,120
    allocsub , $8000
    opensub,15,_voice_se
_wait
    waitw,32720
    jump,_wait



;****************
;*  SUB TRACK   *
;****************   
_voice_se
    Bmode
    spanpow ,127
;    svolume ,127
    evolume ,127
    priority,14
    sr_load,VOICE_STAT_NON_ACTIVE
    sr_portwrite,VOICE_CMD_PORT
;    pausestatus,$20
	;continue
@@_INPUT_CHECK
    return
    sr_portread,VOICE_CMD_PORT
    sr_sbc,VOICE_CMD_START 
    jump0,@@_START
    jump,@@_INPUT_CHECK
@@_START
	tblset, _voice_se_tbl    
    closenote,0
    sr_load,$00
    sr_portwrite,VOICE_TMP_PORT
    sr_load,VOICE_STAT_ACTIVE
    sr_portwrite,VOICE_STAT_PORT
    sr_portread,VOICE_SC_PORT
    ctblcall
	;continue	
@@_PLAY_LOOP_0
    return
    sr_portread,VOICE_CMD_PORT
    sr_sbc,VOICE_CMD_START 
    jump0,@@_START
    chknote,0
    jump0,@@_PLAY_LOOP_0
    sr_load,VOICE_STAT_NON_ACTIVE
    sr_portwrite,VOICE_STAT_PORT
    jump, @@_INPUT_CHECK



;********************
;   voice se table
;********************
_voice_se_tbl
#label   _v_mes00, _v_mes01, _v_mes02, _v_mes03, _v_mes04, _v_mes05, _v_mes06, _v_mes07, _v_mes08, _v_mes09
#label   _v_mes10, _v_mes11, _v_mes12, _v_mes13, _v_mes14, _v_mes15, _v_mes16, _v_mes17, _v_mes18, _v_mes19
#label   _v_mes20, _v_mes21, _v_mes22, _v_mes23



;*** play ***
_v_error
	bankchg, VOICE00_BANK
	tblset, _voice00_tbl_0
	sr_load, 00
	;continue
_v_play
;	stune, 65535  ;modified
	sr_and, $7f
    sr_tblNopen, 0
    fin


;*** communication start ***
_v_comst
    nprg,INST_RDTUN
    nenv,ENVE_NOMAL01, 72
    sweepfrom,$81,cn3,128
    cn4b1, 48,115
    nprg,INST_NOISE
    gn3b1, 24, 127
    fin

;*** communication enemy  start ***
_v_coms2
    nprg,INST_RDTUN
    nenv,ENVE_NOMAL01, 72
    tieon
    sweepfrom,$85,cn3,255
    cn2b1, 10,115
    fn4b1, 18,115
    cn4b1, 20,115
    sweepend
    tieoff
    nprg,INST_NOISE
    gn3b1, 24, 127
    fin

;*** communication start (request) ***
_v_coms3
    nprg,INST_GLOCK
    tieon
;    nenv,ENVE_SLOW01, 255
    sweepfrom,$85,dn2,255
    dn3b1,  4, 127
    an2b1,  2, 127
    dn5b1, 25, 127
    sweepend
    tieoff
    nprg,INST_NOISE
    cn4b1, 24, 127
    fin


;*** communication end ***
_v_novox
_v_comed
    nprg,INST_RDTUN
    nenv,ENVE_NOMAL01, 72
    sweepfrom,$81,cn4,128
    fn3b1, 24,127
    nprg,INST_NOISE
    gn3b1, 24, 127
    fin

	
_v_danger
	nprg,INST_GLOCK
	nenv, ENVE_NOMAL02, 127
	ntrans, 12
	loopS, 2
	cs5b0, 8, 127, 210
	cs5b0, 12, 127, 210
	xxx, 12
	loopE
	ntrans, 0
	fin


;*** clear ***
_v_clear
    xxx,1
    fin

;*** test ***
_v_test1
    call,_v_00060
	xxx, 20
	call, _v_comed
	xxx, 45
    call,_v_00010
	xxx, 45
    call,_v_00020
	xxx, 45
    call,_v_00030
	xxx, 45
    call,_v_00040
	xxx, 45
    call,_v_00050
	xxx, 45
    call,_v_comed
	xxx, 45
    jump,_v_test1
	
;*** message scene undefined ***
_v_mes12
_v_mes13
    bankchg, VOICE00_BANK
    opennote,0,_v_comst
    fin

_v_mes22
	return
	fin

	
;*** include stage voice sequence ***
#include "Voice/Seqs/fox_voice.def"
#include "Voice/Seqs/fox_voice01.def"
#include "Voice/Seqs/fox_voice00.mus"
#include "Voice/Seqs/fox_voice01.mus"
#include "Voice/Seqs/fox_voice02.mus"
#include "Voice/Seqs/fox_voice03.mus"
#include "Voice/Seqs/fox_voice04.mus"
#include "Voice/Seqs/fox_voice05.mus"
#include "Voice/Seqs/fox_voice06.mus"
#include "Voice/Seqs/fox_voice07.mus"
#include "Voice/Seqs/fox_voice08.mus"
#include "Voice/Seqs/fox_voice09.mus"
#include "Voice/Seqs/fox_voice10.mus"
#include "Voice/Seqs/fox_voice11.mus"
#include "Voice/Seqs/fox_voice14.mus"
#include "Voice/Seqs/fox_voice15.mus"
#include "Voice/Seqs/fox_voice16.mus"
#include "Voice/Seqs/fox_voice17.mus"
#include "Voice/Seqs/fox_voice18.mus"
#include "Voice/Seqs/fox_voice19.mus"
#include "Voice/Seqs/fox_voice20.mus"
#include "Voice/Seqs/fox_voice21.mus"
#include "Voice/Seqs/fox_voice23.mus"


#evenw
ENVE_NOMAL01
#word	2,32700
#word	32700,32700
#word	-1,0

ENVE_NOMAL02
#word	10,32700
#word	32700,32700
#word	-1,0
@


1.1.1.1
log
@audio assets
@
text
@@
