Page 1 of 1

compiling problem

Posted: Tue Sep 13, 2011 2:41 pm
by olumsuzruh
; KolibriOS bootloader
; bootsector for loading from FAT32 flash (or hard) drive
; intended for use with mtldr_f file in root folder
; this code has been written by diamond in 2005,2006,2007 specially for KolibriOS

; this code is loaded by BIOS to 0000:7C00
org 0x7C00
jmp @f
nop
; times 57h db 0
file 'bt2.dat':3,57h



hello. I'm new in kolibrios. I have a problem. when I tray to compile boot_f32.asm fasm for win says error for file file 'bt2.dat':3,57h ---> what is this? can anybody explain it to me? thanks for help

Re: compiling problem

Posted: Tue Sep 13, 2011 2:45 pm
by Mario
Where did you get this file?

Re: compiling problem

Posted: Tue Sep 13, 2011 2:55 pm
by olumsuzruh
http://kolibrios.org/load.cgi?f/release ... 7.0_src.7z
in kolibri_0.7.7.0_src\other\HD_load\USB_Boot\BOOT_F32.ASM

Re: compiling problem

Posted: Tue Sep 13, 2011 3:25 pm
by art_zh
olumsuzruh wrote:when I tray to compile boot_f32.asm fasm for win says error for file file 'bt2.dat':3,57h ---> what is this? can anybody explain it to me? thanks for help
bt2.dat contains your current bootsector data.
You need to generate it prior compiling boot_f32 (there was a special utility in HD_load for it)

Please read all the docs related and study the sources carefully before damaging your sytem... :wink: You are warned!

Re: compiling problem

Posted: Tue Sep 13, 2011 3:49 pm
by olumsuzruh
ok. thanks.

I'm working with external usb CF disk and with Wmware. so no risc :)

Re: compiling problem

Posted: Tue Sep 13, 2011 5:49 pm
by CleverMouse
If you plan to install the bootsector with inst.exe - or do not plan to install at all - you do not need the file bt2.dat, just comment the line which references it and uncomment the previous line, "times 57h db 0".