Skip to content

Instantly share code, notes, and snippets.

@TJesionowski
Created September 3, 2020 02:03
Show Gist options
  • Save TJesionowski/bd2c7f8d6c7811629d8a6025a33e96ec to your computer and use it in GitHub Desktop.
Save TJesionowski/bd2c7f8d6c7811629d8a6025a33e96ec to your computer and use it in GitHub Desktop.
; cleaner, more efficient implementation of final program shown in https://youtu.be/APiHPkPmwwU
; to execute $ nasm boot.asm -f bin -o boot.bin && qemu-system-x86_64 -drive file=boot.bin,format=raw
mov ah, 0x0e
mov al, 65
int 0x10
loop:
inc al
cmp al, 'Z'
int 0x10
jne loop
jmp $
times 510-($-$$) db 0
db 0x55, 0xaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment