flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > Can Not Compile The Image

Author
Thread Post new topic Reply to topic
Network1.tk



Joined: 12 Dec 2004
Posts: 2
Network1.tk
Hello I am having troube compiling the MenuetOS kernel. I have tried using the builder in the kernel file (and installing the assembler) but I have not been able to compile any thing! Who could I compile the Kernel... (a tutorial might help Smile )

_________________
I speak Engrish
Post 12 Dec 2004, 04:07
View user's profile Send private message Visit poster's website AIM Address Reply with quote
cr4ck3r



Joined: 22 Sep 2004
Posts: 6
Location: Melbourne, Australia
cr4ck3r
Simple way: Download fasm win console verison. UnZip it. UnZip your MenuetOS kernel. Open the build.bat in the kernel and change the path of "SET FASM=" to where your fasm.exe is located and save the changed build.bat file. Then simply run the build.bat file and you''ll have the MenuetOS compiled Smile Surprised Very Happy
Post 12 Dec 2004, 04:59
View user's profile Send private message Reply with quote
sonny73044



Joined: 08 Dec 2004
Posts: 28
Location: Oklahoma,USA
sonny73044
You can download a commandline or gui flat assembler for win aswell as a dos or linuz cmdline version here:
http://flatassembler.net/download.php
You could also get ther compiled os as a image
Post 12 Dec 2004, 05:37
View user's profile Send private message Visit poster's website Reply with quote
Network1.tk



Joined: 12 Dec 2004
Posts: 2
Network1.tk
The problem was that several operators/referances (vesa 2 & 1) are not aceptable... AKA it does not compile because of these errors..
Post 12 Dec 2004, 17:02
View user's profile Send private message Visit poster's website AIM Address Reply with quote
sonny73044



Joined: 08 Dec 2004
Posts: 28
Location: Oklahoma,USA
sonny73044
What exactly are the errors?
Have you customized these files?
I only ask because the default kernel (and my custom kernel) compiles without any errors.
Possibly you should download the kernel source again (corrupt file?)
Post 14 Dec 2004, 15:21
View user's profile Send private message Visit poster's website Reply with quote
Andrew Youll



Joined: 19 Sep 2004
Posts: 20
Andrew Youll
i believe i sorted this problem out on the other forum the errors he was stating are usally inflicted when someone tries to compile a INC file instead of the main ASM file in this case i think they tried compiling Kernel32.inc instead of Kernel.ASM and as such the .inc file doesnt have the data needed for the VESA commands to be compiled.
Post 14 Dec 2004, 18:18
View user's profile Send private message Visit poster's website Reply with quote
Andrew Youll



Joined: 19 Sep 2004
Posts: 20
Andrew Youll
@ sonny73044: what does your custom kernel have the stock one doesnt?

my custome kernel has 32bit and 16bit Memory allocation, improved FAT32 support via Russian distro kernel patches, Unicode support, Drivers back coded from 0.78-p3 (0.78-p2 is the base for my custom kernel).
Post 14 Dec 2004, 18:20
View user's profile Send private message Visit poster's website Reply with quote
sonny73044



Joined: 08 Dec 2004
Posts: 28
Location: Oklahoma,USA
sonny73044
I have the patches for improved FAT32 from same source and just the setup automations, ie atoubooting and setting the hd, lba etc.
Quote:
32bit and 16bit Memory allocation

Is this the mem manager or a patch?
I'll look at the Russian Distro site again
Post 14 Dec 2004, 18:38
View user's profile Send private message Visit poster's website Reply with quote
Andrew Youll



Joined: 19 Sep 2004
Posts: 20
Andrew Youll
its a inc file called Memalloc.inc that adds memory allocation slows down the system by about 5% originally i only had it on 32bit but added it to 16bit to see what it did, no speed decreases that were noticeable so i kept 16bit mem allocation support

im pretty sure i got the inc file from the russian site
Post 14 Dec 2004, 22:49
View user's profile Send private message Visit poster's website Reply with quote
cokeos



Joined: 02 Dec 2004
Posts: 1
cokeos
Network1.tk wrote:
Hello I am having troube compiling the MenuetOS kernel. I have tried using the builder in the kernel file (and installing the assembler) but I have not been able to compile any thing! Who could I compile the Kernel... (a tutorial might help Smile )


"My" easy way is to load MenuetOS up, open FASM enter kernel.asm for the input and kernel.mnt for the output, thats it. You need to enter the source for the kernel.asm, i.e /hd/1/m/k/.
Post 20 Dec 2004, 11:47
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-2020, Tomasz Grysztar.

Powered by rwasa.