Rev 1074 | Rev 1081 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1074 | Rev 1077 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2008. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2008. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 1074 $ |
8 | $Revision: 1077 $ |
9 | 9 | ||
Line 989... | Line 989... | ||
989 | f68call: |
989 | f68call: |
990 | dd f68.11 |
990 | dd f68.11 |
991 | dd f68.12 |
991 | dd f68.12 |
992 | dd f68.13 |
992 | dd f68.13 |
993 | dd f68.14 |
993 | dd f68.14 |
994 | dd f68.15 |
994 | dd f68.fail ;moved to f68.24 |
995 | dd f68.16 |
995 | dd f68.16 |
996 | dd f68.17 |
996 | dd f68.17 |
997 | dd f68.18 |
997 | dd f68.fail ;moved to f68.25 |
998 | dd f68.19 |
998 | dd f68.19 |
999 | dd f68.20 |
999 | dd f68.20 |
1000 | dd f68.21 |
1000 | dd f68.21 |
1001 | dd f68.22 |
1001 | dd f68.22 |
1002 | dd f68.23 |
1002 | dd f68.23 |
- | 1003 | dd f68.24 |
|
- | 1004 | dd f68.25 |
|
Line 1003... | Line 1005... | ||
1003 | 1005 | ||
1004 | align 4 |
1006 | align 4 |
1005 | f68: |
1007 | f68: |
1006 | cmp eax,4 |
1008 | cmp eax,4 |
Line 1007... | Line 1009... | ||
1007 | jle sys_sheduler |
1009 | jle sys_sheduler |
1008 | 1010 | ||
Line 1009... | Line 1011... | ||
1009 | cmp eax, 11 |
1011 | cmp eax, 11 |
1010 | jb .fail |
1012 | jb .fail |
Line 1011... | Line 1013... | ||
1011 | 1013 | ||
1012 | cmp eax, 23 |
1014 | cmp eax, 25 |
1013 | ja .fail |
1015 | ja .fail |
Line 1030... | Line 1032... | ||
1030 | jae .fail |
1032 | jae .fail |
1031 | mov edi,ebx |
1033 | mov edi,ebx |
1032 | call get_event_ex |
1034 | call get_event_ex |
1033 | mov [esp+36], eax |
1035 | mov [esp+36], eax |
1034 | ret |
1036 | ret |
1035 | .15: |
1037 | .24: |
1036 | mov eax, [current_slot] |
1038 | mov eax, [current_slot] |
1037 | xchg ebx, [eax+APPDATA.exc_handler] |
1039 | xchg ebx, [eax+APPDATA.exc_handler] |
1038 | xchg ecx, [eax+APPDATA.except_mask] |
1040 | xchg ecx, [eax+APPDATA.except_mask] |
1039 | mov [esp+36], ebx ; reg_eax+8 |
1041 | mov [esp+36], ebx ; reg_eax+8 |
1040 | mov [esp+24], ecx ; reg_ebx+8 |
1042 | mov [esp+24], ecx ; reg_ebx+8 |
Line 1049... | Line 1051... | ||
1049 | ret |
1051 | ret |
1050 | .17: |
1052 | .17: |
1051 | call srv_handlerEx ;ebx |
1053 | call srv_handlerEx ;ebx |
1052 | mov [esp+36], eax |
1054 | mov [esp+36], eax |
1053 | ret |
1055 | ret |
1054 | .18: |
1056 | .25: |
1055 | mov eax, [current_slot] |
1057 | mov eax, [current_slot] |
1056 | btr [eax+APPDATA.except_mask],ebx |
1058 | btr [eax+APPDATA.except_mask],ebx |
1057 | setc byte[esp+36] |
1059 | setc byte[esp+36] |
1058 | jecxz @f |
1060 | jecxz @f |
1059 | bts [eax+APPDATA.except_mask],ebx |
1061 | bts [eax+APPDATA.except_mask],ebx |