Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: motorollin on January 10, 2008, 03:58:56 PM
-
http://aminet.net/package/misc/emu/c1581
Has anyone ever used this software? I'm trying to use it to write a D64 to a floppy to use it in my 1581, but there are no instructions. I'm assuming the 1581 command is the one which reads/writes D64s since there are no other commands in the archive. But I can't work out the syntax. Also, am I supposed to have the C0: device mounted before I use it?
TIA
--
moto
-
Did you try "1581 ?" like with most amigaos commands it gives you the template. also there is an html document explaining how to use it in the archive but basically you do "1581 0 file" to read from disk 0. add "write" to the commandline to write the image.
the c0: device does not need to be mounted to read/write images.
-
@buzz
Yes I did check the syntax using "1581 ?". It was the device argument I wasn't sure about - I didn't know whether to put C0, DF0, or just 0. Have just tried it using:
1581 0 supremacy.d64 write
and I got some message about an error reading the image file, then it started writing tracks and seemed to complete ok, but then the disk was not readable on the C64 :-?
--
moto
-
Will a D64 image ever work on a 1581 disk? My assumption would be that 1581 expects a D81 image (or a custom image format). Why not dump a working 1581 image and see what the differences are.
-
adolescent wrote:
Will a D64 image ever work on a 1581 disk? My assumption would be that 1581 expects a D81 image (or a custom image format).
Hmm, I didn't know there was a difference. I missed the C64 the first time round so I'm learning all this stuff for the first time :-)
adolescent wrote:
Why not dump a working 1581 image and see what the differences are.
If you mean read one from a disk, I don't have one to try. But I will try to find one on the wonderweb and try writing that to disk.
--
moto
-
motorollin wrote:
@buzz
Yes I did check the syntax using "1581 ?". It was the device argument I wasn't sure about - I didn't know whether to put C0, DF0, or just 0. Have just tried it using:
1581 0 supremacy.d64 write
and I got some message about an error reading the image file, then it started writing tracks and seemed to complete ok, but then the disk was not readable on the C64 :-?
--
moto
From the help file in the archive:
1581 0 file - reads from drive 0 to file
1581 1 file write - writes to drive 1 from file
So basically what you are doing is correct ... Have you tried parsing both the drive and folder to the program? Perhaps it needs to locate the image with a little bit of help form the user
e.g.
1581 0 dh1:images\supremacy.d64 write
-
ZeBeeDee wrote:
From the help file in the archive:
1581 0 file - reads from drive 0 to file
1581 1 file write - writes to drive 1 from file
So basically what you are doing is correct ...
Didn't spot that in the readme - oops :-) Good to know I used the correct command though.
ZeBeeDee wrote:
Have you tried parsing both the drive and folder to the program? Perhaps it needs to locate the image with a little bit of help form the user
e.g.
1581 0 dh1:images\supremacy.d64 write
Actually I did do that. And I used tab completion to make sure I had the filename correct. I'll try with a .d81 when I can find one.
--
moto
-
OK have converted supremacy.d64 to a d81 using DirMaster and tested it in Vice, and it works. Just about to copy it to my Amiga and attempt to write it.
--
moto
-
Just tried to write the d81 to a floppy and got the same error reading the image file. The disk still didn't work in the 1581, and if I mounted C0: the disk was readable as a 1581 disk but empty, though if I tried to carry out any functions on the disk (load $, or save a basic programme to it) I got error 74 drive not ready on the 1581 error channel.
--
moto
-
Does the game have a custom loader, protection, etc.? Try with a single-filed game or demo.
BTW, D64 are ~175k, D81 are ~820k. Edit: Corrected sizes.
-
there was a 1581 driver for the PC somewhere and I remember having more luck with it. (I have 1581 kit too, sadly not being used much atm)
-
motorollin wrote:
Just tried to write the d81 to a floppy and got the same error reading the image file. The disk still didn't work in the 1581, and if I mounted C0: the disk was readable as a 1581 disk but empty, though if I tried to carry out any functions on the disk (load $, or save a basic programme to it) I got error 74 drive not ready on the 1581 error channel.
--
moto
I have tested the program a moment ago with a d81 image. It works fine. Your path to the image must be incorrect to get the "error reading the image file". The program has bad error detection and writes its buffer whether it read in the image or not, however it does work giving it a correct image path.
-
motorollin wrote:
http://aminet.net/package/misc/emu/c1581
Has anyone ever used this software? I'm trying to use it to write a D64 to a floppy to use it in my 1581, but there are no instructions. I'm assuming the 1581 command is the one which reads/writes D64s since there are no other commands in the archive. But I can't work out the syntax. Also, am I supposed to have the C0: device mounted before I use it?
TIA
--
moto
Haven't used it... I always use the x1541 cable + Star Commander to copy d64 files to disk. Works like a treat. :-)
-
Ive been using the amiga version of the 1541 without any prblems however the new mmc64 +retro replay cartridge appears to play d64s off an sd card so I may have to get one of them and put my trusty diskdrive into storage where it can be safe from getting dirty and broken
-
adolescent wrote:
Does the game have a custom loader, protection, etc.?
No idea I'm afraid!
buzz wrote:
Your path to the image must be incorrect
The path was definitely correct. As I said I used tab completion to ensure the path and filename were correct.
I have just created an empty d81 in DirMaster, loaded it in to VICE, formatted it, and successfully saved/reloaded a Hello World BASIC programme on to it. I'm just about to try writing that to a disk.
--
moto
-
Sorted :-D It must have been the image I was using. Here's what I did:
1. Installed DirMaster
2. Installed WinVICE
3. Created an empty d81 image in DirMaster and saved it
4. Configured WinVICE to use a 1581 as drive 8
5. Opened the blank d81 in VICE
6. Formatted the blank d81
7. Saved a test BASIC programme
8. Copied the d81 to my Amiga and used the 1581 tool to write the d81 image to the disk
This image then worked in the 1581, and I was able to load the test app and also save a new one to the disk.
Thanks all
--
moto