Skip to content

Instantly share code, notes, and snippets.

View marcoramilli's full-sized avatar

Marco marcoramilli

View GitHub Profile
@marcoramilli
marcoramilli / boot.asm
Last active August 28, 2019 13:35
bootloader.img
.code16 # use 16 bits
.global main
main:
mov $0x0002, %ax
int $0x10 #set 80x25 text mode
mov $0x0700, %ax
mov $0x0f, %bh
mov $0x184f, %dx