Atari ST wakestate detection
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Wakestate detect v1.0 by Troed/SYNC

As promised during my overscan and sync scroll talk at STNICCC 2015:

Here's a piece of code to detect which wakestate the machine is currently in. It's done using a specially crafted scanline which due to the combination and position of GLUE frequency and resolution register changes creates a scanline of different length in ST wakestate 1,2,3,4 as well as on STE.

Feel free to include _detect_ws in your own code.

More information on how this works here: