Subversion Repositories Kolibri OS

Rev

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

Rev 444 Rev 455
Line 11... Line 11...
11
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
11
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 12... Line 12...
12
 
12
 
13
 
13
 
14
align 32
14
align 32
15
irq0:
15
irq0:
16
        pushfd
16
   ;     pushfd
17
        pushad
17
        pushad
18
        mov   ax, app_data  ;
18
        mov   ax, app_data  ;
Line 38... Line 38...
38
        out   dx,al
38
        out   dx,al
Line 39... Line 39...
39
 
39
 
Line 40... Line 40...
40
        mov   [DONT_SWITCH], byte 0
40
        mov   [DONT_SWITCH], byte 0
41
 
41
 
42
        popad
42
        popad
Line 43... Line 43...
43
        popfd
43
 ;       popfd
44
        iretd
44
        iretd
Line 58... Line 58...
58
 
58
 
Line 59... Line 59...
59
        call  do_change_task
59
        call  do_change_task
60
 
60
 
61
.return:
61
.return:
62
        popad
62
        popad
Line 63... Line 63...
63
        popfd
63
 ;       popfd
64
        iretd
64
        iretd
Line 195... Line 195...
195
do_change_task:
195
do_change_task:
Line 196... Line 196...
196
 
196
 
197
        shl ebx, 8
197
        shl ebx, 8
198
        add ebx, SLOT_BASE
198
        add ebx, SLOT_BASE
-
 
199
        mov [current_slot], ebx
199
        mov [current_slot], ebx
200
 
200
        shl esi, 8
201
        shl esi, 8
Line 201... Line 202...
201
        add esi, SLOT_BASE
202
        add esi, SLOT_BASE
202
 
203