Quote:
Originally Posted by hukka
Okay, I took it out of the vbl routine and into the mainloop which does this now:
Code:
WaitLine 270
move.w #$CC00, POTGO+CUSTOM
WaitLine 276
move.w POTGOR+CUSTOM, Pot
And it still doesn't work, Pot still reads $5500. In both WinUAE and my 1200. I made sure that's the only place POTGO(R) gets touched in my code. The WaitLine macro works properly.
|
It should work, it has to work. It is exact same method as reading right (or middle) mouse button. (You do remember that read data is inverted? 1 = not pressed, 0 = pressed)
Quote:
Thanks for the tip - does anyone happen to have info on how to set the priority?
|
Interrupt node priority field, check RKM