diff --git a/src/start32.asm b/src/start32.asm index f8e5d36..5042d9c 100644 --- a/src/start32.asm +++ b/src/start32.asm @@ -133,6 +133,39 @@ rOSkalogodraw: jne .loop .done: + +xor eax, eax +xor ebx, ebx +xor ecx, ecx +cloop: +push eax ;col +push ebx ;y +push ecx ;x +call putpixel +pop ecx +pop ebx +pop eax + +inc ecx +cmp ecx, VWIDTH +jle cloop + +xor ecx, ecx +inc ebx +cmp ebx, VHEIGHT +jle cloop + +xor ebx, ebx +add eax, 5 +cmp ax, 255 +jle cloop + +xor eax, eax +jmp cloop + + + + jmp hang hang: