Subversion Repositories Kolibri OS

Rev

Rev 485 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 485 Rev 2196
Line 149... Line 149...
149
 
149
 
Line 150... Line 150...
150
  redraw:
150
  redraw:
Line 151... Line -...
151
 
-
 
152
    DEBUGF 1,'Drawing window\n'
-
 
153
 
151
 
Line 154... Line 152...
154
    mov     eax,12
152
    DEBUGF 1,'Drawing window\n'
155
    mov     ebx,1
153
 
156
    mcall
154
    mcall 12, 1
157
 
155
 
158
    mov     eax,0		      ; draw window
156
    mov     eax,0		      ; draw window
159
    mov     ebx,dword[framebuffer]
157
    mov     ebx,dword[framebuffer]
160
    bswap   ebx
158
    bswap   ebx
161
    movzx   ecx,bx
159
    movzx   ecx,bx
162
    shr     ebx,16
160
    shr     ebx,16
Line 163... Line 161...
163
    add     ebx,2*xpos
161
    add     ebx,2*xpos
164
    add     ecx,ypos+xpos
162
    add     ecx,ypos+xpos
165
    mov     edx,0x03ffffff
163
    mov     edx,0xffffff
Line 173... Line 171...
173
    bswap   esi
171
    bswap   esi
174
    mcall
172
    mcall
Line 175... Line 173...
175
 
173
 
Line 176... Line -...
176
    call    drawbuffer
-
 
177
 
-
 
178
    mov     eax,12
174
    call    drawbuffer
Line 179... Line 175...
179
    mov     ebx,2
175
 
Line 180... Line 176...
180
    mcall
176
    mcall 12, 2