OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Nov 21, 2017 11:31 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

Joined: Sat Sep 17, 2016 2:14 am
Posts: 58
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

_________________
I will be back... - Arnold Schwarzenegger
Code:
if tired = no then
code = yes
sleep = no
else
code = no
sleep = yes


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: 808
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: 1019
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.

_________________
Image http://www.archefire.org/_PROJECTS_/ (udocproject@yahoo.com)

YouTube Development Videos:
http://www.youtube.com/user/AltComp126/videos

Current IP address for hosts file (all subdomains):
190.150.9.244 archefire.org


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

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

_________________
I will be back... - Arnold Schwarzenegger
Code:
if tired = no then
code = yes
sleep = no
else
code = no
sleep = yes


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

Joined: Sat Sep 17, 2016 2:14 am
Posts: 58
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?

_________________
I will be back... - Arnold Schwarzenegger
Code:
if tired = no then
code = yes
sleep = no
else
code = no
sleep = yes


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

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


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

_________________
I will be back... - Arnold Schwarzenegger
Code:
if tired = no then
code = yes
sleep = no
else
code = no
sleep = yes
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: 1179
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

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

_________________
I will be back... - Arnold Schwarzenegger
Code:
if tired = no then
code = yes
sleep = no
else
code = no
sleep = yes


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: 1179
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

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

_________________
I will be back... - Arnold Schwarzenegger
Code:
if tired = no then
code = yes
sleep = no
else
code = no
sleep = yes


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: 1179
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

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

_________________
I will be back... - Arnold Schwarzenegger
Code:
if tired = no then
code = yes
sleep = no
else
code = no
sleep = yes


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

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

_________________
I will be back... - Arnold Schwarzenegger
Code:
if tired = no then
code = yes
sleep = no
else
code = no
sleep = yes


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

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

_________________
I will be back... - Arnold Schwarzenegger
Code:
if tired = no then
code = yes
sleep = no
else
code = no
sleep = yes


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

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

_________________
I will be back... - Arnold Schwarzenegger
Code:
if tired = no then
code = yes
sleep = no
else
code = no
sleep = yes


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 2 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