Welcome, Guest. Please login or register.

Author Topic: C= 1581 handler and D64 tool on Aminet  (Read 4053 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
C= 1581 handler and D64 tool on Aminet
« 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
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline buzz

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 612
    • Show only replies by buzz
Re: C= 1581 handler and D64 tool on Aminet
« Reply #1 on: January 10, 2008, 04:17:39 PM »
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.
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: C= 1581 handler and D64 tool on Aminet
« Reply #2 on: January 10, 2008, 04:22:53 PM »
@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
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline adolescent

  • Hero Member
  • *****
  • Join Date: Sep 2003
  • Posts: 3056
    • Show only replies by adolescent
Re: C= 1581 handler and D64 tool on Aminet
« Reply #3 on: January 10, 2008, 04:44:02 PM »
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.
Time to move on.  Bye Amiga.org.  :(
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: C= 1581 handler and D64 tool on Aminet
« Reply #4 on: January 10, 2008, 05:29:57 PM »
Quote
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 :-)

Quote
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
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline ZeBeeDee

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 1081
    • Show only replies by ZeBeeDee
Re: C= 1581 handler and D64 tool on Aminet
« Reply #5 on: January 10, 2008, 05:40:25 PM »
Quote

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

To err is human ... to BOING divine!

[SIGPIC][/SIGPIC]
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: C= 1581 handler and D64 tool on Aminet
« Reply #6 on: January 10, 2008, 05:49:34 PM »
Quote
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.

Quote
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
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: C= 1581 handler and D64 tool on Aminet
« Reply #7 on: January 10, 2008, 05:53:11 PM »
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
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: C= 1581 handler and D64 tool on Aminet
« Reply #8 on: January 10, 2008, 06:29:24 PM »
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
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline adolescent

  • Hero Member
  • *****
  • Join Date: Sep 2003
  • Posts: 3056
    • Show only replies by adolescent
Re: C= 1581 handler and D64 tool on Aminet
« Reply #9 on: January 11, 2008, 02:19:48 AM »
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.
Time to move on.  Bye Amiga.org.  :(
 

Offline countzero

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 1938
    • Show only replies by countzero
    • http://blog.coze.org
Re: C= 1581 handler and D64 tool on Aminet
« Reply #10 on: January 11, 2008, 03:56:38 AM »
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)
I believe in mt. Fuji
 

Offline buzz

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 612
    • Show only replies by buzz
Re: C= 1581 handler and D64 tool on Aminet
« Reply #11 on: January 11, 2008, 10:40:03 AM »
Quote

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.
 

Offline Speelgoedmannetje

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 9656
    • Show only replies by Speelgoedmannetje
Re: C= 1581 handler and D64 tool on Aminet
« Reply #12 on: January 11, 2008, 10:52:44 AM »
Quote

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. :-)
And the canary said: \'chirp\'
 

Offline foleyjo

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 608
    • Show only replies by foleyjo
Re: C= 1581 handler and D64 tool on Aminet
« Reply #13 on: January 11, 2008, 11:09:56 AM »
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
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: C= 1581 handler and D64 tool on Aminet
« Reply #14 on: January 11, 2008, 02:53:44 PM »
Quote
adolescent wrote:
Does the game have a custom loader, protection, etc.?

No idea I'm afraid!

Quote
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
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10