

MW_MASK         EQU $FFFF8922 ;Micro Wire interface...
MW_DATA         EQU $FFFF8924
PCM_MODE        EQU $FFFF8920 ;PCM interface...
PCM_CONTROL     EQU $FFFF8900
PCM_START       EQU $FFFF8902
PCM_END         EQU $FFFF890E
MFP_Data        EQU $FFFFFA01 ;Multi functions interface...
MFP_Edge        EQU $FFFFFA03
MFP_PendA       EQU $FFFFFA0B
MFP_ISRA        EQU $FFFFFA0F
MFP_MaskA       EQU $FFFFFA13
MFP_EnblA       EQU $FFFFFA07
MFP_EnblB       EQU $FFFFFA09
MFP_IVR         EQU $FFFFFA17

PCM_VECTOR      EQU $013C   ;Interupt vectores.
TA_VECTOR       EQU $0134
VBL_VECTOR      EQU $70

SFT_PALLETE     EQU $FFFF8240 ;Shifter
SFT_MODE        EQU $FFFF8260

GemDos          EQU 1
Super           EQU $20     ;GEMDOS functions.
Xbios           EQU 14
Supexec         EQU 38                  ; xbios


                OFFSET 0
command:        DS.L 1 
address:        DS.L 1 
position:       DS.L 1 
loopadd:        DS.L 1
looppos:        DS.L 1 
vol:            DS.W 1 
initfreq:       DS.W 1 
freq:           DS.W 1 
portlimit:      DS.W 1
flag:           DS.B 1 
loopflag:       DS.B 1 
portflag:       DS.B 1 
portspeed:      DS.B 1 
vibtime:        DS.B 1 
vibamount:      DS.B 1 
VRecLen:        DS   0      *lenght of ^

                OFFSET 0
init_strt:      DS.L 1 ;sample start (initial)
rept_strt:      DS.L 1 ;start of loop (repeat)
init_len:       DS.W 1 ;Length of Transient part (initial)
rept_len:       DS.W 1 ;Length of loop (repeat)
init_vol:       DS.W 1
loop_flg:       DS.B 1

                .TEXT