View Single Post
Old 15th November 2004, 17:00   #7  |  Link
lamster
Registered User
 
Join Date: Nov 2003
Posts: 299
Quote:
Originally posted by 2COOL
In First Play, I would set gprm(6) to 12345. I just used a random number.
Code:
[71 00 00 06 30 39 00 00]   2  Set gprm(6) =(mov) 12345
Note that your "random number" spells '09' in ASCII. I'd pick something above 32767; you're less likely to conflict with something present on the DVD.
Quote:
My way is different from what lamster mentions.
I'm looking for a register that hasn't been set.
You're looking for a register that hasn't been set via the navigation you used. I'm looking for one where we definitely don't care what value it has coming in, because the PGC modifies it without examining the current value. I think my way is better if such a register exists (which of course might not be the case).

Another approach would be to analyze the register usage, and see what register's are only used in other areas of the DVD. But this probably goes beyond the scope of an introductory guide.
lamster is offline   Reply With Quote