I have a DSP3 project which uses a script that uses the SPRM4 register to determine which button on the menu to highlight when you return to the menu. The script is set up to execute as a "pre-script". The value of SPRM4 is moved into GPRM0, and then the value of GPRM0 is used to determine which button to highlight.
When using the DSP3 SIMULATOR it all works beautifully. I have the log turned on and can see each step execute as expected. The SPRM4 register gives the number of the last track and the script highlights that button in the menu.
However when I build the project on the hard drive and then run it using Apples DVD Player it doesn't work. Regardless on which track is palyed, when you return to the menu the first button is displayed. (The "Default Button" in the "Menu Functions" for this menu is set to "not set", so I don't think thats over-riding the script).
I have checked and re-checked the script. I have tried a number of different approaches for executing the script. In SIMULATOR it all works. After the build it doesn't.
While some of what I want to do can be achieved without scripting, what I want to achieve requires scripting, and scripting (should) make it much easier to do.
Oddly enough I have a "Random Play" script on a 3 minute timeout on the main menu that does work. The difference between it and the other scripts is that it doesn't access any SPRM registers. It just generates a random number than plays a track.
Has anyone had this situation?
Does anyone know why scripts would work in the DSP3 simulator but not after the project has been build.
Many Thanks if you can advise.
Do not post admin requests to the list. They will be ignored.
Dvdlist mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden