Subversion Repositories Kolibri OS

Rev

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

Rev 4741 Rev 4772
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: 4741 $
74
$Revision: 4772 $
Line 697... Line 697...
697
        call    boot_log
697
        call    boot_log
698
; Initialize system timer (IRQ0)
698
; Initialize system timer (IRQ0)
699
        call    PIT_init
699
        call    PIT_init
Line 700... Line 700...
700
 
700
 
701
; Register ramdisk file system
701
; Register ramdisk file system
702
        mov     esi, boot_initramdisk
702
        cmp     [boot_dev+OS_BASE+0x10000], 1
703
        call    boot_log
-
 
Line -... Line 703...
-
 
703
        je      @f
-
 
704
 
-
 
705
        call    register_ramdisk
704
        call    ramdisk_init
706
;--------------------------------------
705
 
707
@@:
706
        mov     esi, boot_initapic
708
        mov     esi, boot_initapic
707
        call    boot_log
709
        call    boot_log
Line 785... Line 787...
785
;-----------------------------------------------------------------------------
787
;-----------------------------------------------------------------------------
786
; initialisation IDE ATA code
788
; initialisation IDE ATA code
787
;-----------------------------------------------------------------------------
789
;-----------------------------------------------------------------------------
788
include 'detect/init_ata.inc'
790
include 'detect/init_ata.inc'
789
;-----------------------------------------------------------------------------
791
;-----------------------------------------------------------------------------
790
        mov     esi, boot_init_sys
-
 
791
        call    boot_log
-
 
792
        call    Parser_params
-
 
793
 
-
 
794
if ~ defined extended_primary_loader
-
 
795
; ramdisk image should be loaded by extended primary loader if it exists
-
 
796
; READ RAMDISK IMAGE FROM HD
-
 
797
 
-
 
798
;!!!!!!!!!!!!!!!!!!!!!!!
-
 
799
include 'boot/rdload.inc'
-
 
800
;!!!!!!!!!!!!!!!!!!!!!!!
-
 
801
end if
-
 
802
 
-
 
803
if 0
792
if 0
804
        mov     ax, [OS_BASE+0x10000+bx_from_load]
793
        mov     ax, [OS_BASE+0x10000+bx_from_load]
805
        cmp     ax, 'r1'; if using not ram disk, then load librares and parameters {SPraid.simba}
794
        cmp     ax, 'r1'; if using not ram disk, then load librares and parameters {SPraid.simba}
806
        je      no_lib_load
795
        je      no_lib_load