CCS64 Forum

A forum to discuss issues about CCS64!
It is currently Mon Dec 11, 2017 7:42 am

All times are UTC + 2 hours




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Save problem
PostPosted: Mon May 24, 2004 5:29 pm 
Offline

Joined: Mon May 24, 2004 5:25 pm
Posts: 7
I'm trying to save a BASIC file that already exists to a .d64.

I've got the 1541 on continuous update, but to no avail.

I'm using the

save "@0:name",8

convention, which should save the new file over the old one.

Is this supported by CCS64, or am I doing something wrong?

_________________
Almo!


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 25, 2004 5:36 pm 
Offline

Joined: Mon May 24, 2004 5:25 pm
Posts: 7
update:

I tested the @0: save with a blank disc and bogus program, and it works fine. So more details:

I've got a .d64 with a game on it. The boot sequence is written in BASIC. I need to delete a line from the loader to get it to work. When I load it, delete the line, and do

save "@0:prgname",8

it doesn't replace the program. Also,

open 1, 8, 15, "s0:prgname":close 1

won't delete it. So it's like the disc is write protected. I've hunted through the options on CCS64, and haven't found a write-protect option for discs. Am I just being stupid here?!?

:?

_________________
Almo!


Last edited by Almo on Wed May 26, 2004 10:28 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Tue May 25, 2004 9:07 pm 
Offline

Joined: Mon Sep 15, 2003 7:14 am
Posts: 66
First, due to a bug in the original Commodore 1541 disk drive, saving with @ doesn't always work right on a disk that's nearly full. It's safe most of the time, though, so I doubt this is the problem.

It may be possible (although unlikely) that the D64 file itself is write-protected on your hard drive. Try locating it with Windows Explorer, clicking on it with the right mouse button, and selecting Properties. Near the bottom of the "General" tab, there will be a check box labelled "Read-only". If there's a check mark there, you probably won't be able to modify that file.

I believe CCS64 also has a disk write protect feature, but you'd have to enable it for it to work.

Individual files on a disk can be write-protected as well. These files are marked with a < after the file type. For example:
Code:
1    "JUST AN ORDINARY FILE"   PRG
15   "WRITE PROTECTED FILE"    PRG<
15   "NOT WRITE PROTECTED"     PRG
33   "CANT TOUCH THIS"         PRG<
This ability is very rarely used, though, due to having to edit the disk data directly to do it.

It's also possible for the emulated drive to have a disk error, but it's easy to tell when this happens because the light will flash. CCS64 3.0 uses the Scroll Lock light to emulate the disk drive light. If you're using CCS64 2.0, you may need to enable the 1541 status display in the options to determine whether the light is flashing or not. (In fact, you might want to enable that feature anyway, so you can see what the disk drive does when you try to save.)

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 26, 2004 10:26 am 
Offline

Joined: Mon May 24, 2004 5:25 pm
Posts: 7
okay, the .d64 isn't write protected.

None of the files have "<" after them.

I'm using V3.0 beta 1.3, and the scroll lock light doesn't do anything.

But I've turned on the Drive status indicator. When I try the @0: save, it stops at track 18, and the red light blinks.

when I try to s0: the file, it also stops on track 18 and blinks.

:(

_________________
Almo!


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 27, 2004 1:27 pm 
Offline

Joined: Thu May 27, 2004 1:20 pm
Posts: 4
maybe your .d64 file is in a zip or maybe the .d64 file is write protected ??

Just suggestions


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 29, 2004 12:11 am 
Offline

Joined: Mon Sep 15, 2003 7:14 am
Posts: 66
That blinking definitely means the emulated drive is detecting an error of some sort. A real drive would do that if a disk develops bad sectors or other damage, but this shouldn't happen with emulated disks. It's still possible that the D64 is corrupted somehow, or possibly using a non-standard file system.

To get slightly more error information from the disk drive, you can use this little program (typed from memory so I'm not completely sure I got it right):
Code:
10 OPEN 15,8,15
20 INPUT#15,A$,B$,C$,D$
30 CLOSE 15
40 PRINT A$:PRINT B$:PRINT C$:PRINT D$
(Reading the drive's error status will also stop the blinking light.)

One thing you could try is to download the game from another source, such as the "Arnold" site. There may be a slightly different version out there that will work in CCS64 without modification.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 08, 2004 1:47 pm 
Offline

Joined: Mon May 24, 2004 5:25 pm
Posts: 7
Okay, tried the version at Arnold, it still has the copy-protected version. :( I just need to change 2 lines in a BASIC file and save it. That should fix the copy protection.

_________________
Almo!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 09, 2004 5:51 am 
Offline

Joined: Mon Sep 15, 2003 7:14 am
Posts: 66
What game is it?

_________________
Image


Top
 Profile  
 
 Post subject: Re: Save problem
PostPosted: Wed Jun 09, 2004 11:29 pm 
Offline

Joined: Sat Jan 03, 2004 11:42 pm
Posts: 12
Almo wrote:
Is this supported by CCS64

Yes it is , but sometimes fails to refresh the contents of the disk currently loaded in memory.
Select another d64 then back to your d64, or simply reselect your d64 after saving.
Also enable true drive emulation by selecting f9/drive8/emulation mode NORMAL, which should do the trick for everything related to disk problems.

_________________
-=[]=--- iAN CooG ---=[]=-


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 03, 2004 3:58 pm 
Offline

Joined: Mon May 24, 2004 5:25 pm
Posts: 7
StevenRoy wrote:
What game is it?

Eternal Dagger. (Wizard's Crown II)

_________________
Almo!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group