Rev 3597 | Rev 3606 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3597 | Rev 3598 | ||
---|---|---|---|
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 | ||
Line 74... | Line 74... | ||
74 | $Revision: 3597 $ |
74 | $Revision: 3598 $ |
Line 5565... | Line 5565... | ||
5565 | cmp byte [BOOT_VAR+0x9030], 1 |
5565 | cmp byte [BOOT_VAR+0x9030], 1 |
5566 | jne @F |
5566 | jne @F |
5567 | ret |
5567 | ret |
5568 | @@: |
5568 | @@: |
5569 | call stop_all_services |
5569 | call stop_all_services |
5570 | push 3 ; stop playing cd |
- | |
5571 | pop eax |
5570 | movi eax, 3 |
5572 | call sys_cd_audio |
5571 | call sys_cd_audio |
Line 5573... | Line 5572... | ||
5573 | 5572 | ||
5574 | yes_shutdown_param: |
5573 | yes_shutdown_param: |
Line 5575... | Line 5574... | ||
5575 | cli |
5574 | cli |
5576 | 5575 | ||
5577 | if ~ defined extended_primary_loader |
- | |
5578 | mov eax, kernel_file ; load kernel.mnt to 0x7000:0 |
5576 | if ~ defined extended_primary_loader |
5579 | push 12 |
5577 | mov eax, kernel_file ; load kernel.mnt to 0x7000:0 |
5580 | pop esi |
5578 | movi esi, 12 |
5581 | xor ebx, ebx |
5579 | xor ebx, ebx |
5582 | or ecx, -1 |
5580 | or ecx, -1 |