Source element types – Apple DVD Studio Pro 4 User Manual
Page 496
• and: Performs a “bit-wise and” operation between the 16 individual bits of the source
and the target values, and writes the result in the target location. The bits that are set
(value of 1) in both values are left set. Bits that are not set in one or the other value are
reset (value 0).
• or: Performs a “bit-wise or” operation between the 16 individual bits of the source and
the target values, and writes the result in the target location. The bits that are set (value
of 1) in either value are left set. Bits that are not set in both of the values are reset (value
0).
• xor: Performs a “bit-wise exclusive or” operation between the 16 individual bits of the
source and the target values, and writes the result in the target location. The bits that
are set (value of 1) in one or the other value (but not both) are left set. Bits that are or
are not set in both of the values are reset (value 0).
Source Element Types
You choose from five different elements to be used as the source type.
• GPRM: Allows you to select any of the available GPRMs as the source.
• SPRM: Allows you to select any of the 24 SPRMs as the source. See
for a list of SPRMs.
• Immediate: Allows you to enter a decimal value, whose range depends on the size of
the selected GPRM register, as the source.
• Jump Target: Allows you to select from all available project elements (menus, tracks,
stories, slideshows, and scripts) as the source.
• Special: Allows you to choose from Current Item, Last Item, and Last Track as the source.
• Current Item: This is this script, unless this is a pre-script. If this is a pre-script, the
Current Item is the project element (menu, track, slideshow, or story) the script is
assigned to.
• Last Item: This is the project element that started this script running.
• Last Track: This is the last track that was played, even if this script was started by a
button on a menu.
Note: Jump Target and Special require the target to be a 16-bit GPRM register.
496
Chapter 20
Creating Scripts