flat assembler
Message board for the users of flat assembler.

Index > OS Construction > made a small operating system

Author
Thread Post new topic Reply to topic
andrewjrmill



Joined: 20 Jul 2009
Posts: 5
andrewjrmill
Hi, everyone , I made a small operating system that’s I made to Bin file and I want it to make a iso for my program to test but I failed Iv tyred a lot of method I can figure it out. can some one tell me how to do this, way i want it to be a ISO is because I wont is to run under Virtualbox under linux. thanks for reading my post. sorry I have a setup.bin and a CACHE2FD.BIN
Post 13 Dec 2012, 23:31
View user's profile Send private message AIM Address Yahoo Messenger Reply with quote
BAiC



Joined: 22 Mar 2011
Posts: 272
Location: California
BAiC
by ISO do you mean a optical disk image?
Post 14 Dec 2012, 02:16
View user's profile Send private message Visit poster's website Reply with quote
ManOfSteel



Joined: 02 Feb 2005
Posts: 1155
ManOfSteel
Does this help?
Post 14 Dec 2012, 07:34
View user's profile Send private message Reply with quote
andrewjrmill



Joined: 20 Jul 2009
Posts: 5
andrewjrmill
yes this helps, what I wont to do is make an img for virtualbox can open it,
Post 14 Dec 2012, 11:35
View user's profile Send private message AIM Address Yahoo Messenger Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2140
Location: Estonia
Madis731
VirtualBox can open floppy images.
http://board.flatassembler.net/topic.php?t=11609
Extract any of these zips and check out VESA64.asm. This handles the IMG for floppy. If your image doesn't fit onto floppy, you'll need to adjust this file to make a http://en.wikipedia.org/wiki/ISO_9660 format.

I have yet to do this because this far I'm not filling even 10% of the floppy. Smile
Post 19 Dec 2012, 12:36
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler
See the OSDev Wiki. It has a wealth of info on creating images of all kinds. I would use Qemu though. It is possible to configure GDB to debug your OS running under Qemu.
Post 30 Dec 2012, 04:52
View user's profile Send private message Reply with quote
ASM-Man



Joined: 11 Jan 2013
Posts: 65
ASM-Man
Are you under UNIX? You can use the mkisofs tool. Check out its man page for more information. But I basic example is:

mkisofs -no-emul-boot -o boot.iso -b boot.bin cdiso/

cdiso direcotory should contain the binary(or flp) file. The .ISO is created in the current directory.
Post 21 Jan 2013, 15:55
View user's profile Send private message Reply with quote
egos



Joined: 10 Feb 2009
Posts: 144
egos
You can use mkisofs under Windows as well Wink
Post 22 Jan 2013, 13:30
View user's profile Send private message Reply with quote
c.j.gowett



Joined: 31 Dec 2013
Posts: 12
c.j.gowett
Here's what I really think you should do, have a flash drive, get HxD Hexadecimal Editor, copy your bin file to the flash drive (make sure you have Admin priveledges enabled), make sure the boot signature at the end of the first sector is 0xaa55 (looks like Uª [ASCII] and 55 AA [Hex]). If your OS is larger than 512 bytes, you have to include int 13h to load your sectors into memory to fully execute your OS. If you want help on loading sectors, let me know and I will be more than willing to help you.
Post 17 Jan 2014, 03:00
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.