Subversion Repositories Kolibri OS

Rev

Rev 9 | Rev 11 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9 Rev 10
Line 280... Line 280...
280
        call   writehex
280
        call   writehex
Line 281... Line 281...
281
        
281
        
282
        mov    eax,[0x3000]
282
        mov    eax,[0x3000]
283
        shl    eax,8
283
        shl    eax,8
-
 
284
        cmp    [0x80000+eax+0xB0],byte 0
284
        cmp    [0x80000+eax+0xB0],byte 0
285
        jz     @f
-
 
286
        mov    esi,system_error
-
 
287
        call   sys_msg_board_str
285
        jnz    .system_error
288
      @@:
286
 
289
        
287
        mov    eax,[0x3000]
290
        mov    eax,[0x3000]
288
        imul   eax,tss_step
291
        imul   eax,tss_step
289
        mov    eax,[eax+tss_data+l.eip-tss_sceleton]
292
        mov    eax,[eax+tss_data+l.eip-tss_sceleton]
290
.out_eip:        
293
 
291
        mov    [write_error_to],process_eip+43
294
        mov    [write_error_to],process_eip+43
Line 292... Line 295...
292
        call   writehex
295
        call   writehex
293
 
296
 
Line 299... Line 302...
299
 
302
 
300
        mov    esi,process_eip
303
        mov    esi,process_eip
Line 301... Line 304...
301
        call   sys_msg_board_str
304
        call   sys_msg_board_str
302
 
-
 
303
        ret
-
 
304
        
-
 
305
.system_error:
-
 
306
        mov    esi,system_error
-
 
307
        call   sys_msg_board_str
-
 
308
        mov    eax,[0x3000]
-
 
309
        shl    eax,7
-
 
310
        mov    eax,[eax+0x298000+l.eip-tss_sceleton]
-
 
Line 311... Line 305...
311
        jmp    .out_eip        
305
 
Line 312... Line 306...
312
 
306
        ret
313
 
307
 
314
 
308
 
315
 
309
 
316
; irq1  ->  hid/keyboard.inc
310
; irq1  ->  hid/keyboard.inc
317
 
311
 
318
 
312
 
319
macro irqhh [num]
313
macro irqh [num]
Line 320... Line 314...
320
{
314
{
Line 321... Line 315...
321
  forward
315
  forward
322
  p_irq#num :
316
  p_irq#num :
323
     pushad
317
     pushad
324
     mov   edi, num
318
     mov   edi, num
Line 357... Line 351...
357
     pop   es ds
351
     pop   es ds
358
     popad
352
     popad
359
     iret
353
     iret
Line 360... Line -...
360
 
-
 
361
 
354
 
Line 362... Line 355...
362
 
355
 
Line 363... Line 356...
363
irqhandler:
356
irqhandler: