bootgame1
annotate boot.asm @ 0:81facff3a8ae
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 07 Jun 2017 08:56:42 +0300 |
parents | |
children | 48755f08211a |
rev | line source |
---|---|
nuclear@0 | 1 start: |
nuclear@0 | 2 mov ax, 0x13 |
nuclear@0 | 3 int 0x10 |
nuclear@0 | 4 push word 0xa000 |
nuclear@0 | 5 pop es |
nuclear@0 | 6 |
nuclear@0 | 7 mainloop: |
nuclear@0 | 8 xor di, di |
nuclear@0 | 9 mov ax, 0x0202 |
nuclear@0 | 10 mov cx, 32000 |
nuclear@0 | 11 rep stosw |
nuclear@0 | 12 |
nuclear@0 | 13 jmp mainloop |
nuclear@0 | 14 |
nuclear@0 | 15 resb 510 - ($ - start) |
nuclear@0 | 16 db 0x55, 0xaa |