flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > Modifying & Building MenuetOS (?)

Author
Thread Post new topic Reply to topic
milostea



Joined: 13 Dec 2008
Posts: 2
milostea
Folks,

I am currently researching a project and would like to make changes to MenuetOS source code. I have built the kernel by issuing the command: fasm kernel.asm menuetos.img

Everything assembles fine (no errors). However, I don't believe that my output is complete. My .IMG file is barely 100K. Contrast that with the posted .IMG file of 1.44mb that I downloaded from the MenuetOS website. So, what step am I missing here? Thanks.

/milostea
Post 13 Dec 2008, 01:52
View user's profile Send private message Reply with quote
neville



Joined: 13 Jul 2008
Posts: 507
Location: New Zealand
neville
This is only a guess, but probably the image on the website is the entire floppy disk (2880 sectors * 512 bytes/sector) e.g. created using RAWWRITE, even though most of the sectors do not contain Menuet code.

_________________
FAMOS - the first memory operating system
Post 16 Dec 2008, 00:21
View user's profile Send private message Visit poster's website Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2145
Location: Estonia
Madis731
It should be fasm kernel.asm kernel.mnt and the result is just a file in the final image (the *kernel*). The image itself contains applications and images/text etc.
Post 16 Dec 2008, 14:17
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
milostea



Joined: 13 Dec 2008
Posts: 2
milostea
Thanks for the 'hints'. I figured out how to build. These are the tools: FASM, WinImage, and CDBurner XP. I also needed the boot loader code---more on this later.

Step 1) Build everything with the FASM. This includes the boot loader code.

Step 2) Run WinImage and create a project that uses 1.44mb format. Basically add the folders that make up the kernel, drivers, apps. Modify the "Boot Sector Properties" and change its format by clicking on "Open..."; select the boot loader's code.

Step 3) Save the project as an image (.IMA) format.

Step 4) Run CDBurner XP and create a DATA project. Click on the "Boot Options" and tell it that you are making a bootable disk. Select the .IMA file that you created in step 3.

Step 5) Burn the image to a CD. Now you have a bootable CD for your OS.
Post 23 Dec 2008, 17:18
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2019, Tomasz Grysztar.

Powered by rwasa.