View Single Post
Old 14 February 2021, 08:32   #14
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,344
Quote:
Originally Posted by orangespider View Post
However, I couldn't find any way to find out if I am in PAL or NTSC. Alternatively something that gives the cycles/second could work as well, since then I would just send cycles/second to the function and it would still work. The only thing I was able to find is to read VBlankFrequency and check if it's 50 or 60. But this won't work for doublescan resolutions or custom resolutions, I am not interested in the screen framerate, I want to know the number of cycles per second.
If running under Kickstart 2.0 or later you can check the EClockFrequency field in ExecBase.
mark_k is offline  
 
Page generated in 0.04789 seconds with 11 queries