Subversion Repositories Kolibri OS

Rev

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

Rev 109 Rev 316
Line 36... Line 36...
36
    add word [hor_counter],HC_DELTA
36
    add word [hor_counter],HC_DELTA
37
    call handle_animation
37
    call handle_animation
38
    mov eax,7
38
    mov eax,7
39
    mov ebx,virtual_screen_32
39
    mov ebx,virtual_screen_32
40
    mov ecx,(WND_SIZE_X shl 16)+WND_SIZE_Y
40
    mov ecx,(WND_SIZE_X shl 16)+WND_SIZE_Y
41
    mov edx,(5 shl 16)+23
41
    xor edx,edx
42
    int 0x40
42
    int 0x40
43
    jmp .event_loop
43
    jmp .event_loop
Line 44... Line 44...
44
 
44
 
45
.paint_window:
45
.paint_window:
Line 48... Line 48...
48
    int 0x40
48
    int 0x40
Line 49... Line 49...
49
 
49
 
50
    xor eax,eax
50
    xor eax,eax
51
    mov ebx,(100 shl 16)+(WND_SIZE_X+9)
51
    mov ebx,(100 shl 16)+(WND_SIZE_X+9)
52
    mov ecx,(100 shl 16)+(WND_SIZE_Y+28)
52
    mov ecx,(100 shl 16)+(WND_SIZE_Y+28)
-
 
53
    mov edx,0x33000000
53
    mov edx,0x03000000
54
    mov edi,header
Line 54... Line 55...
54
    int 0x40
55
    int 0x40
55
 
56
 
56
    mov eax,7
57
    mov eax,7
57
    mov ebx,virtual_screen_32
-
 
58
    mov ecx,(WND_SIZE_X shl 16)+WND_SIZE_Y
-
 
59
    mov edx,(5 shl 16)+23
-
 
60
    int 0x40
58
    mov ebx,virtual_screen_32
61
 
-
 
62
    mov eax,4
-
 
63
    mov ebx,0x00060006
-
 
64
    mov ecx,0x10ffffff
-
 
65
    mov edx,window_title
59
    mov ecx,(WND_SIZE_X shl 16)+WND_SIZE_Y
Line 66... Line 60...
66
    mov esi,window_title_len
60
    xor edx,edx
67
    int 0x40
61
    int 0x40
68
 
62
 
Line 164... Line 158...
164
 
158
 
165
DATA
159
DATA
166
  delta_angle dd 0.0245436926066		; pi/128
160
  delta_angle dd 0.0245436926066		; pi/128
Line 167... Line -...
167
  scale_sin dd 128.0
-
 
168
 
161
  scale_sin dd 128.0
169
  window_title:
-
 
Line 170... Line 162...
170
      db 'MoveBack'
162
 
171
  window_title_len = $ - window_title
163
  header      db 'MoveBack',0
172
 
164