Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
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 motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: C= 1581 handler and D64 tool on Aminet
« Reply #1 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 motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: C= 1581 handler and D64 tool on Aminet
« Reply #2 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 motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: C= 1581 handler and D64 tool on Aminet
« Reply #3 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 all replies
Re: C= 1581 handler and D64 tool on Aminet
« Reply #4 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 all replies
Re: C= 1581 handler and D64 tool on Aminet
« Reply #5 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 motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: C= 1581 handler and D64 tool on Aminet
« Reply #6 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
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: C= 1581 handler and D64 tool on Aminet
« Reply #7 on: January 11, 2008, 04:00:44 PM »
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
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