Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 2166 → Rev 2167

/kernel/trunk/kernel.asm
922,7 → 922,7
and al,00000010b
loopnz @b
 
; mov al, 0xED ; svetodiody - only for testing!
; mov al, 0xED ; Keyboard LEDs - only for testing!
; call kb_write
; call kb_read
; mov al, 111b
992,28 → 992,7
jne .bll1
end if
 
; mov [ENABLE_TASKSWITCH],byte 1 ; multitasking enabled
 
; UNMASK ALL IRQ'S
 
; mov esi,boot_allirqs
; call boot_log
;
; cli ;guarantee forbidance of interrupts.
; mov al,0 ; unmask all irq's
; out 0xA1,al
; out 0x21,al
;
; mov ecx,32
;
; ready_for_irqs:
;
; mov al,0x20 ; ready for irqs
; out 0x20,al
; out 0xa0,al
;
; loop ready_for_irqs ; flush the queue
 
stdcall attach_int_handler, 1, irq1, 0
 
; mov [dma_hdd],1
1158,8 → 1137,9
 
set_variables:
 
mov ecx,0x100 ; flush port 0x60
.fl60: in al,0x60
mov ecx,0x16 ; flush port 0x60
.fl60:
in al,0x60
loop .fl60
push eax
 
4126,8 → 4106,6
ret
end if
 
 
 
sys_msg_board_str:
 
pushad