BIN to IMG

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
Hillbillie

BIN to IMG

Post by Hillbillie »

Hey guys, how the heck do you convert your BIN file outputted by DJGPP into a raw image? I'm a dumb beginner, so have mercy :-)
Chase

RE:BIN to IMG

Post by Chase »

>On 2001-04-05 22:29:04, Hillbillie wrote:
>Hey guys, how the heck do you convert your BIN file outputted
>by DJGPP into a raw image? I'm a dumb beginner, so have mercy :-)

Unless you're talking about a specific kind of image format then
you don't. The "bin" format is a raw binary format.
Hillbillie

RE:BIN to IMG

Post by Hillbillie »

K. Thanks.
Chris Giese

RE:BIN to IMG

Post by Chris Giese »

>On 2001-04-05 22:29:04, Hillbillie wrote:
>Hey guys, how the heck do you convert your BIN file outputted by DJGPP into a raw image?

Do you mean the .IMG files that Bochs uses?
The file created by DSKIMG (or RAWREAD, or DD),
which is a "snapshot" of a floppy disk?

You can use MTOOLS to manipulate files on a
.IMG disk.
Guest

RE:BIN to IMG

Post by Guest »

I meant a IMG file that I can use rawrite.exe to write to a floppy and boot up with. I want to turn a BIN file created by DJGPP into a IMG file to rawrite to disk. I've heard I can do this with dd in linux, but I'm wondering if there's a DOS program that will do this.
Ben Hsu

RE:BIN to IMG

Post by Ben Hsu »

>On 2001-04-05 22:29:04, Hillbillie wrote:
>Hey guys, how the heck do you convert your BIN file outputted by DJGPP into a raw image? I'm a dumb beginner, so have mercy :-)

If you could, check out the site:
http://www.acm.uiuc.edu/sigops/roll_you ... world.html
for a tutorial,

and you might just be able to find some tools at
http://www.acm.uiuc.edu/sigops/roll_you ... strap.html
which some of those can turn a binary into SBBB image that
dd(Unix/Linux) or rawrite(DOS) uses (said in the tutorial of which one to use.

Good luck

Ben
Hilllbillie

RE:BIN to IMG

Post by Hilllbillie »

>On 2001-04-05 22:29:04, Hillbillie wrote:
>Hey guys, how the heck do you convert your BIN file outputted by DJGPP into
a raw image? I'm a dumb beginner, so have mercy :-)

Hehe, just in case anyone's wondering, I was trying to make a boot disk. I
figured it out a long time ago. I used 'dsk2img' to convert a boot disk to
an 'img' file to rawrite to a disk. That was back when I was dumb (not that
I'm not still dumb) :-)
Hilllbillie

RE:BIN to IMG

Post by Hilllbillie »

>On 2001-04-05 22:29:04, Hillbillie wrote:
>Hey guys, how the heck do you convert your BIN file outputted by DJGPP into
a raw image? I'm a dumb beginner, so have mercy :-)

Hehe, just in case anyone's wondering, I was trying to make a boot disk. I
figured it out a long time ago. I used 'dsk2img' to convert a boot disk to
an 'img' file to rawrite to a disk. That was back when I was dumb (not that
I'm not still dumb) :-)
Post Reply