Subversion Repositories Kolibri OS

Rev

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

Rev 4265 Rev 4287
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 4265 $
8
$Revision: 4287 $
Line 9... Line 9...
9
 
9
 
Line 49... Line 49...
49
 
49
 
50
 
50
 
51
if lang eq ru
51
if lang eq ru
52
  boot_initirq      cp866 'Инициализация IRQ',0
52
  boot_initirq      cp866 'Инициализация IRQ',0
53
  boot_picinit      cp866 'Инициализация PIC',0
53
  boot_picinit      cp866 'Инициализация PIC',0
54
  boot_v86machine   cp866 'Инициализация системы V86 машины',0
54
  boot_v86machine   cp866 'Инициализация системной V86 машины',0
55
  boot_inittimer    cp866 'Инициализация системного таймера (IRQ0)',0
55
  boot_inittimer    cp866 'Инициализация системного таймера (IRQ0)',0
56
  boot_initapic     cp866 'Попытка инициализации APIC',0
56
  boot_initapic     cp866 'Попытка инициализации APIC',0
57
  boot_enableirq    cp866 'Включить прерывания 2, 13',0
57
  boot_enableirq    cp866 'Включить прерывания 2, 13',0
Line 67... Line 67...
67
  boot_memdetect    cp866 'Количество оперативной памяти','     ',' Мб',0
67
  boot_memdetect    cp866 'Количество оперативной памяти','     ',' Мб',0
68
  boot_tss          cp866 'Установка TSSs',0
68
  boot_tss          cp866 'Установка TSSs',0
69
  boot_cpuid        cp866 'Чтение CPUIDs',0
69
  boot_cpuid        cp866 'Чтение CPUIDs',0
70
;  boot_devices      cp866 'Поиск устройств',0
70
;  boot_devices      cp866 'Поиск устройств',0
71
  boot_timer        cp866 'Установка таймера',0
71
  boot_timer        cp866 'Установка таймера',0
-
 
72
  boot_initramdisk  cp866 'Инициализация рамдиска',0
72
  boot_irqs         cp866 'Переопределение IRQ',0
73
  boot_irqs         cp866 'Переопределение IRQ',0
73
  boot_setmouse     cp866 'Установка мыши',0
74
  boot_setmouse     cp866 'Установка мыши',0
74
  boot_windefs      cp866 'Установка настроек окон по умолчанию',0
75
  boot_windefs      cp866 'Установка настроек окон по умолчанию',0
75
  boot_bgr          cp866 'Установка фона',0
76
  boot_bgr          cp866 'Установка фона',0
76
  boot_resirqports  cp866 'Резервирование IRQ и портов',0
77
  boot_resirqports  cp866 'Резервирование IRQ и портов',0
Line 96... Line 97...
96
else
97
else
97
  boot_initirq      db   'Initialize IRQ',0
98
  boot_initirq      db   'Initialize IRQ',0
98
  boot_picinit      db   'Initialize PIC',0
99
  boot_picinit      db   'Initialize PIC',0
99
  boot_v86machine   db   'Initialize system V86 machine',0
100
  boot_v86machine   db   'Initialize system V86 machine',0
100
  boot_inittimer    db   'Initialize system timer (IRQ0)',0
101
  boot_inittimer    db   'Initialize system timer (IRQ0)',0
-
 
102
  boot_initramdisk  db   'Initialize ramdisk',0
101
  boot_initapic     db   'Try to initialize APIC',0
103
  boot_initapic     db   'Try to initialize APIC',0
102
  boot_enableirq    db   'Enable interrupts 2, 13',0
104
  boot_enableirq    db   'Enable interrupts 2, 13',0
103
  boot_disabling_ide db   'Disable interrupts in IDE controller',0
105
  boot_disabling_ide db   'Disable interrupts in IDE controller',0
104
  boot_enabling_ide db   'Enable interrupts in IDE controller',0
106
  boot_enabling_ide db   'Enable interrupts in IDE controller',0
105
  boot_set_int_IDE  db   'Set handler of interrupts for IDE',0
107
  boot_set_int_IDE  db   'Set handler of interrupts for IDE',0
Line 170... Line 172...
170
ud_user_message db 'Error: unsupported processor instruction',0
172
ud_user_message db 'Error: unsupported processor instruction',0
171
end if
173
end if
Line 172... Line 174...
172
 
174
 
173
vmode          db  '/sys/drivers/VMODE.MDR',0
175
vmode          db  '/sys/drivers/VMODE.MDR',0
-
 
176
;vrr_m          db  'VRR_M',0
-
 
177
kernel_file_load:
-
 
178
; load kernel.mnt to 0x7000:0
-
 
179
        dd      0       ; subfunction
-
 
180
        dq      0       ; offset in file
-
 
181
        dd      0x30000 ; number of bytes to read
174
;vrr_m          db  'VRR_M',0
182
        dd      OS_BASE + 0x70000 ; buffer for data
Line 175... Line 183...
175
kernel_file    db  'KERNEL  MNT'
183
        db      '/RD/1/KERNEL.MNT',0
Line 176... Line 184...
176
 
184
 
Line 568... Line 576...
568
end if
576
end if
Line 569... Line 577...
569
 
577
 
Line 570... Line 578...
570
org (OS_BASE+0x0100000)
578
org (OS_BASE+0x0100000)
571
 
-
 
572
RAMDISK:                        rb 2880*512
579
 
Line 573... Line 580...
573
RAMDISK_FAT:                    rb 2856*2
580
RAMDISK:                        rb 2880*512
Line 574... Line 581...
574
FLOPPY_FAT:                     rb 2856*2
581
                                rb 2856*4               ; not used
575
 
582