Subversion Repositories Kolibri OS

Rev

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

Rev 2104 Rev 2112
Line 66... Line 66...
66
;;
66
;;
67
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
67
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 68... Line 68...
68
 
68
 
Line 69... Line 69...
69
include 'macros.inc'
69
include 'macros.inc'
Line 70... Line 70...
70
 
70
 
Line 71... Line 71...
71
$Revision: 2104 $
71
$Revision: 2112 $
Line 559... Line 559...
559
           call init_events
559
           call init_events
560
           mov eax, srv.fd-SRV_FD_OFFSET
560
           mov eax, srv.fd-SRV_FD_OFFSET
561
           mov [srv.fd], eax
561
           mov [srv.fd], eax
562
           mov [srv.bk], eax
562
           mov [srv.bk], eax
Line 563... Line -...
563
 
-
 
564
           mov edi, irq_tab
-
 
565
           xor eax, eax
-
 
566
           mov ecx, 16
-
 
567
           rep stosd
-
 
568
 
563
 
569
;Set base of graphic segment to linear address of LFB
564
;Set base of graphic segment to linear address of LFB
570
        mov     eax,[LFBAddress]          ; set for gs
565
        mov     eax,[LFBAddress]          ; set for gs
571
        mov     [graph_data_l+2],ax
566
        mov     [graph_data_l+2],ax
572
        shr     eax,16
567
        shr     eax,16
Line 600... Line 595...
600
        mov     ecx, 0x10000/32
595
        mov     ecx, 0x10000/32
601
        rep     stosd
596
        rep     stosd
Line 602... Line 597...
602
 
597
 
Line -... Line 598...
-
 
598
; REDIRECT ALL IRQ'S TO INT'S 0x20-0x2f
603
; REDIRECT ALL IRQ'S TO INT'S 0x20-0x2f
599
 
Line 604... Line 600...
604
 
600
        call  init_irqs
605
        call  rerouteirqs
601
        call  rerouteirqs
Line 722... Line 718...
722
 
718
 
723
        mov   esi,boot_resirqports
719
        mov   esi,boot_resirqports
724
        call  boot_log
720
        call  boot_log
Line 725... Line -...
725
        call  reserve_irqs_ports
-
 
726
 
-
 
727
; SET PORTS FOR IRQ HANDLERS
-
 
728
 
-
 
729
        ;mov  esi,boot_setrports
-
 
730
        ;call boot_log
-
 
731
        ;call setirqreadports
721
        call  reserve_irqs_ports
Line 732... Line 722...
732
 
722
 
733
; SET UP OS TASK
723
; SET UP OS TASK
Line 985... Line 975...
985
 
975
 
Line 986... Line 976...
986
end if
976
end if
Line -... Line 977...
-
 
977
 
987
 
978
; START MULTITASKING
988
; START MULTITASKING
979
 
989
 
980
; A 'All set - press ESC to start' messages if need
990
if preboot_blogesc
981
if preboot_blogesc
991
        mov     esi, boot_tasking
982
        mov     esi, boot_tasking
Line 2300... Line 2291...
2300
;// mike.dld, 2006-29-01 ]
2291
;// mike.dld, 2006-29-01 ]
2301
window_minimize db 0
2292
window_minimize db 0
2302
sound_flag      db 0
2293
sound_flag      db 0
2303
endg
2294
endg
Line -... Line 2295...
-
 
2295
 
-
 
2296
UID_NONE=0
-
 
2297
UID_MENUETOS=1   ;official
-
 
2298
UID_KOLIBRI=2    ;russian
2304
 
2299
 
2305
iglobal
2300
iglobal
2306
version_inf:
2301
version_inf:
2307
  db 0,7,7,0  ; version 0.7.7.0
2302
  db 0,7,7,0  ; version 0.7.7.0
2308
  db 0		;reserved
2303
  db UID_KOLIBRI
2309
  dd __REV__
2304
  dd __REV__
2310
version_end:
2305
version_end:
Line 2311... Line 2306...
2311
endg
2306
endg