This command links to a specified program within the same PGC and optionally highlights a specified button.
A button value of 0 indicates no highlight. Programs within a PGC are numbered from 1 and are associated with
chapters. Therefore, LinkPGN cannot be used to branch from one PGC to a program in a different PGC.
The DVD specifications support a maximum of 255 programs (chapters) per PGC and up to 36 menu buttons
per display menu. A chapter is searched based upon the PGC and PGN number, so theoretically, there can be an
unlimited number of chapters by using more than one PGCs to hold the chapters.
This command is often used to repeat the playback of a movie from the beginning after it ends (LinkPGN 1).
LinkPGN is not allowed in the First-Play PGC. This restriction is due to the requirement that the First-Play
PGC cannot hold video, audio, or subpicture contents, and thus having no program (PGN) entries.
This command does not execute the pre-command section of its PGC. Therefore, it is more efficient than LinkPGCN,
if used to direct the playback flow to return to the first program of the same PGC.
This command can be combined with the
Compare GPRM operations
for conditional branching. When combining, this command is
executed only if the result of the comparison is true.
1)
Compare to another GPRM register and LinkPGN
2)
Compare to another SPRM register and LinkPGN
3)
Compare to a constant value and LinkPGN
