Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1 KB

README.md

File metadata and controls

27 lines (16 loc) · 1 KB

NASM/GoLink OpenGL 1k Framework

Tiny OpenGL fragment shader

This is a port of Jeff "drift" Symons Visual Studio OpenGL 1k Framework in x86 Assembly using NASM/GoLink.

The purpose of this project was to build a tiny binary being able to play OpenGL fragment shader and play music in the background. I tried to save a couple bytes by re-using registers a lot, source is documented.

Features:

Following Jeff "drift" Symons project:

  • OpenGL fragment shader (plasma)
  • MIDI ambient noise
  • 2,560 bytes unpacked compiled binary

This is a Windows project, Makefile and code have been created for NASM/GoLink.

Screenshot:

Plasma fragment shader

Reference:

Jeff "drift" Symons Visual Studio OpenGL 1k Framework on pouet.net

NASM

GoLink