Page 2 of 5
Re: File2VDK anyone?
Posted: Mon Sep 14, 2015 7:55 pm
by utz
Ah, well then this could be done with a simple batch/shell command.
For Windows .bat, I believe this should do it:
Code: Select all
copy /b /y header.bin+%1 %1.vdk > nul
resp for .sh
header.bin is attached.
However, there's one problem: It seems file2dsk spits out 35 track images, but VDKs are 40 tracks?
Re: File2VDK anyone?
Posted: Mon Sep 14, 2015 8:42 pm
by KenH
As a side note, if you're using Pere's
DOS Extender or Tormod's
DWLOAD ROM you can use the DLOAD / DWLOAD command to load and run .BIN and .BAS files directly on your Dragon without the need to go through a VDK file.
Re: File2VDK anyone?
Posted: Mon Sep 14, 2015 8:53 pm
by pser1
Hi,
file2dsk is a program to create CoCo discs 35 tracks instead of 40.
I think it would be better to use Rolf Michelsen's program DragonTools
You will just need a clean disc to begin with.
cheers
pere
Re: File2VDK anyone?
Posted: Mon Sep 14, 2015 9:20 pm
by utz
If I understand correctly DragonTools is Windows only though. So it's no use to me.
Re: File2VDK anyone?
Posted: Tue Sep 15, 2015 9:44 pm
by Bosco
Had a play with Rolf's Dragon Tools. Works great!
If you could drag files onto it, it'd be amazing!
![Laughing :lol:](./images/smilies/icon_lol.gif)
Re: File2VDK anyone?
Posted: Wed Sep 16, 2015 8:29 pm
by rolfmichelsen
Bosco wrote:Had a play with Rolf's Dragon Tools. Works great!
If you could drag files onto it, it'd be amazing!
![Laughing :lol:](./images/smilies/icon_lol.gif)
I'm planning to fix that this weekend. Hope to get some time for recreational programming then
-- Rolf
Re: File2VDK anyone?
Posted: Wed Sep 16, 2015 8:39 pm
by Bosco
I'm planning to fix that this weekend. Hope to get some time for recreational programming then
That would be awesome!
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Re: File2VDK anyone?
Posted: Sun Sep 27, 2015 9:55 pm
by rolfmichelsen
Finally got some time to put together a File2VDK utility based on the DragonTools project. I'm attaching a pre-release to this post. Simply run file2vdk.exe with the files you want stored on a new VDK diskette as command line arguments. The VDK disk image will take it's name from the first filename. A proper release with a bit more error handling will arrive someday... Let me know if you have questions.
-- Rolf
Edit: This program doesn't support dragging files onto it. Will be fixed shortly...
Re: File2VDK anyone?
Posted: Mon Sep 28, 2015 1:30 pm
by Bosco
Hi Rolf.
Just been playing with File2VDK (from the command line). Appears to work perfectly however when I try to load a binary into XRoar (RUN"<name>.BIN") from the generated vdk I get an `?FM ERROR'.
The bin I'm testing with was output from LWASM in DECB binary format.
Re: File2VDK anyone?
Posted: Mon Sep 28, 2015 7:55 pm
by tormod
Bosco, unless Fil2VDK translates DECB binaries into Dragon DOS binaries, this won't work because the RUN command is a Dragon DOS command that will load and run only a file in Dragon DOS format.
Anyway, you are well aware that XRoar can load a DECB binary straight into memory without using DOS and disk images, right?