| |
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.... |
| |
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). |
| |
lft
Registered: Jul 2007 Posts: 369 |
Quoting KrillGood 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! |
| |
mankeli
Registered: Oct 2010 Posts: 146 |
Thanks for explanation! |
Previous - 1 | 2 - Next |