View Single Post
Old 09 June 2016, 09:04   #34
alpine9000
Registered User
 
Join Date: Mar 2016
Location: Australia
Posts: 881
Quote:
Originally Posted by Asman View Post
@alpine9000
I don't catch this. Why you must store and restore the system clock ? I never do that in my DisableOs routine. Also I don't see that you takeover blitter in proper way, mean about graphics.library calls like OwnBlitter and DisownBlitter, or I'm missing something.
I guess because I disable all interrupts and use only two custom interrupt handlers, the CIA timer interrupt will not be called and the system clock is not updated? This thread has all the info I know about it.

As for the blitter ownership, I am not really sure about this either as I just used Photon's startup code which doesn't do it. I had read in HowToCode5.txt they recommend you Own/Disown blitter but as it seemed to work fine without it I didn't add it in. I wonder if it's possible you only need to OwnBlitter if you leave process scheduling enabled ?
alpine9000 is offline  
 
Page generated in 0.16342 seconds with 11 queries