Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 834 → Rev 837

/kernel/branches/kolibri_pe/boot/bootcode.inc
1135,6 → 1135,31
out dx, al
 
 
; GET SMAP
 
xor ebx, ebx
mov es, bx
 
mov edi, 0x9104
mov ecx, 20
mov edx, 0x534D4150
@@:
mov [es:0x9100], ebx
mov eax, 0xe820
int 0x15
 
jc .nosmap
cmp eax, 0x534D4150
jne .nosmap
 
test ebx, ebx
jz .nosmap
 
add edi, ecx
jmp @B
 
.nosmap:
 
; SET GRAPHICS
 
xor ax, ax
/kernel/branches/kolibri_pe/boot/preboot.inc
23,13 → 23,13
number_vm dw 0 ;
;pixel_save dw 0 ; per to pixel
preboot_gprobe db 0 ; probe vesa3 videomodes (1-no, 2-yes)
preboot_vrrm db 0 ; use VRR_M (1-yes, 2- no)
preboot_vrrm db 2 ; use VRR_M (1-yes, 2- no)
preboot_dma db 0 ; use DMA for access to HDD (1-always, 2-only for read, 3-never)
preboot_device db 0 ; boot device
; (1-floppy 2-harddisk 3-kernel restart 4-format ram disk)
;!!!! 0 - autodetect !!!!
preboot_blogesc = 0 ; start immediately after bootlog
preboot_biosdisk db 0 ; use V86 to access disks through BIOS (1-yes, 2-no)
preboot_biosdisk db 2 ; use V86 to access disks through BIOS (1-yes, 2-no)
 
if $>0x200
ERROR: prebooting parameters must fit in first sector!!!