https://github.com/zschzen/glasm
A simple OpenGL 1.1 triangle renderer written in NASM
https://github.com/zschzen/glasm
assembly glfw nasm opengl11
Last synced: 10 months ago
JSON representation
A simple OpenGL 1.1 triangle renderer written in NASM
- Host: GitHub
- URL: https://github.com/zschzen/glasm
- Owner: zschzen
- License: zlib
- Created: 2025-08-13T18:41:59.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-13T21:07:39.000Z (11 months ago)
- Last Synced: 2025-08-13T21:22:49.361Z (11 months ago)
- Topics: assembly, glfw, nasm, opengl11
- Language: Assembly
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

### `OpenGL-ASM x64 NASM Project (GLASM)`
[![License][license-badge]][LICENSE]
[](https://github.com/zschzen/GLASM/actions/workflows/macos_x64.yml)
[](https://github.com/zschzen/GLASM/actions/workflows/linux_x64.yml)
Simple OpenGL demo rendering a triangle using GLFW and NASM assembly.
## Features
- Cross-platform support (macOS/Linux?/Windows?)
- GLFW window management
- Window resize handling
- Interactive keyboard controls
- Colored triangle rendering
> [!WARNING]
> Windows and Linux support are currently untested
## Requirements
- **Assembler**: [NASM](https://github.com/netwide-assembler/nasm.git) (v2.15+)
- **Linker**: [GCC](https://gcc.gnu.org/)
- **Dependencies**:
- [GLFW](https://www.glfw.org/)
- [OpenGL](https://www.opengl.org/)
## Build Instructions
```bash
make
```
Output will be in `build/GLASM` (or `GLASM.exe` on Windows)
## Run
```bash
./build/GLASM
```
## Clean Build
```bash
make clean
```
## Controls
- **ESC**: Exit application
## License
zlib/libpng License - See [LICENSE] file for details
---
[//]: (Externals)
[license-badge]: https://img.shields.io/github/license/zschzen/GLASM
[LICENSE]: https://github.com/zschzen/GLASM/blob/main/LICENSE
[//]: (EOF)