Subversion Repositories Kolibri OS

Rev

Rev 7899 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7899 Rev 9885
Line 37... Line 37...
37
    jne     check_parameters
37
    jne     check_parameters
Line 38... Line 38...
38
 
38
 
39
no_params:
39
no_params:
Line -... Line 40...
-
 
40
    call    find_north_bridg
-
 
41
 
-
 
42
    test    dword[bd_id], -1 ; check zero
-
 
43
    jnz     drawwindow
-
 
44
 
-
 
45
controller_not_found:
-
 
46
        push    .notify
-
 
47
        dec     esp
-
 
48
        push    0
-
 
49
        push    0
-
 
50
        push    .error_message
-
 
51
        push    0
-
 
52
        push    dword 7 ;SSF_START_APP
-
 
53
 
-
 
54
        mcall   70, esp
-
 
55
        add     esp, 6*4 + 1
-
 
56
        mcall   -1
-
 
57
.error_message:
-
 
58
    db  '"KBD\nController not found" -tdE',0
-
 
59
.notify:
40
    call    find_north_bridg
60
    db  '/sys/@notify',0
41
 
61
 
42
drawwindow:
62
drawwindow:
43
      mov  eax,48
63
      mov  eax,48
44
      mov  ebx,3
64
      mov  ebx,3
Line 547... Line 567...
547
;******************************************************************************
567
;******************************************************************************
Line 548... Line 568...
548
 
568
 
Line 549... Line 569...
549
boot_bd_enable:
569
boot_bd_enable:
-
 
570
 
-
 
571
   call    find_north_bridg
-
 
572
   test    dword[bd_id], -1 ; check zero
550
 
573
   jz      controller_not_found
551
   call    find_north_bridg
574
 
Line 552... Line 575...
552
   call    set_bd_stat
575
   call    set_bd_stat