Subversion Repositories Kolibri OS

Rev

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

Rev 339 Rev 485
Line 1... Line 1...
1
macro set_event_mask mask {
1
macro set_event_mask mask {
2
   mov	ebx, mask
2
   mov	ebx, mask
3
   mov	eax, 40
3
   mov	eax, 40
4
   int	0x40
4
   mcall
5
}
5
}
Line 6... Line 6...
6
 
6
 
7
macro wait_for_event {
7
macro wait_for_event {
8
   mov	eax, 10
8
   mov	eax, 10
9
   int	0x40
9
   mcall
Line 10... Line 10...
10
}
10
}
11
 
11
 
12
macro check_for_event {
12
macro check_for_event {
13
   mov	eax, 11
13
   mov	eax, 11
Line 14... Line 14...
14
   int	0x40
14
   mcall
15
}
15
}
16
 
16
 
17
macro wait_for_event_timeout timeout {
17
macro wait_for_event_timeout timeout {
18
   mov	ebx,timeout
18
   mov	ebx,timeout
Line 19... Line 19...
19
   mov	eax, 23
19
   mov	eax, 23
20
   int	0x40
20
   mcall