Subversion Repositories Kolibri OS

Rev

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

Rev 139 Rev 485
Line 15... Line 15...
15
 
15
 
Line 16... Line 16...
16
jmps_end:
16
jmps_end:
17
 
17
 
18
key:
18
key:
19
    mov  eax,2
19
    mov  eax,2
20
    int  0x40
20
    mcall
21
    mov  edi,key_codes
21
    mov  edi,key_codes
22
    cmp  ah,48
22
    cmp  ah,48
23
    jb   .jump
23
    jb   .jump
Line 109... Line 109...
109
    call ipc_send
109
    call ipc_send
110
    jmp  red
110
    jmp  red
Line 111... Line 111...
111
 
111
 
112
  button:
112
  button:
113
    mov  eax,17
113
    mov  eax,17
114
    int  0x40
114
    mcall
115
    cmp  ah,20
115
    cmp  ah,20
116
    jb   .nobott
116
    jb   .nobott
117
    cmp  ah,25
117
    cmp  ah,25
118
    ja   .nobott
118
    ja   .nobott
Line 147... Line 147...
147
    call draw_bar
147
    call draw_bar
148
    jmp  still
148
    jmp  still
149
  _close:
149
  _close:
150
    call kill
150
    call kill
151
    or   eax,-1
151
    or   eax,-1
152
    int  0x40
152
    mcall
Line 153... Line 153...
153
 
153
 
154
  bShade:
154
  bShade:
155
    call Shade
155
    call Shade
156
    jmp  still
156
    jmp  still
Line 167... Line 167...
167
  .op:
167
  .op:
168
    mov  ebx,-1
168
    mov  ebx,-1
169
    mov  ecx,ebx
169
    mov  ecx,ebx
170
    mov  edx,ebx
170
    mov  edx,ebx
171
    mov  eax,67
171
    mov  eax,67
172
    int  0x40
172
    mcall
173
    ret
173
    ret
174
  bMinimize:
174
  bMinimize:
175
;    mcall 18,10
175
;    mcall 18,10
176
    jmp  still
176
    jmp  still
177
  bList:
177
  bList:
Line 256... Line 256...
256
  bBar:
256
  bBar:
257
    cmp  [tick_count],0
257
    cmp  [tick_count],0
258
    jz   still
258
    jz   still
259
    mov  eax,37
259
    mov  eax,37
260
    mov  ebx,1
260
    mov  ebx,1
261
    int  0x40
261
    mcall
262
    mov  ebp,[coo]
262
    mov  ebp,[coo]
263
    sub  eax,[ebp-16]
263
    sub  eax,[ebp-16]
264
    shr  eax,16
264
    shr  eax,16
265
    mov  ebx,[tick_count]
265
    mov  ebx,[tick_count]
266
    mul  ebx
266
    mul  ebx