Rev 8087 | Rev 8091 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8087 | Rev 8089 | ||
---|---|---|---|
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: 8087 $ |
74 | $Revision: 8089 $ |
Line 695... | Line 695... | ||
695 | call boot_log |
695 | call boot_log |
696 | ; Initialize system timer (IRQ0) |
696 | ; Initialize system timer (IRQ0) |
697 | call PIT_init |
697 | call PIT_init |
Line 698... | Line 698... | ||
698 | 698 | ||
699 | ; Register ramdisk file system |
699 | ; Register ramdisk file system |
700 | cmp byte [BOOT.dev], 1 |
700 | cmp [BOOT.rd_load_from], RD_LOAD_FROM_HD ; will be loaded later |
701 | je @f |
- | |
702 | 701 | je @f |
|
703 | mov esi, boot_initramdisk |
702 | cmp [BOOT.rd_load_from], RD_LOAD_FROM_NONE |
704 | call boot_log |
703 | je @f |
705 | call ramdisk_init |
704 | call register_ramdisk |
706 | ;-------------------------------------- |
705 | ;-------------------------------------- |
707 | @@: |
706 | @@: |
708 | mov esi, boot_initapic |
707 | mov esi, boot_initapic |
709 | call boot_log |
708 | call boot_log |
Line 792... | Line 791... | ||
792 | ; initialisation IDE ATA code |
791 | ; initialisation IDE ATA code |
793 | ;----------------------------------------------------------------------------- |
792 | ;----------------------------------------------------------------------------- |
794 | include 'detect/init_ata.inc' |
793 | include 'detect/init_ata.inc' |
795 | ;----------------------------------------------------------------------------- |
794 | ;----------------------------------------------------------------------------- |
796 | if 0 |
795 | if 0 |
797 | mov ax, [BOOT.bx_from_load] |
796 | mov ax, [BOOT.sys_disk] |
798 | cmp ax, 'r1'; if using not ram disk, then load librares and parameters {SPraid.simba} |
797 | cmp ax, 'r1'; if using not ram disk, then load librares and parameters {SPraid.simba} |
799 | je no_lib_load |
798 | je no_lib_load |
Line 800... | Line 799... | ||
800 | 799 | ||
801 | mov esi, boot_loadlibs |
800 | mov esi, boot_loadlibs |