Subversion Repositories Kolibri OS

Rev

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

Rev 4713 Rev 4734
Line 69... Line 69...
69
format binary as "mnt"
69
format binary as "mnt"
Line 70... Line 70...
70
 
70
 
71
include 'macros.inc'
71
include 'macros.inc'
Line 72... Line 72...
72
include 'struct.inc'
72
include 'struct.inc'
Line 73... Line 73...
73
 
73
 
74
$Revision: 4713 $
74
$Revision: 4734 $
Line 975... Line 975...
975
;        call  kb_read
975
;        call  kb_read
976
     ;// mike.dld [
976
     ;// mike.dld [
977
        call    set_lights
977
        call    set_lights
978
     ;// mike.dld ]
978
     ;// mike.dld ]
979
        stdcall attach_int_handler, 1, irq1, 0
979
        stdcall attach_int_handler, 1, irq1, 0
980
        DEBUGF  1, "K : IRQ1 error code %x\n", eax
980
        DEBUGF  1, "K : IRQ1 return code %x\n", eax
981
.no_keyboard:
981
.no_keyboard:
Line 982... Line 982...
982
 
982
 
Line 983... Line 983...
983
; Load PS/2 mouse driver
983
; Load PS/2 mouse driver
Line 1040... Line 1040...
1040
end if
1040
end if
Line 1041... Line 1041...
1041
 
1041
 
Line 1042... Line 1042...
1042
        mov     [timer_ticks_enable], 1         ; for cd driver
1042
        mov     [timer_ticks_enable], 1         ; for cd driver
1043
 
-
 
Line 1044... Line 1043...
1044
        sti
1043
 
Line 1045... Line 1044...
1045
        call    mtrr_validate
1044
        sti
Line 1046... Line 1045...
1046
 
1045
 
Line 1131... Line 1130...
1131
        call    Wait_events
1130
        call    Wait_events
1132
        xor     eax, eax
1131
        xor     eax, eax
1133
        xchg    eax, [osloop_nonperiodic_work]
1132
        xchg    eax, [osloop_nonperiodic_work]
1134
        test    eax, eax
1133
        test    eax, eax
1135
        jz      .no_periodic
1134
        jz      .no_periodic
1136
;        call    [draw_pointer]
-
 
-
 
1135
 
1137
        call    __sys_draw_pointer
1136
        call    __sys_draw_pointer
1138
        call    window_check_events
1137
        call    window_check_events
1139
        call    mouse_check_events
1138
        call    mouse_check_events
1140
        call    checkmisc
1139
        call    checkmisc
1141
        call    checkVga_N13
1140
        call    checkVga_N13
-
 
1141
;--------------------------------------
1142
.no_periodic:
1142
.no_periodic:
1143
        call    stack_handler
1143
        call    stack_handler
1144
        call    check_fdd_motor_status
1144
        call    check_fdd_motor_status
1145
        call    check_ATAPI_device_event
1145
        call    check_ATAPI_device_event
1146
        call    check_lights_state
1146
        call    check_lights_state
1147
        call    check_timers
1147
        call    check_timers
-
 
1148
 
1148
        jmp     osloop
1149
        jmp     osloop
1149
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1150
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1150
;                                                                    ;
1151
;                                                                    ;
1151
;                      MAIN OS LOOP END                              ;
1152
;                      MAIN OS LOOP END                              ;
1152
;                                                                    ;
1153
;                                                                    ;