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.
Quote:
Originally Posted by Toni Wilen
Normally your VBL routine (if it is added using exec routines) has lower priority than OS routine that sets POTGO "incorrectly". You can also try using very high priority for your VBL routine.
|
Thanks for the tip - does anyone happen to have info on how to set the priority?