flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
DC740 14 Aug 2005, 22:40
fixed, i don't remember right now, but i realised the solution when i was watching tv hehe
![]() i can get this to work... maybe be cause i'm really tired, but i can't find why it s not working macro drawlist x,y,ys,Color,data,ind { xor edi,edi ;set edi to 0 mov edx,data add edx,ind*40 ;this way we draw only from the index mov ebx,x*65536+y ; draw info text with function 4 mov ecx,Color mov esi,40 ;the number of bytes to put on the screen mov eax,4 ;the api number @@: inc edi ;this is a counter to know how many line have we drawn int 0x40 ;draw the line add ebx,10 ;go down a few pixels (another line) add edx,40 ;the next line in the data block cmp byte [edi],ys/10 ;this doesn't work, if i have drawn all the lines i can in the specified y size (ys) it should finish drawing new lines, but it keeps drawing the rest of the data block lines until it finds 0 je @f cmp byte [edx],0 jne @b @@: } please help ![]() good bye |
|||
![]() |
|
DC740 15 Aug 2005, 16:25
again i found the solution by myself, sorry to every one to make oyu lose your time, good bye and happy coding
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.