Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JASSeqParser Class Reference

#include <JASSeqParser.h>

+ Collaboration diagram for JASSeqParser:

Classes

struct  CmdInfo
 

Public Types

enum  BranchCondition
 

Public Member Functions

virtual ~JASSeqParser ()
 
virtual s32 parse (JASTrack *)
 
virtual s32 execNoteOnMidi (JASTrack *, u32, u32, u32)
 
virtual s32 execNoteOnGate (JASTrack *, u32, u32, u32, u32)
 
virtual s32 execNoteOff (JASTrack *, u32)
 
virtual s32 execCommand (JASTrack *, s32(JASSeqParser::*)(JASTrack *, u32 *), u32, u32 *)
 
bool conditionCheck (JASTrack *, JASSeqParser::BranchCondition)
 
void writeReg (JASTrack *, u32, u32)
 
u32 readReg (JASTrack *, u32) const
 
s32 cmdOpenTrack (JASTrack *, u32 *)
 
s32 cmdCloseTrack (JASTrack *, u32 *)
 
s32 cmdCall (JASTrack *, u32 *)
 
s32 cmdCallF (JASTrack *, u32 *)
 
s32 cmdRet (JASTrack *, u32 *)
 
s32 cmdRetF (JASTrack *, u32 *)
 
s32 cmdJmp (JASTrack *, u32 *)
 
s32 cmdJmpF (JASTrack *, u32 *)
 
s32 cmdJmpTable (JASTrack *, u32 *)
 
s32 cmdCallTable (JASTrack *, u32 *)
 
s32 cmdLoopS (JASTrack *, u32 *)
 
s32 cmdLoopE (JASTrack *, u32 *)
 
s32 cmdNote (JASTrack *, u32 *)
 
s32 cmdNoteOn (JASTrack *, u32 *)
 
s32 cmdNoteOff (JASTrack *, u32 *)
 
s32 cmdReadPort (JASTrack *, u32 *)
 
s32 cmdWritePort (JASTrack *, u32 *)
 
s32 cmdParentWritePort (JASTrack *, u32 *)
 
s32 cmdChildWritePort (JASTrack *, u32 *)
 
s32 cmdParentReadPort (JASTrack *, u32 *)
 
s32 cmdChildReadPort (JASTrack *, u32 *)
 
s32 cmdCheckPortImport (JASTrack *, u32 *)
 
s32 cmdCheckPortExport (JASTrack *, u32 *)
 
s32 cmdWait (JASTrack *, u32 *)
 
s32 cmdWaitByte (JASTrack *, u32 *)
 
s32 cmdSetLastNote (JASTrack *, u32 *)
 
s32 cmdEnvScaleSet (JASTrack *, u32 *)
 
s32 cmdEnvSet (JASTrack *, u32 *)
 
s32 cmdSimpleADSR (JASTrack *, u32 *)
 
s32 cmdBusConnect (JASTrack *, u32 *)
 
s32 cmdSetIntTable (JASTrack *, u32 *)
 
s32 cmdSetInterrupt (JASTrack *, u32 *)
 
s32 cmdDisInterrupt (JASTrack *, u32 *)
 
s32 cmdClrI (JASTrack *, u32 *)
 
s32 cmdRetI (JASTrack *, u32 *)
 
s32 cmdIntTimer (JASTrack *, u32 *)
 
s32 cmdSyncCPU (JASTrack *, u32 *)
 
s32 cmdTempo (JASTrack *, u32 *)
 
s32 cmdFinish (JASTrack *, u32 *)
 
s32 cmdNop (JASTrack *, u32 *)
 
s32 cmdFIRSet (JASTrack *, u32 *)
 
s32 cmdIIRSet (JASTrack *, u32 *)
 
s32 cmdIIRCutOff (JASTrack *, u32 *)
 
s32 cmdBankPrg (JASTrack *, u32 *)
 
s32 cmdBank (JASTrack *, u32 *)
 
s32 cmdPrg (JASTrack *, u32 *)
 
s32 cmdParamI (JASTrack *, u32 *)
 
s32 cmdParamII (JASTrack *, u32 *)
 
s32 cmdParamE (JASTrack *, u32 *)
 
s32 cmdParamEI (JASTrack *, u32 *)
 
s32 cmdReg (JASTrack *, u32 *)
 
s32 cmdRegLoad (JASTrack *, u32 *)
 
s32 cmdRegUni (JASTrack *, u32 *)
 
s32 cmdRegTblLoad (JASTrack *, u32 *)
 
s32 cmdDump (JASTrack *, u32 *)
 
s32 cmdPrintf (JASTrack *, u32 *)
 
s32 parseNoteOff (JASTrack *, u8)
 
s32 parseNoteOn (JASTrack *, u8)
 
s32 parseCommand (JASTrack *, u8, u16)
 
s32 parseRegCommand (JASTrack *, int)
 

Static Public Member Functions

static void registerSeqCallback (u16(*param_0)(JASTrack *, u16))
 

Static Public Attributes

static CmdInfo sCmdInfo [96]
 
static CmdInfo sExtCmdInfo [255]
 
static u16(* sCallBackFunc )(JASTrack *, u16)
 

Member Enumeration Documentation

◆ BranchCondition

Constructor & Destructor Documentation

◆ ~JASSeqParser()

virtual JASSeqParser::~JASSeqParser ( )
inlinevirtual

Member Function Documentation

◆ cmdBank()

s32 JASSeqParser::cmdBank ( JASTrack param_0,
u32 param_1 
)

◆ cmdBankPrg()

s32 JASSeqParser::cmdBankPrg ( JASTrack param_0,
u32 param_1 
)

◆ cmdBusConnect()

s32 JASSeqParser::cmdBusConnect ( JASTrack param_0,
u32 param_1 
)

◆ cmdCall()

s32 JASSeqParser::cmdCall ( JASTrack param_0,
u32 param_1 
)

◆ cmdCallF()

s32 JASSeqParser::cmdCallF ( JASTrack param_0,
u32 param_1 
)

◆ cmdCallTable()

s32 JASSeqParser::cmdCallTable ( JASTrack param_0,
u32 param_1 
)

◆ cmdCheckPortExport()

s32 JASSeqParser::cmdCheckPortExport ( JASTrack param_0,
u32 param_1 
)

◆ cmdCheckPortImport()

s32 JASSeqParser::cmdCheckPortImport ( JASTrack param_0,
u32 param_1 
)

◆ cmdChildReadPort()

s32 JASSeqParser::cmdChildReadPort ( JASTrack param_0,
u32 param_1 
)

◆ cmdChildWritePort()

s32 JASSeqParser::cmdChildWritePort ( JASTrack param_0,
u32 param_1 
)

◆ cmdCloseTrack()

s32 JASSeqParser::cmdCloseTrack ( JASTrack param_0,
u32 param_1 
)

◆ cmdClrI()

s32 JASSeqParser::cmdClrI ( JASTrack param_0,
u32 param_1 
)

◆ cmdDisInterrupt()

s32 JASSeqParser::cmdDisInterrupt ( JASTrack param_0,
u32 param_1 
)

◆ cmdDump()

s32 JASSeqParser::cmdDump ( JASTrack param_0,
u32 param_1 
)

◆ cmdEnvScaleSet()

s32 JASSeqParser::cmdEnvScaleSet ( JASTrack param_0,
u32 param_1 
)

◆ cmdEnvSet()

s32 JASSeqParser::cmdEnvSet ( JASTrack param_0,
u32 param_1 
)

◆ cmdFinish()

s32 JASSeqParser::cmdFinish ( JASTrack param_0,
u32 param_1 
)

◆ cmdFIRSet()

s32 JASSeqParser::cmdFIRSet ( JASTrack param_0,
u32 param_1 
)

◆ cmdIIRCutOff()

s32 JASSeqParser::cmdIIRCutOff ( JASTrack param_0,
u32 param_1 
)

◆ cmdIIRSet()

s32 JASSeqParser::cmdIIRSet ( JASTrack param_0,
u32 param_1 
)

◆ cmdIntTimer()

s32 JASSeqParser::cmdIntTimer ( JASTrack param_0,
u32 param_1 
)

◆ cmdJmp()

s32 JASSeqParser::cmdJmp ( JASTrack param_0,
u32 param_1 
)

◆ cmdJmpF()

s32 JASSeqParser::cmdJmpF ( JASTrack param_0,
u32 param_1 
)

◆ cmdJmpTable()

s32 JASSeqParser::cmdJmpTable ( JASTrack param_0,
u32 param_1 
)

◆ cmdLoopE()

s32 JASSeqParser::cmdLoopE ( JASTrack param_0,
u32 param_1 
)

◆ cmdLoopS()

s32 JASSeqParser::cmdLoopS ( JASTrack param_0,
u32 param_1 
)

◆ cmdNop()

s32 JASSeqParser::cmdNop ( JASTrack param_0,
u32 param_1 
)

◆ cmdNote()

s32 JASSeqParser::cmdNote ( JASTrack param_0,
u32 param_1 
)

◆ cmdNoteOff()

s32 JASSeqParser::cmdNoteOff ( JASTrack param_0,
u32 param_1 
)

◆ cmdNoteOn()

s32 JASSeqParser::cmdNoteOn ( JASTrack param_0,
u32 param_1 
)

◆ cmdOpenTrack()

s32 JASSeqParser::cmdOpenTrack ( JASTrack param_0,
u32 param_1 
)

◆ cmdParamE()

s32 JASSeqParser::cmdParamE ( JASTrack param_0,
u32 param_1 
)

◆ cmdParamEI()

s32 JASSeqParser::cmdParamEI ( JASTrack param_0,
u32 param_1 
)

◆ cmdParamI()

s32 JASSeqParser::cmdParamI ( JASTrack param_0,
u32 param_1 
)

◆ cmdParamII()

s32 JASSeqParser::cmdParamII ( JASTrack param_0,
u32 param_1 
)

◆ cmdParentReadPort()

s32 JASSeqParser::cmdParentReadPort ( JASTrack param_0,
u32 param_1 
)

◆ cmdParentWritePort()

s32 JASSeqParser::cmdParentWritePort ( JASTrack param_0,
u32 param_1 
)

◆ cmdPrg()

s32 JASSeqParser::cmdPrg ( JASTrack param_0,
u32 param_1 
)

◆ cmdPrintf()

s32 JASSeqParser::cmdPrintf ( JASTrack param_0,
u32 param_1 
)

◆ cmdReadPort()

s32 JASSeqParser::cmdReadPort ( JASTrack param_0,
u32 param_1 
)

◆ cmdReg()

s32 JASSeqParser::cmdReg ( JASTrack param_0,
u32 param_1 
)

◆ cmdRegLoad()

s32 JASSeqParser::cmdRegLoad ( JASTrack param_0,
u32 param_1 
)

◆ cmdRegTblLoad()

s32 JASSeqParser::cmdRegTblLoad ( JASTrack param_0,
u32 param_1 
)

◆ cmdRegUni()

s32 JASSeqParser::cmdRegUni ( JASTrack param_0,
u32 param_1 
)

◆ cmdRet()

s32 JASSeqParser::cmdRet ( JASTrack param_0,
u32 param_1 
)

◆ cmdRetF()

s32 JASSeqParser::cmdRetF ( JASTrack param_0,
u32 param_1 
)

◆ cmdRetI()

s32 JASSeqParser::cmdRetI ( JASTrack param_0,
u32 param_1 
)

◆ cmdSetInterrupt()

s32 JASSeqParser::cmdSetInterrupt ( JASTrack param_0,
u32 param_1 
)

◆ cmdSetIntTable()

s32 JASSeqParser::cmdSetIntTable ( JASTrack param_0,
u32 param_1 
)

◆ cmdSetLastNote()

s32 JASSeqParser::cmdSetLastNote ( JASTrack param_0,
u32 param_1 
)

◆ cmdSimpleADSR()

s32 JASSeqParser::cmdSimpleADSR ( JASTrack param_0,
u32 param_1 
)

◆ cmdSyncCPU()

s32 JASSeqParser::cmdSyncCPU ( JASTrack param_0,
u32 param_1 
)

◆ cmdTempo()

s32 JASSeqParser::cmdTempo ( JASTrack param_0,
u32 param_1 
)

◆ cmdWait()

s32 JASSeqParser::cmdWait ( JASTrack param_0,
u32 param_1 
)

◆ cmdWaitByte()

s32 JASSeqParser::cmdWaitByte ( JASTrack param_0,
u32 param_1 
)

◆ cmdWritePort()

s32 JASSeqParser::cmdWritePort ( JASTrack param_0,
u32 param_1 
)

◆ conditionCheck()

bool JASSeqParser::conditionCheck ( JASTrack param_0,
JASSeqParser::BranchCondition  param_1 
)

◆ execCommand()

s32 JASSeqParser::execCommand ( JASTrack param_0,
s32(JASSeqParser::*)(JASTrack *, u32 *)  param_1,
u32  param_2,
u32 param_3 
)
virtual

◆ execNoteOff()

s32 JASSeqParser::execNoteOff ( JASTrack param_0,
u32  param_1 
)
virtual

◆ execNoteOnGate()

s32 JASSeqParser::execNoteOnGate ( JASTrack param_0,
u32  param_1,
u32  param_2,
u32  param_3,
u32  param_4 
)
virtual

◆ execNoteOnMidi()

s32 JASSeqParser::execNoteOnMidi ( JASTrack param_0,
u32  param_1,
u32  param_2,
u32  param_3 
)
virtual

◆ parse()

s32 JASSeqParser::parse ( JASTrack param_0)
virtual

◆ parseCommand()

s32 JASSeqParser::parseCommand ( JASTrack param_0,
u8  cmd,
u16  param_2 
)

◆ parseNoteOff()

s32 JASSeqParser::parseNoteOff ( JASTrack param_0,
u8  param_1 
)

◆ parseNoteOn()

s32 JASSeqParser::parseNoteOn ( JASTrack param_0,
u8  param_1 
)

◆ parseRegCommand()

s32 JASSeqParser::parseRegCommand ( JASTrack param_0,
int  param_1 
)

◆ readReg()

u32 JASSeqParser::readReg ( JASTrack param_0,
u32  param_1 
) const

◆ registerSeqCallback()

static void JASSeqParser::registerSeqCallback ( u16(*)(JASTrack *, u16 param_0)
inlinestatic

◆ writeReg()

void JASSeqParser::writeReg ( JASTrack param_0,
u32  param_1,
u32  param_2 
)

Member Data Documentation

◆ sCallBackFunc

u16(* JASSeqParser::sCallBackFunc)(JASTrack *, u16)
static

◆ sCmdInfo

JASSeqParser::CmdInfo JASSeqParser::sCmdInfo
static

◆ sExtCmdInfo

JASSeqParser::CmdInfo JASSeqParser::sExtCmdInfo
static
Initial value:
= {
NULL, 0x0000, 0x0000,
&JASSeqParser::cmdDump, 0x0000, 0x0000,
NULL, 0x0000, 0x0000,
NULL, 0x0000, 0x0000,
NULL, 0x0000, 0x0000,
NULL, 0x0000, 0x0000,
NULL, 0x0000, 0x0000,
}
T cLib_calcTimer(T *value)
Definition c_lib.h:74
s32 cmdDump(JASTrack *, u32 *)
Definition JASSeqParser.cpp:829

The documentation for this class was generated from the following files: