Rev 1949 | Rev 1989 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1949 | Rev 1962 | ||
---|---|---|---|
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: 1949 $ |
71 | $Revision: 1962 $ |
Line 636... | Line 636... | ||
636 | include 'detect/disks.inc' |
636 | include 'detect/disks.inc' |
637 | ;!!!!!!!!!!!!!!!!!!!!!!!!!! |
637 | ;!!!!!!!!!!!!!!!!!!!!!!!!!! |
Line 638... | Line 638... | ||
638 | 638 | ||
Line -... | Line 639... | ||
- | 639 | call Parser_params |
|
- | 640 | ||
639 | call Parser_params |
641 | if ~ defined extended_primary_loader |
Line 640... | Line 642... | ||
640 | 642 | ; ramdisk image should be loaded by extended primary loader if it exists |
|
641 | ; READ RAMDISK IMAGE FROM HD |
643 | ; READ RAMDISK IMAGE FROM HD |
642 | 644 | ||
- | 645 | ;!!!!!!!!!!!!!!!!!!!!!!! |
|
643 | ;!!!!!!!!!!!!!!!!!!!!!!! |
646 | include 'boot/rdload.inc' |
644 | include 'boot/rdload.inc' |
647 | ;!!!!!!!!!!!!!!!!!!!!!!! |
Line 645... | Line 648... | ||
645 | ;!!!!!!!!!!!!!!!!!!!!!!! |
648 | end if |
Line 5106... | Line 5109... | ||
5106 | call sys_cd_audio |
5109 | call sys_cd_audio |
Line 5107... | Line 5110... | ||
5107 | 5110 | ||
5108 | yes_shutdown_param: |
5111 | yes_shutdown_param: |
Line -... | Line 5112... | ||
- | 5112 | cli |
|
5109 | cli |
5113 | |
5110 | 5114 | if ~ defined extended_primary_loader |
|
5111 | mov eax, kernel_file ; load kernel.mnt to 0x7000:0 |
5115 | mov eax, kernel_file ; load kernel.mnt to 0x7000:0 |
5112 | push 12 |
5116 | push 12 |
5113 | pop esi |
5117 | pop esi |
Line 5118... | Line 5122... | ||
5118 | 5122 | ||
5119 | mov esi, restart_kernel_4000+OS_BASE+0x10000 ; move kernel re-starter to 0x4000:0 |
5123 | mov esi, restart_kernel_4000+OS_BASE+0x10000 ; move kernel re-starter to 0x4000:0 |
5120 | mov edi,OS_BASE+0x40000 |
5124 | mov edi,OS_BASE+0x40000 |
5121 | mov ecx,1000 |
5125 | mov ecx,1000 |
- | 5126 | rep movsb |
|
Line 5122... | Line 5127... | ||
5122 | rep movsb |
5127 | end if |
5123 | 5128 | ||
5124 | mov esi, BOOT_VAR ; restore 0x0 - 0xffff |
5129 | mov esi, BOOT_VAR ; restore 0x0 - 0xffff |
5125 | mov edi, OS_BASE |
5130 | mov edi, OS_BASE |