Skip to content

Instantly share code, notes, and snippets.

View jsmp's full-sized avatar
🎯
Focusing

João Sampaio jsmp

🎯
Focusing
View GitHub Profile
@jsmp
jsmp / paint.asm
Last active June 11, 2022 21:17
paint.asm
; nasm -f bin paint.asm -o paint.bmp
; As almost seen in https://github.com/PixelsCamp/talks/blob/master/2020/meet-the-natives_joao_sampaio.md
; Header Structures
struc FileHeader ; 14 bytes
.bfType: RESW 1
.bfSize: RESD 1
.bfReserved: RESD 1
.bfOffBits: RESD 1

Keybase proof

I hereby claim:

  • I am jsmp on github.
  • I am joaosampaio (https://keybase.io/joaosampaio) on keybase.
  • I have a public key ASAtUJl1RAb9ZWIRP9Z5QKHqE9s2nitIYcfr10ibFV2VvAo

To claim this, I am signing this object:

# Use the GENERIC as a Base
include GENERIC
ident CLOUDSTATIC
# VNET/VImage support and Resource Limit
options VIMAGE # virtualized network stack
options RACCT # resource limits
options RCTL # resource containers
options IPFIREWALL # enables IPFW