View Single Post
Old 05 September 2014, 14:38   #13
hukka
Wolf-bear thing
 
hukka's Avatar
 
Join Date: Jan 2014
Location: Finland
Age: 41
Posts: 56
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 View Post
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?
hukka is offline  
 
Page generated in 0.07154 seconds with 11 queries