Log in

View Full Version : Gpreg command


Skiro
9th November 2003, 07:50
Where can I found detailled explannation what is this command.

farmer dan
9th November 2003, 12:39
A GPreg--I think they are also referred to as GPRM's--is a General Purpose Register. It holds numbers so that compare operations can be done by other commands for navigation through the DVD. For example:1. post-command If GPreg<2> == 1 GoTo Line 3
2. post-command If Gpreg<7> >= Gpreg<4> then (CallSS VMGM) Call VMG Title Menu [Resume: Cell 1]
3. post-command (JumpSS VTSM) Jumpt to titleset(vts): 1, Title(ttn): 1, root-menu

If these are the post commands for a main movie, then if some operation set the value of GPreg<2> to 1, the DVD will start the movie again. In all other cases the DVD will return to the VMG's--the Video Manager--Title Menu

There are also SRPM's which are system registers and they control what the player and the remote do. I haven't researched these very much yet.

You can find good explanations of all of this at 1 Lord of the Disc's website (http://home.arcor.de/josef.braunstein) and
2. MPUCODER's website (http://www.mpucoder.com).