flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Bootloader Problem

Author
Thread Post new topic Reply to topic
steward



Joined: 04 Apr 2008
Posts: 24
steward 02 May 2008, 13:43
Hi to all,
I have a bootloader and sourcecode in assembly.iwant to use the source code as a kernel after bootloader in a floppy.But my problem is that the binary of kernel is more than 512 byte and is almoste 40k.

what can i do?is there any way?

Other question is that : is there any way to use an .EXE file as a kernel after bootloader?
Post 02 May 2008, 13:43
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 02 May 2008, 15:34
Yes DexOS kernel is a mz exe, your best bet is to use bootprog as a bootloader as DexOS does.
http://alexfru.chat.ru/epm.html#bootprog

It is written in nasm, but i have converted it to fasm for DexOS, so if you want a fasm ver let me know.
Post 02 May 2008, 15:34
View user's profile Send private message Reply with quote
Mac2004



Joined: 15 Dec 2003
Posts: 314
Mac2004 02 May 2008, 16:46
Here's a plain binary loader example written by me. I hope this helps...

http://board.flatassembler.net/topic.php?t=6529

regards,
Mac2004
Post 02 May 2008, 16:46
View user's profile Send private message Reply with quote
steward



Joined: 04 Apr 2008
Posts: 24
steward 02 May 2008, 16:49
thanks for your link.but it does not work for me.i think my kernel does not work with that.If it is possible i want send you the assembly code and you work on it ofcourse if you have time.
if yes please send me your mail to send it.

thx in advance
Post 02 May 2008, 16:49
View user's profile Send private message Reply with quote
steward



Joined: 04 Apr 2008
Posts: 24
steward 02 May 2008, 16:50
i need your help.you know
Post 02 May 2008, 16:50
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 cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.