Mixing Assembly and C tutorial question

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
raj mathai

Mixing Assembly and C tutorial question

Post by raj mathai »

Hello
How do I put the last program in the tutorial onto a floppy? Also, how do i boot it if i don't have dos or freedos?
Chase

RE:Mixing Assembly and C tutorial question

Post by Chase »

>On 2002-05-24 17:21:48, raj mathai wrote:
>Hello
> How do I put the last program in the tutorial onto a floppy?

It's meant to be used on a FAT12 DOS formatted floppy. You just copy
it to the same location as the loader.

> Also, how do i boot it if i don't have dos or freedos?

If you want you could modify the loader (a lot) to make one
that doesn't depend on DOS. The whole reason I mention FreeDOS
is for when you don't have DOS already. It's a free download.

Starting your own OS using a form of DOS for the loader is pretty
common since most people want to jump right to the *fun* parts instead
of spending time on boot loaders.
Compuboy

RE:Mixing Assembly and C tutorial question

Post by Compuboy »

  You might want to try having a look at my website (http://www.electrichamster.net/Lucie). I've already finished writing my own Boot Sector and Bootstrap and I've started on the Kernel. For more information on how I did it, please post a comment on my site or visit the www.flashdaddee.com forums where I go by the name Compuboy.
Post Reply