commit bc50fa7d1726b33c770a27dce33da5705059f340
parent 6a959e258e9d4fb132c9c8384e7b3dc57abf86ab
Author: Léo Villeveygoux <l@vgx.fr>
Date: Wed, 15 Apr 2020 20:10:01 +0200
Add GLFW info in README.md
Diffstat:
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
@@ -27,6 +27,17 @@ make MEDIA=raylib
cc chip8.c media-raylib.c -o chip8 $(pkg-config --cflags --libs raylib)
~~~
+Using [GLFW](https://www.glfw.org/) and
+[OpenGL ES](https://www.khronos.org/opengles/) 2.0:
+
+~~~sh
+# with GNU make
+make MEDIA=glfw
+
+# Or directly
+cc chip8.c media-glfw.c -o chip8 -lglfw -lGLESv2
+~~~
+
Run
---
@@ -44,7 +55,8 @@ Run the emulator:
Details
-------
-* CHIP-8 pixels are diplayed as 16px × 16px squares on screen (opens a 1024×512 window).
+* CHIP-8 pixels are diplayed as 16px × 16px squares on screen
+ (opens a 1024×512 window, resizable only in the GLFW implementation).
* Background color is pure black, foreground color is pure white.
* Buzzer uses a 440Hz saw wave.
* To quit, just close the window (or press *Escape* using the Raylib implementation).