References:
- flatassembler - linking fasm prog to libc using ld? - https://board.flatassembler.net/topic.php?t=10321&view=next
- nakst - gf - https://github.com/nakst/gf
- Félix Cloutier - x86 and amd64 instruction reference - https://www.felixcloutier.com/x86/
- Wikipedia - Two's Complement - https://en.wikipedia.org/wiki/Two%27s_complement
- Ben Eater - Twos complement: Negative numbers in binary - https://www.youtube.com/watch?v=4qH4unVtJkE
- Tsoding - fasm-raylib-simd - https://github.com/tsoding/fasm-raylib-simd
Support:
- BTC: bc1qj820dmeazpeq5pjn89mlh9lhws7ghs9v34x9v9
- Servers: https://zap-hosting.com/en/shop/donation/2038e94867b5e65cab2e72abf8ad956c/
Chapters:
- 00:00:00 - Announcement
- 00:00:36 - Intro
- 00:02:31 - Linking with libc
- 00:07:26 - Linking with raylib
- 00:14:53 - ClearBackground
- 00:17:01 - .note.GNU-stack
- 00:19:02 - DrawRectangle
- 00:23:30 - Call Convention
- 00:33:55 - Position
- 00:36:45 - Floating Points
- 00:44:46 - DrawRectangleV
- 01:21:01 - Velocity
- 01:59:32 - Broadcasting
- 02:25:31 - Border Bouncing
- 02:30:12 - Branchless Code
- 02:37:20 - Memory Alignment
- 02:47:10 - Branchless Border Bouncing
- 02:54:39 - Top-Left Borders
- 03:28:46 - Bottom-Right Borders
- 03:36:46 - Second Rectangle for Free
- 03:41:47 - Troubleshooting the Bug
- 03:46:33 - Outro