Skip to content

Latest commit

 

History

History
67 lines (37 loc) · 1.21 KB

File metadata and controls

67 lines (37 loc) · 1.21 KB

Opcode Group 02 - SEQ_CmdTSK

Contains logic for SEQ tasks. For example,

The file m_title.seq calls player00.seq by first initializing it on this line:

13BD4 | op_0203 0xC, 0x0 with file name "game/player00"

Then calls it with:

13C0C | op_0207 gpr2

Execution then immediately jumps to the start of player00.seq:

00010 | b 0x18

When player00.seq calls the opcode end, execution returns to m_title.seq.

TskExecFunc

0200 - SEQ_ReqSetNext

0201 - SEQ_ReqSetPrev

0202 - SEQ_ReqLoadNextI

This opcode is followed by the name of the SEQ file to load.

0203 - SEQ_ReqLoadPrevI

This opcode is followed by the name of the SEQ file to load.

0204 - SEQ_ReqLoadNext

The first operand from SEQ_RegCMD2 is the name of the SEQ file to load.

0205 - SEQ_ReqLoadPrev

The first operand from SEQ_RegCMD2 is the name of the SEQ file to load.

0206 - TskSendMsg

Send a task message. This could be a TCGSEQ_Task or SEQ_Task for example, which may execute SEQ bytecode.

0207 - TskExecFunc

0208

0209

020A

020B

020C - TskSendMsgCnt

020D - TskReciveMsg

020E - TskSendMsgFunc

020F - TskSendMsgTOT