flat assembler
Message board for the users of flat assembler.

Index > IDE Development > prepare_vselection_line:

Author
Thread Post new topic Reply to topic
ouadji



Joined: 24 Dec 2008
Posts: 1081
Location: Belgium
ouadji
Code:
ASMEDIT.INC
-----------
    prepare_vselection_line:
   push    eax ecx
     mov     edi,ebx ;<------------- useless because "A"
    mov     ecx,edx
     sub     ecx,eax
     lea     edi,[ebx+eax] ;<------- "A"
    mov     al,80h
      rep     stosb
       add     ebx,[screen_width]
  pop     ecx eax
     loop    prepare_vselection_line
     jmp     screen_prepared
    prepare_hsel:
    

This is certainly not to annoy Mr Tomasz.
just one tiny flaw ... but why keep it!

_________________
I am not young enough to know everything (Oscar Wilde)- Image
Post 12 Jul 2010, 21:53
View user's profile Send private message Send e-mail Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.