Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Spindle spins out of control
2016-04-22 19:00
Trap

Registered: Jul 2010
Posts: 223
Spindle spins out of control

Hi,

I have a strange problem with Spindle 2.1. This time I have written a part that uses the memory area where Spindle is located (0c00-0dff), so I have to temporarily move it. I also save the ZP adresses $f0-$ff.
The problem I see is that the loader continues to access the disk - it actually looks like it starts to load in the middle of my part running. That really shouldn't be possible because the code isn't there. It makes me think that there could be some problems with other registers. I use DD02 extensively in this part, so I wonder if there could be a problem here? Anything else I might have missed?

Thanks.

Trap
 
... 10 posts hidden. Click here to view all posts....
 
2016-04-24 21:16
Krill

Registered: Apr 2002
Posts: 2980
Good that it works with ATN being set and then cleared again before loading anything, breaching the protocol a little. :)

Is there any reason not to keep all bus lines active when the loader is idle? I specifically designed my protocol like that, so that bus lock is no problem.
Another benefit is that resetting the C-64 will clear the lines and cause the drive to reset (as per protocol) - even with those C-64s that do not send a reset signal on the bus (or on a soft reset, for that matter).
2016-04-25 07:09
lft

Registered: Jul 2007
Posts: 369
Quoting Krill
Good that it works with ATN being set and then cleared again before loading anything, breaching the protocol a little. :)


It cannot be cleared again before loading. It has to remain set when making the next loadercall. This happens if you use the c8/48 magic numbers from Trap's post.

Quote:
Is there any reason not to keep all bus lines active when the loader is idle? I specifically designed my protocol like that, so that bus lock is no problem.
Another benefit is that resetting the C-64 will clear the lines and cause the drive to reset (as per protocol) - even with those C-64s that do not send a reset signal on the bus (or on a soft reset, for that matter).


Those are good ideas. I'll see if I can include something like that in the next upgrade, which is due soon anyway. Thanks for the suggestions!
2016-04-27 21:02
mankeli

Registered: Oct 2010
Posts: 146
Thanks for explanation!
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Sulevi/Virtual Dreams
chancer
Guests online: 146
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Webmasters
1 Slaygon  (9.6)
2 Perff  (9.6)
3 Sabbi  (9.5)
4 Morpheus  (9.4)
5 CreaMD  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.033 sec.