Date: Mon, 27 Jan 1997 00:57:34 -0800 (PST) From: Dmitry Kohmanyuk <dk@dog.farm.org> To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Cc: freebsd-hackers@freebsd.org Subject: Re: help for a floppy boot sector Message-ID: <199701270857.AAA00505@dog.farm.org>
next in thread | raw e-mail | index | archive | help
In article <199701261035.LAA27794@labinfo.iet.unipi.it> you wrote: > I am looking for some floppy boot code which allows you to build a > bootable floppy which can start a .COM file without the need for MSDOS. I have written just this thing for the same reason - a standalone .COM-file loader which is smart enough to read MSDOS FAT from a floppy and load a single file. It fits into 512 bytes. It's available (with source code) from: ftp://ftp.cs.kiev.ua/csrt/unix/dkbooter-1.0.zip [ I beleive I have announced this some time ago on -hackers. ] The source code uses DOS TASM, but rewrite to GAS should be easy. (ask me if you need it). > Ideally I would do something like > cat bootcode nb8390.com | dd of=/dev/fd0a > to produce a bootable floppy. oh, with my code, you have to do: ; mformat a: ; dd if=dkboot of=/dev/fd0a bs=1b ; mcopy nb8390.com a:loader.com p.s. because that site can be slow, I have uploaded a copy into ftp://ftp.freebsd.org/pub/FreeBSD/incoming/dkbooter-1.0.zip -- "I want to die peacefully in my sleep like my grandfather. Not screaming in terror like his passengers."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701270857.AAA00505>