bitmaps and rasterization in x86 assembly | SCHIZONE EP-12
xmdi
12th video in a series on scientific computing from scratch using x86-64 assembly. This video describes bitmap images and rasterization.
code: https://github.com/xmdi/SCHIZONE
6 good resources:
.bmp file format: https://en.wikipedia.org/wiki/BMP_file_format
line rasterization algorithm: https://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm#Algorithm_for_integer_arithmetic
circle rasterization algorithm: https://en.wikipedia.org/wiki/Midpoint_circle_algorithm#Variant_with_integer-based_arithmetic
x86 instruction reference: https://www.felixcloutier.com/x86/index.html
linux/freebsd syscall concordance: https://www.lurklurk.org/concordance.html
old draft of System-V ABI: https://refspecs.linuxbase.org/elf/x86_64-abi-0.99.pdf
secret discord link: https://discord.gg/yvfcy7pSq ... https://www.youtube.com/watch?v=o7g5ttZPa-Q
151902791 Bytes