Skip to content

Instantly share code, notes, and snippets.

View charlesastaylor's full-sized avatar
🏠
Working from home

Charles Taylor charlesastaylor

🏠
Working from home
View GitHub Profile
;
; Doom Fire!
; Reference - https://fabiensanglard.net/doom_fire_psx/index.html
;
; @TODO:
; - Maybe fix wrapping of flames? Not sure if its flame buffer or screen buffer or how even, but it def wraps!
;
BITS 64
;RIP relative addressing by default. The other option is ABS. But if use ABS I get link errors. :shrug:
@charlesastaylor
charlesastaylor / -sna86.asm
Last active March 11, 2024 23:54
8086 assembly snake game!
; -------------------------------------------------------------------
; Sna86.
; An 8086 simulator snake!
; -------------------------------------------------------------------
;
; Assembly program intended to run in an 8086 simulator with functionaliy equal* to one made for homeworks
; up to Part 1 Episode 10 of the Peformance-Aware Programming Series (https://www.computerenhance.com/)
; by Casey Muratori. Demo - https://youtu.be/s_S4-QHeFMc.
;
; * mov, add, sub, cmp, je and jne was the target instructions. However I also added loop for convenience,