Subversion Repositories Kolibri OS

Rev

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

Rev 1675 Rev 1942
Line 55... Line 55...
55
;;
55
;;
56
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
56
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 57... Line 57...
57
 
57
 
Line 58... Line 58...
58
include 'macros.inc'
58
include 'macros.inc'
Line 59... Line 59...
59
 
59
 
Line 60... Line 60...
60
$Revision: 1675 $
60
$Revision: 1942 $
Line 625... Line 625...
625
include 'detect/disks.inc'
625
include 'detect/disks.inc'
626
;!!!!!!!!!!!!!!!!!!!!!!!!!!
626
;!!!!!!!!!!!!!!!!!!!!!!!!!!
Line 627... Line 627...
627
 
627
 
Line 628... Line -...
628
  call Parser_params
-
 
629
 
-
 
630
; READ RAMDISK IMAGE FROM HD
-
 
631
 
-
 
632
;!!!!!!!!!!!!!!!!!!!!!!!
-
 
633
include 'boot/rdload.inc'
628
  call Parser_params
634
;!!!!!!!!!!!!!!!!!!!!!!!
629
 
Line 635... Line 630...
635
;    mov    [dma_hdd],1
630
;    mov    [dma_hdd],1
Line 5095... Line 5090...
5095
           call sys_cd_audio
5090
           call sys_cd_audio
Line 5096... Line 5091...
5096
 
5091
 
5097
yes_shutdown_param:
5092
yes_shutdown_param:
Line 5098... Line -...
5098
           cli
-
 
5099
 
-
 
5100
           mov  eax, kernel_file ; load kernel.mnt to 0x7000:0
-
 
5101
           push 12
-
 
5102
           pop  esi
-
 
5103
           xor  ebx,ebx
-
 
5104
           or   ecx,-1
-
 
5105
           mov  edx, OS_BASE+0x70000
-
 
5106
           call fileread
-
 
5107
 
-
 
5108
           mov  esi, restart_kernel_4000+OS_BASE+0x10000 ; move kernel re-starter to 0x4000:0
-
 
5109
           mov  edi,OS_BASE+0x40000
-
 
5110
           mov  ecx,1000
-
 
5111
           rep  movsb
5093
           cli
5112
 
5094
 
5113
           mov  esi,OS_BASE+0x2F0000    ; restore 0x0 - 0xffff
5095
           mov  esi,OS_BASE+0x2F0000    ; restore 0x0 - 0xffff
5114
           mov  edi, OS_BASE
5096
           mov  edi, OS_BASE
5115
           mov  ecx,0x10000/4
5097
           mov  ecx,0x10000/4