From b36819773abece358b6edc1cf1ce89c27ba7c61e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Troed=20S=C3=A5ngberg?= Date: Sat, 27 Feb 2016 16:36:47 +0100 Subject: [PATCH] Create README.md --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..658c3aa --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +Wakestate detect v1.0 by Troed/SYNC + +As promised during my overscan and sync scroll talk at STNICCC 2015: +https://www.youtube.com/watch?v=F4WJYyoF1Lk + +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: +http://www.atari-wiki.com/?title=ST_STE_Scanlines