Board.KolibriOS.org

Official KolibriOS board
It is currently Sun Apr 05, 2020 4:26 am

All times are UTC+03:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: How can I compile?
PostPosted: Tue Jan 11, 2011 11:03 am 
Offline

Joined: Tue Jan 11, 2011 10:56 am
Posts: 24
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?


Top
   
 Post subject: Re: How can I compile?
PostPosted: Tue Jan 11, 2011 11:29 am 
Offline
Mentor
User avatar

Joined: Mon Oct 19, 2009 10:58 am
Posts: 465
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.


Top
   
 Post subject: Re: How can I compile?
PostPosted: Tue Jan 11, 2011 12:41 pm 
Offline
Kernel Developer
User avatar

Joined: Fri Aug 14, 2009 1:46 am
Posts: 1402
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 !


Top
   
 Post subject: Re: How can I compile?
PostPosted: Tue Jan 11, 2011 1:25 pm 
Offline
User avatar

Joined: Thu Mar 01, 2007 7:57 pm
Posts: 835
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:

_________________
Всех выше те, кто доброе творят,
И за дела добра не ждут наград,
Всем жертвуют для страждущих людей,
Не думая о выгоде своей.


Top
   
 Post subject: Re: How can I compile?
PostPosted: Tue Jan 11, 2011 3:50 pm 
Offline

Joined: Tue Jan 11, 2011 10:56 am
Posts: 24
Атауальпа 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?


Top
   
 Post subject: Re: How can I compile?
PostPosted: Tue Jan 11, 2011 3:57 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1248
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

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited