OSDev.org

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

All times are UTC - 6 hours




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: VFD not copying file to floppy
PostPosted: Thu Sep 22, 2016 1:40 am 
Offline
Member
Member
User avatar

Joined: Sat Sep 17, 2016 2:14 am
Posts: 83
Location: Moscow, Russia
Hey there,
I have a problem with Virtual Floppy Drive, it doesn't copy my file (e.g. FLIGHT.exe).
I was looking into virtual drive A: to find that it's empty and doesn't show a dialogue called "A: Drive is unformatted. Format the drive'?"
Best Regards,
Tim from Russia

_________________
Coffee is not airplane fuel.


Top
 Profile  
 
 Post subject: Re: VFD not copying file to floppy
PostPosted: Thu Sep 22, 2016 2:29 am 
Offline
Member
Member

Joined: Tue Mar 04, 2014 5:27 am
Posts: 1108
It would be nice to have more details, what you're doing and how.

The disk may not be recognized by DOS/Windows if its boot sector doesn't begin with a jump instruction.

In the mean time, you may want to try to create a floppy image with my mkimg144 and boot sector (BootProg).


Top
 Profile  
 
 Post subject: Re: VFD not copying file to floppy
PostPosted: Thu Sep 22, 2016 3:46 am 
Offline
Member
Member
User avatar

Joined: Tue Mar 06, 2007 11:17 am
Posts: 1225
If you are using 64-bit Windows or a version newer than Windows XP, you need to take special steps and use a very specific version of VFD for it to work.

Here is a video showing a good solution to make it work:
>> Run VFDWin Virtual Floppy Drive under Windows 7 x64 and x86 <<
Quote:
Download VFDWin for Windows 7 from:
http://archive.org/download/VFDWin_Win7 ... 050404.zip


Unzip it.
Get dseo13b.exe from http://files.ngohq.com/ngo/dseo/dseo13b.exe or http://www.ngohq.com/home.php?page=dseo
Run dseo13b.exe and do the same that is shown in the video.
Install and activate the vfd64.sys driver (for 64-bit Windows 7) or vfd32.sys (for 32-bit Windows 7) from vfdwin.exe

Now you can use floppy images from Windows 7 as if they were real floppy drives.

_________________
Live PC 1: Image Live PC 2: Image

YouTube:
http://youtube.com/@AltComp126/streams
http://youtube.com/@proyectos/streams

http://master.dl.sourceforge.net/projec ... 7z?viasf=1


Top
 Profile  
 
 Post subject: Re: VFD not copying file to floppy
PostPosted: Thu Sep 22, 2016 8:28 am 
Offline
Member
Member
User avatar

Joined: Sat Sep 17, 2016 2:14 am
Posts: 83
Location: Moscow, Russia
I am using 32-bit Windows XP.

_________________
Coffee is not airplane fuel.


Top
 Profile  
 
 Post subject: Re: VFD not copying file to floppy
PostPosted: Fri Sep 23, 2016 2:47 am 
Offline
Member
Member
User avatar

Joined: Sat Sep 17, 2016 2:14 am
Posts: 83
Location: Moscow, Russia
Here we go:
After I compiled the boot file and used the debug program (it is only supported by 32-bit OSes) and I have as well formatted the virtual floppy using the Format button
I opened the A: drive only to find that it is completely empty.
I tried to do this over and over again but it didn't work. It might have to deal with the Floppy driver or something.
FYI: I am using Windows XP (the 32-bit edition, not 64-bit) Service Pack 3
When I run Bochs it says: "NO BOOTABLE DEVICE".
Any suggestions?

_________________
Coffee is not airplane fuel.


Top
 Profile  
 
 Post subject: Re: VFD not copying file to floppy
PostPosted: Fri Sep 23, 2016 2:54 am 
Offline
Member
Member
User avatar

Joined: Sat Sep 17, 2016 2:14 am
Posts: 83
Location: Moscow, Russia
Plus I'm new to operating systems, so here's my boot code


Attachments:
BootStage1.asm [7.19 KiB]
Downloaded 44 times

_________________
Coffee is not airplane fuel.
Top
 Profile  
 
 Post subject: Re: VFD not copying file to floppy
PostPosted: Fri Sep 23, 2016 3:50 am 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5099
The boot sector is not a file on the filesystem. Copying your boot code to the boot sector using debug will not make any files appear on the disk. Formatting the disk removes your boot code.

Are you sure Bochs is configured to load your disk?


Top
 Profile  
 
 Post subject: Re: VFD not copying file to floppy
PostPosted: Fri Sep 23, 2016 3:02 pm 
Offline
Member
Member
User avatar

Joined: Sat Sep 17, 2016 2:14 am
Posts: 83
Location: Moscow, Russia
Yes, it's mapped to A:

_________________
Coffee is not airplane fuel.


Top
 Profile  
 
 Post subject: Re: VFD not copying file to floppy
PostPosted: Sat Sep 24, 2016 12:39 am 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5099
So, if you put some other bootable disk in your virtual floppy drive, Bochs is able to boot from it?


Top
 Profile  
 
 Post subject: Re: VFD not copying file to floppy
PostPosted: Sat Sep 24, 2016 2:43 am 
Offline
Member
Member
User avatar

Joined: Sat Sep 17, 2016 2:14 am
Posts: 83
Location: Moscow, Russia
No.

_________________
Coffee is not airplane fuel.


Top
 Profile  
 
 Post subject: Re: VFD not copying file to floppy
PostPosted: Sat Sep 24, 2016 2:59 am 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5099
So Bochs can't boot any disk, even ones that you know should work (e.g. DOS boot floppy)?


Top
 Profile  
 
 Post subject: Re: VFD not copying file to floppy
PostPosted: Sat Sep 24, 2016 3:36 am 
Offline
Member
Member
User avatar

Joined: Sat Sep 17, 2016 2:14 am
Posts: 83
Location: Moscow, Russia
Oh, and it might have to deal with the system, not VFD or Bochs.

_________________
Coffee is not airplane fuel.


Top
 Profile  
 
 Post subject: Re: VFD not copying file to floppy
PostPosted: Sat Sep 24, 2016 4:45 am 
Offline
Member
Member
User avatar

Joined: Sat Sep 17, 2016 2:14 am
Posts: 83
Location: Moscow, Russia
On my dad's laptop it was fixed, but I'm not sure if it will work on my desktop

_________________
Coffee is not airplane fuel.


Top
 Profile  
 
 Post subject: Re: VFD not copying file to floppy
PostPosted: Mon Sep 26, 2016 2:24 am 
Offline
Member
Member
User avatar

Joined: Sat Sep 17, 2016 2:14 am
Posts: 83
Location: Moscow, Russia
SOLVED! You just need to reinstall Windows and preferably use VMWare to emulate a programming VM.

_________________
Coffee is not airplane fuel.


Top
 Profile  
 
 Post subject: Re: VFD not copying file to floppy
PostPosted: Mon Sep 26, 2016 3:26 am 
Offline
Member
Member
User avatar

Joined: Sat Sep 17, 2016 2:14 am
Posts: 83
Location: Moscow, Russia
No need to continue with this topic anymore. You may close the topic.

_________________
Coffee is not airplane fuel.


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 35 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