Making img and flp files?

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
User avatar
djtrickdog
Member
Member
Posts: 39
Joined: Sat Dec 15, 2007 7:36 pm

Making img and flp files?

Post by djtrickdog »

What program would you use to create img and flp files? what program would you use to write flp files to a floppy? thanks OSDev community.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

On UNIX-like systems, one would typically use dd, Loopback Devices.. and available system tools..

There are likely 3rd party utilities for Windows that achieve the same thing...
Last edited by Brynet-Inc on Sat Dec 29, 2007 12:08 am, edited 1 time in total.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
djtrickdog
Member
Member
Posts: 39
Joined: Sat Dec 15, 2007 7:36 pm

Post by djtrickdog »

forgot to mention i am developing in XP :lol:
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post by Dex »

User avatar
djtrickdog
Member
Member
Posts: 39
Joined: Sat Dec 15, 2007 7:36 pm

Post by djtrickdog »

Ok i just installed it and it works nice. Very impressed. Does this create images that can be booted from a cdrom? thanks
[edit] also when i go to throw a bin boot loader file in winimage then format then write, it just puts the boot.bin i had on the floppy as if i just dragged it onto the floppy icon in my computer.
egos
Member
Member
Posts: 612
Joined: Fri Nov 16, 2007 1:59 pm

Re: Making img and flp files?

Post by egos »

djtrickdog wrote:What program would you use to create img and flp files? what program would you use to write flp files to a floppy? thanks OSDev community.
fasm, dd
User avatar
djtrickdog
Member
Member
Posts: 39
Joined: Sat Dec 15, 2007 7:36 pm

Post by djtrickdog »

both or either or?
egos
Member
Member
Posts: 612
Joined: Fri Nov 16, 2007 1:59 pm

Post by egos »

djtrickdog wrote:both or either or?
I'm using fasm to create image files. I'm using dd to copy an image to a floppy disk.
User avatar
lukem95
Member
Member
Posts: 536
Joined: Fri Aug 03, 2007 6:03 am
Location: Cambridge, UK

Post by lukem95 »

i have never used winimg... but if it creates a .img, you can use MagicISO to load the boot info from this .img, then add the files to create a .iso (cd img)
~ Lukem95 [ Cake ]
Release: 0.08b
Image
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

I use mtools and dd. They're available for both windows and *nix. If you have a bootable floppy image, it will work as a bootable CD just as well using El-Torito emulation.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post by Dex »

djtrickdog wrote:Ok i just installed it and it works nice. Very impressed. Does this create images that can be booted from a cdrom? thanks
[edit] also when i go to throw a bin boot loader file in winimage then format then write, it just puts the boot.bin i had on the floppy as if i just dragged it onto the floppy icon in my computer.
I use winimage for making self extracting exe and image for use to make boot able CD's or put on a floppy or use in emulators.
Note save as .ima for the above.

For put boot sector on the floppy etc, i use rawrite
http://www.chrysocome.net/rawwrite

PS: To make a cd boot able make a .ima image from a bootable floppy, then use your cd burn software to make a bootable cd, eg: click on the make bootable, then it will ask for a image point it to the floppy image, it will then add two bin files to floppy. Now it should be bootable
User avatar
djtrickdog
Member
Member
Posts: 39
Joined: Sat Dec 15, 2007 7:36 pm

Post by djtrickdog »

thanks for the help guys! i think i got it now
Post Reply