View Single Post
Old 7th March 2002, 14:13   #34  |  Link
easy2Bcheesy
Moderator
 
easy2Bcheesy's Avatar
 
Join Date: Feb 2002
Posts: 643
You could have one command sequence per row of buttons, thusly:

MOV GP0, SPRM8
DIV GP0, 1024
MOV GP1, GP0
JUMP to ROW2 (row2 being a menu)

GP1 would be the the number of the first movie you go to.

SPRM8 is system register of which button is highlighted. This stays in memory when you jump to the command sequence, so you can read it off, divide it by 1024 to give you a number between 1-8.

The big problem is that all eight GRPMs will be used on the playlist! You need to split up the GPRMs down (right click on command sequences and change the registers). Splitting two GPRMs into four 4-bit registers will do the job just fine - otherwise all your GPRMs will be used up!

The reason it gets more complicated after this is because you need a lot more command sequences, including a counter that increases after each movie ends plus eight more to see where to jump to next. It's all rather complicated to explain here, but it can be done.
easy2Bcheesy is offline   Reply With Quote