I was bored, couldn't log into msn, so i made a completely useless mbr boot sector code. It outputs "Youre a fag" and makes an L shaped rainbow. Don't take the code personally, i was just really bored ;S
[ASM (NASM)] start: mov ax, 07C0h add ax, 288 mov ss, ax mov sp, 4096 mov ax, 07C0h mov - Pastebin.com
and for those who do not like hilighting:
Code:start: mov ax, 07C0h add ax, 288 mov ss, ax mov sp, 4096 mov ax, 07C0h mov ds, ax mov al, 13h mov ah, 0 int 10h mov dx, 20 mov cx, 10 mov al, 1100b mov ah, 0ch pxs: cmp dx, 50 jnz draw1 inc cx cmp cx, 50 jnz draw jmp pxe draw: int 10h inc al jmp pxs draw1: inc dx jmp draw pxe: mov si, offset item call print jmp $ item db 'Youre a Fag!1!!1!1!1!1111!11!one!1', 0 print: mov ah, 0Eh .rep: lodsb cmp al, 0 je .done int 10h jmp .rep .done: ret dw 0xAA55 ;Standard PC boot signature



Reply With Quote![[ASM] Boot sector code](http://ragezone.com/hyper728.png)

