MDV Dump

Anything QL Software or Programming Related.
User avatar
bwinkel67
QL Wafer Drive
Posts: 1202
Joined: Thu Oct 03, 2019 2:09 am

MDV Dump

Post by bwinkel67 »

I've been reclaiming some documents, software. and SB & C source code from old MDV's and after re-felting they still seem to have an occasional bad sector. I was able to use mdvedit (or is it opdedit?), which I found in the In_Out_Kit_v1_05, to go through sector-by-sector on the MDV and reclaim the last few chunks of code that didn't copy onto my SD card.

Wondering if there is a utility that would just dump all the sectors into a file at once so I can do this on an emulator instead of actual microdrives since it has to scan and find each sector as you step (so it has to make a full loop usually). It looks like mdvedit only skipped a couple of sectors that it couldn't read .

I will say, when microdrives work, there is something satisfying about hearing it move the tape forward sector-by-sector as it dumps the file (I usually do a copy to con first to see if/where it hangs since the buffer usually lets me quickly copy it the second time). If only they were more reliable...I've also discovered that sometimes lifting one corner of the MDV up can help it read past a troubled spot, though not always. vDrive just makes a beep...maybe we need to record that sound and have vDrive play it :-/


User avatar
NormanDunbar
Forum Moderator
Posts: 2274
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: MDV Dump

Post by NormanDunbar »

You could try something like the following if you have Toolkit 2:

Code: Select all

format ram1_mdv1


Then check for files with an asterisk at the start/end of their name. Those were corrupt. Copy the others to "a safe place" then repeat the format.

I used to do this a few times and usually managed to rescue all my files.

Might help?

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.
Martin_Head
Aurora
Posts: 852
Joined: Tue Dec 17, 2013 1:17 pm

Re: MDV Dump

Post by Martin_Head »

In the MDI driver http://www.dilwyn.me.uk/utils/MDIdriver108.zip there is a program (SuperBASIC with a shot M/C routine to do the actual reading) that will read all the sectors on a Microdrive cartridge (good bad or indifferent) to convert it into an image file. There are also facilities to examine and repair images. And once the Microdrive has been read, you can do all the editing in an emulator.

The program is not very elegant, but it gets the job done.


User avatar
RalfR
Aurora
Posts: 872
Joined: Fri Jun 15, 2018 8:58 pm

Re: MDV Dump

Post by RalfR »

NormanDunbar wrote:You could try something like the following if you have Toolkit 2:

Code: Select all

format ram1_mdv1


Then check for files with an asterisk at the start/end of their name. Those were corrupt. Copy the others to "a safe place" then repeat the format.

I used to do this a few times and usually managed to rescue all my files.
In an actual TK2? As far as I know, this was only in QJumps RAMPRT.


4E75 7000
User avatar
tofro
Font of All Knowledge
Posts: 2702
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: MDV Dump

Post by tofro »

Nah, that's never been part of TK2 - It came with RAMPRT as Ralf says and some later Miracle disk interfaces (Trump Card and later)

Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
NormanDunbar
Forum Moderator
Posts: 2274
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: MDV Dump

Post by NormanDunbar »

Interesting. I never had Ramprt.
Mystery!

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.
User avatar
RalfR
Aurora
Posts: 872
Joined: Fri Jun 15, 2018 8:58 pm

Re: MDV Dump

Post by RalfR »

NormanDunbar wrote:Interesting. I never had Ramprt.
Mystery!
Yes that is quite a mystery. So the only solution can be: RAMPRT was incorporated in the last version of TK2 of the Trump Card (perhaps) or deep buried in your BOOT file :D . But I do not believe this. Why had TT made this a separate extension? It is very old from the QRAM suite. Or you have used QFlash (from which we do not know if this was first or RAMPRT's MDV image but QFlash use MDVLOAD)

FORMAT ram1_mdv1 is not incorporated in SMSQ/E...by the way.


4E75 7000
User avatar
NormanDunbar
Forum Moderator
Posts: 2274
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: MDV Dump

Post by NormanDunbar »

Hi Ralf,

I can only think that it was TK2 on my Trump Card, or Gold Card. It's still a mystery.

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.
User avatar
vanpeebles
Commissario Pebbli
Posts: 2821
Joined: Sat Nov 20, 2010 7:13 pm
Location: North East UK

Re: MDV Dump

Post by vanpeebles »

I used this method on my trump card :)


User avatar
RalfR
Aurora
Posts: 872
Joined: Fri Jun 15, 2018 8:58 pm

Re: MDV Dump

Post by RalfR »

Probably the code has found its way into the Trumpcard ROM. The Trumpcard manual states it:

---------- snip ----------

Microdrive Imaging

Microdrive imaging is a very fast method of loading files from a
Microdrive cartridge. To produce a Microdrive image, a RAM Disk is
formatted with the name of the Microdrive required:

FORMAT ram1_mdv2 loads an image of mdv2 into RAM Disk 1

---------- snip ----------


4E75 7000
Post Reply