DVDLogic BD Authour manual

BD Author 1.0

Navigation commands list

Command Meaning
Branch Command Group
Nop Empty command, used for example, for align

No Operand.

GoTo Jumps to another Command Line
Operand Description Allowable types
Immediate value
GPR PSR
command_id Оrder number (from zero) for the next comman. + + +
Examples:

GoTo End go to the command following the label End:.

GoTo [12] go to the command whose number is in register GPR_12.

GoTo 10 go to the 10th command (Not recommended for use. Use the option labeled).

Break Break and exit from current commands list

No Operand.

JumpObject Jump to specified Movie Object
Operand Description Allowable types
Immediate value
GPR PSR
mobj_id Defines the mobj_id value for the Movie Object. + + +
Examples:

JumpObject 1 jump to the Movie Object with id 1.

JumpObject [5] jump to the Movie Object whose number is in register GPR_5.

JumpTitle Jump to specified Title
Operand Description Allowable types
Immediate value
GPR PSR
title_number Defines the

title_number

+ + +
Examples:

JumpTitle 1 jump to the Title with id 1.

JumpTitle [5] jump to the Title whose number is in register GPR_5.

CallObject Stop current playback and jump to specified Movie Object
Operand Description Allowable types
Immediatevalue
GPR PSR
mobj_id Defines the mobj_id value for the Movie Object. + + +
Examples:

CallObject 1 jump to the Movie Object with id 1.

CallObject [5] jump to the Movie Object whose number is in register GPR_5.

CallTitle Stop current playback and jump to specified Title
Operand Description Allowable types
Immediatevalue
GPR PSR
title_number Defines the

title_number

+ + +
Examples:

CallTitle 1 jump to the Title with id 1.

CallTitle [5] jump to the Title whose number is in register GPR_5.

Resume Restore previously stoped playback

No Operand.

TerminatePL Exit from playback of current PlayList

No Operand.

LinkPI Go to specified PlayItem
Operand Description Allowable types
Immediatevalue
GPR PSR
PlayItem_id Defines the PlayItem id. + + +
Examples:

LinkPI 1 change playback position to the PlayItem with id 1. LinkPI [5] change playback position to the PlayItem whose number is in register GPR_5.

LinkMK Go to specified PlayListMark
Operand Description Allowable types
Immediatevalue
GPR PSR
PL_mark_id Defines the PlayList Mark.id. + + +
Examples:

LinkMK 1 change playback position to the PlayList Mark with id 1.

LinkMK [5] change playback position to the PlayList Mark whose number is in register GPR_5.

Compare Command Group
BC or If & Binary Compare

Examples:

BC [5] 7

If [5] & 7

EQ or If == Equals

Examples:

EQ [5] 7

If [5] == 7

NE or If != Not Equals

Examples:

NE [5] 7

If [5] != 7

GE or If >= Greater Than or Equal to

Examples:

GE [5] 7

If [5] >= 7

GT or If > Greater Than

Examples:

GT [5] 7

If [5] > 7

LE or If <= Less Than or Equals to

Examples:

LE [5] 7

If [5] <= 7

LT or If < Less Than

Examples:

LT [5] 7

If [5] < 7

Set Command Group
Move Set value to GPR

Examples:

Move [5] 7 move 7 in to register GPR_5.

Swap Change values between two GPRs

Examples:

Swap [5] [7] swap data in registers GPR_5 and GPR_7.

Add Add value to GPR

Examples:

Add [5] 7 move 7 + GPR_5 in to register GPR_5.

Sub Subtract value from GPR

Examples:

Sub [5] 7 move GPR_5 − 7 in to register GPR_5.

Mul Multiply value to GPR

Examples:

Mul [5] 7 move GPR_5 × 7 in to register GPR_5.

Div Divide value to GPR

Examples:

Div [5] 7 move GPR_5 ⁄ 7 in to register GPR_5.

Mod Modulus value to GPR

Examples:

Mod [5] 7 move GPR_5 % 7 in to register GPR_5.

Rnd Store Random number in GPR

Examples:

Rnd [5] 7 move random value from 1 to 7 in to register GPR_5.

And Binary AND to GPR

Examples:

And [5] 7 move GPR_5 & 7 in to register GPR_5.

Or Binary OR to GPR

Examples:

Or [5] 7 move GPR_5 | 7 in to register GPR_5.

Xor Binary XOR to GPR

Examples:

Xor [5] 7 move GPR_5 ^ 7 in to register GPR_5.

BitSet Set bit in GPR

Examples:

BitSet [5] 7 set 7th bit in GPR_5 in to 1.

BitClear Set bit to «0» in GPR