forked from KolibriOS/kolibrios
Add extended_primary_loader to autobuild.
* Build fat1x, fat32, cdfs, after_win loaders. * Set use_lba=1 by default in fat32 loader. * Build kolibri.raw: flash / hdd image. * Add example config.ini file. * Add an option (config file and screen) to not load ramdisk image. * Add an option (config file only) to set /sys path. Now you can boot without a ramdisk from a storage that is supported by the kernel itself, i.e. without loadable drivers. Thus you can not load the system without a ramdisk from SATA/AHCI and USB drives. git-svn-id: svn://kolibrios.org@8091 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -28,6 +28,16 @@ proc Parser_params
|
||||
locals
|
||||
buff rb 4 ; for test cd
|
||||
endl
|
||||
if defined extended_primary_loader
|
||||
mov ecx, sysdir_path
|
||||
mov [ecx-64], dword 'sys'
|
||||
mov [ecx-2], byte 3
|
||||
mov esi, BOOT.syspath
|
||||
mov edi, sysdir_path-1
|
||||
mov ecx, 20
|
||||
rep movsb
|
||||
ret
|
||||
else
|
||||
mov ax, [BOOT.sys_disk]
|
||||
mov ecx, sysdir_path
|
||||
mov [ecx-64], dword 'sys'
|
||||
@@ -61,6 +71,7 @@ proc Parser_params
|
||||
jne .next_cd
|
||||
@@:
|
||||
ret
|
||||
end if
|
||||
|
||||
.hard_disk:
|
||||
sub al, '1'
|
||||
|
Reference in New Issue
Block a user