Created
September 3, 2020 02:03
-
-
Save TJesionowski/bd2c7f8d6c7811629d8a6025a33e96ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 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