Page 1 of 1

How can I compile?

Posted: Tue Jan 11, 2011 11:03 am
by anstein99
I downloaded Kolibri OS floppy image and source code.
I found that this operating system is great, so I decided to modify Kolibri OS.
To modify, I have to change programs(,or modify boot screen,etc.,), and I don't know how to compile .asm file!
I have fasm program, and Kolibri source code.
What command do I have to type on the fasm program if I want to compile the assembly code?

Re: How can I compile?

Posted: Tue Jan 11, 2011 11:29 am
by dunkaist
anstein99 wrote:What command do I have to type on the fasm program if I want to compile the assembly code?
There are *.bat files near the sources - just run them! Their names (build_*. bat) are hints, aren't they? :wink:

Also you can view any *.bat file to get additional information.

Re: How can I compile?

Posted: Tue Jan 11, 2011 12:41 pm
by art_zh
hi anstein99

also, you can do it in Linux (makefile is there!)
in any case, you need to save your new kernel.mnt to kolibri.img prior booting

Here is another (imho the easiest, fastest and funniest) way to edit+rebuild the kernel.

By the way, maybe somebody already tried to do modify the kernel as you want? - check our repository first

Good luck !

Re: How can I compile?

Posted: Tue Jan 11, 2011 1:25 pm
by DmitrySokolowsky
To run these _.bat files, You should have executable FASM for Windows at the C:\Windows\system32 folder, or installed FASM for Linux, if You use Linux :wink:

Re: How can I compile?

Posted: Tue Jan 11, 2011 3:50 pm
by anstein99
Атауальпа wrote:To run these _.bat files, You should have executable FASM for Windows at the C:\Windows\system32 folder, or installed FASM for Linux, if You use Linux :wink:
Whole Fasm program folder, or just Fasm.exe file?

Re: How can I compile?

Posted: Tue Jan 11, 2011 3:57 pm
by hidnplayr
Just fasm.exe

Yet another way is to placed fasm in another folder (i use c:/program files/fasm)
and add this folder to PATH variable in windows.
If you dont know how to do that, read about it here: http://intoai.blogspot.com/2010/12/flat ... -fasm.html