OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 2:28 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Help with getting files from a floppy-emulated ISO [solved]
PostPosted: Sat Jan 12, 2019 9:11 pm 
Offline
Member
Member
User avatar

Joined: Tue Dec 11, 2018 3:13 pm
Posts: 50
I have a question that I cannot find answers to anywhere, so hopefully this might be a good place to ask for help. And yes, I have look over the wiki, but I didn't find an answer to my question. I could have missed it, though, but I don't think so.

How do you read and get information from a CD/DVD, when you set the image to be floppy-disk emulated? Does the floppy-disk image use a FAT12 filesystem on the floppy-disk image and then use code to load files from the CD/DVD? Or do you just ignore FAT12 all together and just use code to load parts of the CD/DVD/ISO? or what?

I was reading a Wikipedia page on 'El Torrito', (https://en.wikipedia.org/wiki/El_Torito_(CD-ROM_standard)) and it said that when in floppy-emulation mode, it acts as a virtual floppy-disk, but then it said before that when in hard-disk emulation mode, it get information directory from the CD/DVD. So is it only for hard-disk emulation, or is the same for both, but it is just say, or is there is mechanism to get information from the CD/DVD/ISO using a floppy-disk? Or do I just not understand something here


Last edited by saltlamp on Sun Jan 13, 2019 7:38 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Help with getting files from a floppy-emulated CD/DVD/IS
PostPosted: Sun Jan 13, 2019 1:59 am 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5099
saltlamp wrote:
How do you read and get information from a CD/DVD, when you set the image to be floppy-disk emulated? Does the floppy-disk image use a FAT12 filesystem on the floppy-disk image and then use code to load files from the CD/DVD? Or do you just ignore FAT12 all together and just use code to load parts of the CD/DVD/ISO? or what?

The floppy disk emulation was designed to be used with a floppy disk image containing DOS, MSCDEX, and a CD driver.

You can put whatever you want in the floppy disk image. You don't even have to use FAT12. However, those DOS disks never used the BIOS to access the CD, which means you probably can't use the BIOS to access the CD.

saltlamp wrote:
I was reading a Wikipedia page on 'El Torrito', (https://en.wikipedia.org/wiki/El_Torito_(CD-ROM_standard)) and it said that when in floppy-emulation mode, it acts as a virtual floppy-disk, but then it said before that when in hard-disk emulation mode, it get information directory from the CD/DVD. So is it only for hard-disk emulation, or is the same for both, but it is just say, or is there is mechanism to get information from the CD/DVD/ISO using a floppy-disk? Or do I just not understand something here

I'm not sure I understand your question here. Both emulation modes are the same, aside from the type of disk being emulated. You can only access the contents of the emulated disk.


Top
 Profile  
 
 Post subject: Re: Help with getting files from a floppy-emulated CD/DVD/IS
PostPosted: Sun Jan 13, 2019 12:47 pm 
Offline
Member
Member
User avatar

Joined: Tue Dec 11, 2018 3:13 pm
Posts: 50
Octocontrabass wrote:
saltlamp wrote:
How do you read and get information from a CD/DVD, when you set the image to be floppy-disk emulated? Does the floppy-disk image use a FAT12 filesystem on the floppy-disk image and then use code to load files from the CD/DVD? Or do you just ignore FAT12 all together and just use code to load parts of the CD/DVD/ISO? or what?

The floppy disk emulation was designed to be used with a floppy disk image containing DOS, MSCDEX, and a CD driver.

You can put whatever you want in the floppy disk image. You don't even have to use FAT12. However, those DOS disks never used the BIOS to access the CD, which means you probably can't use the BIOS to access the CD.

saltlamp wrote:
I was reading a Wikipedia page on 'El Torrito', (https://en.wikipedia.org/wiki/El_Torito_(CD-ROM_standard)) and it said that when in floppy-emulation mode, it acts as a virtual floppy-disk, but then it said before that when in hard-disk emulation mode, it get information directory from the CD/DVD. So is it only for hard-disk emulation, or is the same for both, but it is just say, or is there is mechanism to get information from the CD/DVD/ISO using a floppy-disk? Or do I just not understand something here

I'm not sure I understand your question here. Both emulation modes are the same, aside from the type of disk being emulated. You can only access the contents of the emulated disk.


Sorry if I wrote in a confusing way; I was bored and getting a little bit frustrated over Mkisofs not working properly when I was trying to create a no-emulated image.

Anyway. using drivers to access the disk from the emulated disk answered my question. Thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 63 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group