0 Members and 1 Guest are viewing this topic.
hi,i just started asm some day ago and want hear your opinion.i tried to paint some letters in asm, but its very difficult and it needs alot of math, someone know a easier way?heres the file:
mov ah,9 mov dx,text int 0x21text db 'http://www.dbfinteractive.com/',0x24
Hi,Wellcome on board!Try using int21:Eg.:Code: [Select] mov ah,9 mov dx,text int 0x21text db 'http://www.dbfinteractive.com/',0x24
org 0x100 mov ax,13h int 10h mov ah,0Ch mov al,0 mov cx,1 mov dx,0 int 10h jmp go go: inc dx inc cx int 10h cmp dx,+50 jne go je go2 go2: inc al mov ah,9 mov dx,text int 21h jmp gotext db 'http://www.dbfinteractive.com/',0x24
org 0x100;----------------VGA mode X - 320x200x256kmov al,0x13int 0x10;----------------write our text mov ah,0x02 ; mov bh,0 ; mov dx,0x0105 ; int 0x10 ; cursor position mov ah,9 ; mov dx,text ; int 0x21 ; draw text;--------------------------------------------------;----------------Main program loopMain:; your code here;----------------Loop (While not Escape key)key: in al,0x60 cbw dec ax jnz Main;----------------Return to text modemov al,0x03int 0x10rettext db 'http://www.dbfinteractive.com/',0x24