FLP_DRIVE on QPC2 5.02
FLP_DRIVE on QPC2 5.02
Anyone else having problems with the FLP_DRIVE command on QPC2 when used to change a floppy disk image attached to drive 1?
FLP_DRIVE 1,"D:\example.img"
I've tried changing the .img to _img in case the separator filtering is catching it, but it's not consistent.
Sometimes that works. The weird thing is, sometimes it reports either not found or medium check failed at the first attempt. If I then issue the same command a second time, it seems to work, I can DIR the list of files and copy them all, which tends to imply the image file is not damaged.
So, issuing the FLP_DRIVE command two or more times gets it to work. Wonder what I'm doing wrong?
FLP_DRIVE 1,"D:\example.img"
I've tried changing the .img to _img in case the separator filtering is catching it, but it's not consistent.
Sometimes that works. The weird thing is, sometimes it reports either not found or medium check failed at the first attempt. If I then issue the same command a second time, it seems to work, I can DIR the list of files and copy them all, which tends to imply the image file is not damaged.
So, issuing the FLP_DRIVE command two or more times gets it to work. Wonder what I'm doing wrong?
--
All things QL - https://dilwyn.theqlforum.com
All things QL - https://dilwyn.theqlforum.com
Re: FLP_DRIVE on QPC2 5.02
Sounds like the same problems Ive been having with SMSQmulator but not, I think, ever with QPC2. Perhaps you could try "ejecting" a disk before inserting a new one, ie FLP_DRIVE 1, "", then specify the file you want. Also, make sure youre not using the same image in flp2_. Sorry, thats the best I can do..
Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
-
- Font of All Knowledge
- Posts: 4752
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: FLP_DRIVE on QPC2 5.02
Hi,
I use QPC2 and SMSQMulator on Linux, I do not have this problem, so maybe it is the Windows operating system you are using...
I use QPC2 and SMSQMulator on Linux, I do not have this problem, so maybe it is the Windows operating system you are using...
Regards,
Derek
Derek
Re: FLP_DRIVE on QPC2 5.02
Windows 10 Home. Unfortunately I don't have a PC with a different version to try.Derek_Stewart wrote:Hi,
I use QPC2 and SMSQMulator on Linux, I do not have this problem, so maybe it is the Windows operating system you are using...
--
All things QL - https://dilwyn.theqlforum.com
All things QL - https://dilwyn.theqlforum.com
Re: FLP_DRIVE on QPC2 5.02
Floppy drive 2 was unassigned. Using FLP_DRIVE 1,"" seems to clear it. Uusually only happens if I forget to use underscore instead of period in the image name first, e.g.pjw wrote:Sounds like the same problems Ive been having with SMSQmulator but not, I think, ever with QPC2. Perhaps you could try "ejecting" a disk before inserting a new one, ie FLP_DRIVE 1, "", then specify the file you want. Also, make sure youre not using the same image in flp2_. Sorry, thats the best I can do..
FLP_DRIVE 1,"d:\image.img"
Not Found
FLP_DRIVE 1,"d:\image_img"
Medium Check Failed (for example)
FLP_DRIVE 1,"d:\image_img"
then works fine.
Either asserting the name a second time or clearing it with a blank assignment seems to clear the problem. Thanks. First time I've noticed this happening.
--
All things QL - https://dilwyn.theqlforum.com
All things QL - https://dilwyn.theqlforum.com
- mk79
- QL Wafer Drive
- Posts: 1349
- Joined: Sun Feb 02, 2014 10:54 am
- Location: Esslingen/Germany
- Contact:
Re: FLP_DRIVE on QPC2 5.02
I cannot seem to reproduce it. You could try running DebugView https://docs.microsoft.com/en-us/sysint ... /debugview and start QPC with the command line "QPC2 -dbg 1024" and post the output (noting at what time which command was executed).
- XorA
- Site Admin
- Posts: 1640
- Joined: Thu Jun 02, 2011 11:31 am
- Location: Shotts, North Lanarkshire, Scotland, UK
Re: FLP_DRIVE on QPC2 5.02
When I see weird file opening issues like this first place I always look is virus checker.
Win10 and later do not need an external virus checker, it just breaks more than it fixes.
Win10 and later do not need an external virus checker, it just breaks more than it fixes.
- mk79
- QL Wafer Drive
- Posts: 1349
- Joined: Sun Feb 02, 2014 10:54 am
- Location: Esslingen/Germany
- Contact:
Re: FLP_DRIVE on QPC2 5.02
After having spend over a week investigating weird production machine failures at work that in the end happen to have been caused by McAfee I can only concur... that software is pure evil.XorA wrote:Win10 and later do not need an external virus checker, it just breaks more than it fixes.
- NormanDunbar
- Forum Moderator
- Posts: 2487
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Buckie, Scotland
- Contact:
Re: FLP_DRIVE on QPC2 5.02
Having suffered from McAfee in the past, it's no surprise that they give it away free with new laptops etc. It's a pain in the backside, and slows everything down -- if you have to use Windows that is.
Cheers,
Norm.
Cheers,
Norm.
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
-
- Font of All Knowledge
- Posts: 4752
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: FLP_DRIVE on QPC2 5.02
Hi,
As I stated earlier,no problems with Linux/Wine with QPC2 v5.x or SMSQmulator.
SO it must be a Windows problems or feature? I thought that an exception could be made in the Windows setup and give the correct permissions to overcome this, when I used use Windows and repair the Windows based PCs, this was most of the problems, basically a operating system permissions issue.
As I stated earlier,no problems with Linux/Wine with QPC2 v5.x or SMSQmulator.
SO it must be a Windows problems or feature? I thought that an exception could be made in the Windows setup and give the correct permissions to overcome this, when I used use Windows and repair the Windows based PCs, this was most of the problems, basically a operating system permissions issue.
Regards,
Derek
Derek