Board.KolibriOS.org
http://board.kolibrios.org/

How can I compile?
http://board.kolibrios.org/viewtopic.php?f=23&t=1646
Page 1 of 1

Author:  anstein99 [ Tue Jan 11, 2011 11:03 am ]
Post subject:  How can I compile?

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?

Author:  dunkaist [ Tue Jan 11, 2011 11:29 am ]
Post subject:  Re: How can I compile?

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.

Author:  art_zh [ Tue Jan 11, 2011 12:41 pm ]
Post subject:  Re: How can I compile?

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 !

Author:  DmitrySokolowsky [ Tue Jan 11, 2011 1:25 pm ]
Post subject:  Re: How can I compile?

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:

Author:  anstein99 [ Tue Jan 11, 2011 3:50 pm ]
Post subject:  Re: How can I compile?

Атауальпа 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?

Author:  hidnplayr [ Tue Jan 11, 2011 3:57 pm ]
Post subject:  Re: How can I compile?

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

Page 1 of 1 All times are UTC+03:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/