AuthoringWare Company

 

VM Commands

Arguments

Function

 

 

 

VM_Exit

None

Terminate Playback.

Sample: <_Cmd>VM_Exit<\_Cmd>

It stops all presentation. This command can be used in any domain (Menu or Title).

VM_JumpTT

TTN=1, 2, … or 99

Start presentation of Title TTN. This function only can be used in the First Play domain or Title Menu domain.

Sample: <_Cmd>VM_JumpTT,TTN=2<\_Cmd>

 Starting playing Title #2.

VM_JumpVTS_TT

TTN=1, 2, … or 99

Start presentation of a Title based on local title number in the current VTS.

Sample: <_Cmd>VM_JumpVTS,TTN=3<\_Cmd>

 Starting playing Title #3 in the current VTS

VM_JumpVTS_PTT

PTTN=1, 2, … or 99

TTN=1, 2, … or 99

Start presentation of the Chapter of the local Title number TTN.

Sample: <_Cmd>VM_JumpVTS,PTTN=7,TTN=3<\_Cmd>

Starting playing Chapter 7 in Title #3 in the  current VTS.

VM_JumpSS

ID=2, for VTS menu

ID=3, for VMG menu

VMGM_PGCN=1, 2, ... or 639

Start presentation of Menu in the VTS or in the VMG. This function only can be used in the Menu domain or the First Play domain.

Sample: <_Cmd>VM_JumpSS,ID=2,VMGM_PGCN=0,VTS_TTN=1,VTSN=1</_Cmd>

Starting playing Root menu (the first menu) in Title #1 in VTS #1.

Sample: <_Cmd>VM_JumpSS,ID=3,VMGM_PGCN=2,VTS_TTN=0,VTSN=0</_Cmd>

Starting playing Menu #2 in the VMG domain.

VM_CallSS

ID=2, for VTS menu

ID=3, for VMG menu

VMGM_PGCN=1, 2, or 639

VTS_TTN=1, 2, or 99

VTSN=1, 2, or 99

RSM=1, for resume

RSM=0, resume disable

Start presentation of Menu in the VTS or in the VMG. This function only can be used in the Title domain.

Sample: <_Cmd>VM_CallSS,ID=2,VMGM_PGCN=0,RSM=1<_Cmd>

Starting playing Root menu (the first menu) in VTS #1. The ‘resume’ function is on.

Sample: <_Cmd>VM_CallSS,ID=3,VMGM_PGCN=5,RSM=0</_Cmd>

Starting playing Menu #5 in the VMG domain. The ‘resume’ function is off.

VM_LinkPGCN

PGCN=1, ... or 639 for Menus

PGCN=1, ... or 99 for Titles

 

Start presentation of a specific Menu in the VTSM or in the VMG.

Sample: <_Cmd>VM_LinkPGCN,PGCN=3</_Cmd>

Starting playing PGCN #3 (menu or title).

VM_SetSTN

AFlag=0, no audio stream change

AFlag=1, audio stream change

ASTN=0, 1, 2, or 7

SPFlag=0, no subtitle change

SPFlag=1, subtitle change

SPTN=0, 1, 2, … or 31, (or 63)

SPDispFlag=0, display disable

SPDispFlag=1, display enable

Set values for any or all of the Audio Stream number and the Subtitle Stream number.

Sample:

<_Cmd>VM_SetSTN,AFlag=1,ASTN=2,SPFlag=0,SPTN=0,SPDispFlag=0</_Cmd>

Change current audio stream number to 2 (the number 3 audio stream). There is no subtitle change.

Sample:

<_Cmd>VM_SetSTN,AFlag=0,ASTN=0,SPFlag=1,SPTN=3,SPDispFlag=1</_Cmd>

Change current subtitle stream number to 3 (the number 4 subtitle stream). There is no audio change.

Sample:

<_Cmd>VM_SetSTN,AFlag=0,ASTN=0,SPFlag=1,SPTN=3,SPDispFlag=0</_Cmd>

Disable current subtitle display (the number 4 subtitle stream). 

Sample:

<_Cmd>VM_SetSTN,AFlag=0,ASTN=0,SPFlag=1,SPTN=63,SPDispFlag=0</_Cmd>

Disable all subtitles

VM_SetSTN_Resume

AFlag=0, no audio stream change

AFlag=1, audio stream change

ASTN=0, 1, 2, or 7

SPFlag=0, no subtitle change

SPFlag=1, subtitle change

SPTN=0, 1, 2, … or 31, (or 63)

SPDispFlag=0, display disable

SPDispFlag=1, display enable

 

The settings are same as those in VM_SetSTN except it has the resume function. The resume function makes the title continue to play from the point, at which the title has been interrupted.

Sample:

<_Cmd>VM_SetSTN,AFlag=1,ASTN=2,SPFlag=0,SPTN=0,SPDispFlag=0</_Cmd>

Change current audio stream number to 2 (the number 3 audio stream). There is no subtitle change.

Sample:

<_Cmd>VM_SetSTN,AFlag=0,ASTN=0,SPFlag=1,SPTN=3,SPDispFlag=1</_Cmd>

Change current subtitle stream number to 3 (the number 4 subtitle stream). There is no audio change.

Sample:

<_Cmd>VM_SetSTN,AFlag=0,ASTN=0,SPFlag=1,SPTN=3,SPDispFlag=0</_Cmd>

Disable current subtitle display (the number 4 subtitle stream).

Sample:

<_Cmd>VM_SetSTN,AFlag=0,ASTN=0,SPFlag=1,SPTN=63,SPDispFlag=0</_Cmd>

Disable all subtitles.

VM_SetSTN_LinkPGCN

AFlag=0, no audio stream change

AFlag=1, audio stream change

ASTN=0, 1, 2, or 7

SPFlag=0, no subtitle change

SPFlag=1, subtitle change

SPTN=0, 1, 2, … or 31, (or 63)

SPDispFlag=0, display disable

SPDispFlag=1, display enable

PGCN=1, 2, … or 639

The settings are same as those in VM_SetSTN except it has the Link function. The Link function directs the presentation to a Menu or a Title designated by PGCN parameter.

Sample:

<_Cmd>VM_SetSTN,AFlag=1,ASTN=2,SPFlag=0,SPTN=0,SPDispFlag=0,PGCN=2</_Cmd>

Change current audio stream number to 2 (the number 3 audio stream). There is no subtitle change. It changes the presentation to PGCN #2.

Sample:

<_Cmd>VM_SetSTN,AFlag=0,ASTN=0,SPFlag=1,SPTN=3,SPDispFlag=1,PGCN=2</_Cmd>

Change current subtitle stream number to 3 (the number 4 subtitle stream). There is no audio change. It changes the presentation to PGCN #2.

Sample:

<_Cmd>VM_SetSTN,AFlag=0,ASTN=0,SPFlag=1,SPTN=3,SPDispFlag=0,PGCN=2</_Cmd>

Disable current subtitle display (the number 4 subtitle stream). It changes the presentation to PGCN #2.

Sample:

<_Cmd>VM_SetSTN,AFlag=0,ASTN=0,SPFlag=1,SPTN=63,SPDispFlag=0,PGCN=2</_Cmd>

Disable all subtitles. It changes the presentation to PGCN #2.

VM_SetHL_BTNN

GPRMN=0, 1, … or 15

It copies a designated register number (GPRMN), which holds the button number, to be the highlighted button number.

Sample:<_Cmd>VM_SetGPRM,GPRMN=14</_Cmd>

Map GPRM #14 to the ‘Set Highlight Button’ command

 

GPRM #14 is set to be:

Button 1 -> Value = 4 (0x4h)

Button 2 -> Value = 8 (0x8h)

Button 3 -> Value = 12 (0xch)

Button 4 -> Value = 16(0x10h)

Button 5 -> Value = 20 (0x14h)

Button 6 -> Value = 24 (0x18h)

Button 7 -> Value = 28 (0x1ch)

Button 8 -> Value = 32 (0x20h)

Button 9 -> Value = 36 (0x24h)

Button 10 -> Value = 40 (0x28h)

… … … … …

Button 36 -> Value = 144 (0x90)

VM_SetGPRM

GPRMN=0, 1, … or 15

Value=0, 1, … or 65535

It sets a value in the designated Register (GPRMN)

Sample: <_Cmd>VM_SetGPRM,GPRMN=11,Value=6</_Cmd>

The Value in GPRM #11 is 6.

VM_Compare_Goto

GPRMN=0, 1, … or 15

Value=0, 1, … or 65535

Line=1, 2, … 128

It compares the input value with the value in the General Parameter Register (GPRMN). If they are equal, it goes to the command line number in the current command area.

Sample: <_Cmd>VM_CompareLinkPGCN,GPRMN=11,Value=6,Line=17</_Cmd>

When the value in GPRM #11 is 6, it goes to command line #17 in the current PGC.

VM_Compare_LinkPGCN

GPRMN=0, 1, … or 15

Value=0, 1, … or 65535

PGCN=1, 2, … 639

Start presentation of a specific Program in the same PGC.

Sample: <_Cmd>VM_CompareLinkPGCN,GPRMN=11,Value=6,PGCN=6</_Cmd>

When the value in GPRM #11 is 6, it presents PGCN #6 in the current domain.

VM_User

Value1

Value2

Value3

Value4

Value5

Value6

Value7

Value8

User defined command. It could be any 8 bytes combinations.

Sample:

Command – 30h 02h 00h 00h 00h 08h 00h 00h

Cmd>VM_User,Value1=48,Value2=2,Value3=0,Value4=0,  Value5=0,Value6=8,Value7=0,Value8=0</_Cmd>

User puts an 8-byte command in the element. Each value holds one byte data. This command construct a Jump TT command used in the global domain.

 

 

 

 

 

 

AuthoringWare Co. All rights reserved, 1997-2006.      | Legal |