tabs/bootloader/test_kernel.asm
2019-12-28 16:44:11 +01:00

9 lines
No EOL
209 B
NASM

[bits 32]
mov byte [ds:0B8000h], 0h ; Move the ASCII-code of 'P' into first video memory
mov byte [ds:0B8001h], 0h ; Assign a color code
.loop:
inc byte [ds:0B8000h]
inc byte [ds:0B8001h]
jmp .loop