Page 1 of 1

basic bootloader

Posted: Sat Dec 29, 2001 12:00 am
by maestro
does anyone know of a simple bootloader that uses basic DOS partitions and whose only purpose is to make a C program boot from a floppy? thanks!
-maestro

RE:basic bootloader

Posted: Sat Dec 29, 2001 12:00 am
by J. Weeks
>On 2001-12-29 11:46:17, maestro wrote:
>does anyone know of a simple bootloader that uses basic DOS partitions and whose only purpose is to make a C program boot from a floppy? thanks!
>-maestro

You can't boot a C program directly... unless its
in some executable format (ie, other than binary),
such as dos's .EXE... but then... why not just
use DOS? :)

Check out GRUB... it might work for you... but, ahh...
floppies don't have partitions, you know :)

Jeff

RE:basic bootloader

Posted: Sun Dec 30, 2001 12:00 am
by maestro
>On 2001-12-29 20:08:12, J. Weeks wrote:
>>On 2001-12-29 11:46:17, maestro wrote:
>>does anyone know of a simple bootloader that uses basic DOS partitions and whose only purpose is to make a C program boot from a floppy? thanks!
>>-maestro
>
>You can't boot a C program directly... unless its
>in some executable format (ie, other than binary),
>such as dos's .EXE... but then... why not just
>use DOS? :)
the whole point is for it to be some sort of a joke operating system, and for it to be able to boot from a floppy.

>
>Check out GRUB...
ok, i will

>it might work for you... but, ahh...
>floppies don't have partitions, you know :)
i meant dos file system.

>
>Jeff

RE:basic bootloader

Posted: Sun Dec 30, 2001 12:00 am
by J.Weeks
>the whole point is for it to be some sort of a
>joke operating system, and for it to be able to
>boot from a floppy.
>
>i meant dos file system.

Ahh, gotchya. Cool. Have you checked up FreeDOS?
I mean, unless you wanna write it all yourself.
'cuz it might be a big time saver to download the
FreeDOS boot code + kernel, and fiddle with it a
bit.

Cheers! :)
Jeff

RE:basic bootloader

Posted: Mon Dec 31, 2001 12:00 am
by Guest
>On 2001-12-30 10:28:26, maestro wrote:
>>On 2001-12-29 20:08:12, J. Weeks wrote:
>>>On 2001-12-29 11:46:17, maestro wrote:
>>>does anyone know of a simple bootloader that uses basic DOS partitions and whose only purpose is to make a C program boot from a floppy? thanks!
>>>-maestro
This is a very frequently asked question, RTFM! (I've always wanted to say that ;). In this sense, EVERY boot loader is "basic," afterall, you can't put much in 512Kbs of space.
>>
>>You can't boot a C program directly... unless its
>>in some executable format (ie, other than binary),
>>such as dos's .EXE... but then... why not just
>>use DOS? :)
>the whole point is for it to be some sort of a joke operating system, and for it to be able to boot from a floppy.
It sounds to me like you barely understand the language and just want an easy way to brag to your friends about your l33t h4x0r1ng skillz. This is all speculative, of course, just judging by the fact that you don't understand basic terminology.
>
>>
>>Check out GRUB...
>ok, i will
>
>>it might work for you... but, ahh...
>>floppies don't have partitions, you know :)
>i meant dos file system.
Well, unfortunately, there's a HUGE difference between partitions and file systems.
>
>>
>>Jeff

RE:basic bootloader

Posted: Mon Dec 31, 2001 12:00 am
by maestro
>On 2001-12-30 19:08:28, J.Weeks wrote:
>>the whole point is for it to be some sort of a
>>joke operating system, and for it to be able to
>>boot from a floppy.
>>
>>i meant dos file system.
>
>Ahh, gotchya. Cool. Have you checked up FreeDOS?
>I mean, unless you wanna write it all yourself.
>'cuz it might be a big time saver to download the
>FreeDOS boot code + kernel, and fiddle with it a
>bit.
>
>Cheers! :)
>Jeff

as of, oh, about 30 seconds ago i was tinkering around
Alexei A. Frounze's os and boot code, which looks promising.
thanks for the freeDos suggestion, btw... (if only i can
get it to compile under windoze...)
-maestro