View Single Post
Old 01 August 2021, 17:27   #12
LeCaravage
Registered User
 
LeCaravage's Avatar
 
Join Date: May 2017
Location: AmigaLand
Posts: 459
@ross : hehe, no doubt, I learn a lot there. I wonder how many cycles cpu takes to switch to supervisor and reverse at exit.

@a/b : CIA is the way to go I guess, because I use a copper lvl 1 irq for vertical sync.

Ok, the pause routine works just fine now. The pb was coming from the fact that I didn't understand how works this keys scan (still I don't to be honest). The flag is set only when the key is pressed down. I assumed it was always when key is down.. So need two flags for pause managment, one for key down and another for switch pause state on/off.

Anyway, thanks @all for help and have a nice sunday.
LeCaravage is offline  
 
Page generated in 0.04237 seconds with 11 queries