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 and Sparkle demos not launching
2024-10-29 21:01
mankeli

Registered: Oct 2010
Posts: 146
Spindle and Sparkle demos not launching

Can someone explain why demos using Sparkle or Spindle loaders can't be run from 1541U by selecting the launch file and using "mount & run"?

You got to use "Run Disk" for the whole image. 99.9999% of the C64 demos can be launched with mount & run, and somehow this only seems affect those aforementioned loaders.
 
... 60 posts hidden. Click here to view all posts....
 
2024-11-08 20:43
Krill

Registered: Apr 2002
Posts: 2981
Note that reset/powercycle just before running can cause other issues.

Here's a decades-old code snippet from the olden days before 1541U et al.:
stepperfix: ; here, the drive was apparently reset immediately before running the loader -
            ; step down a track: this works normally if the stepping bits are congruent with the stepper motor.
            ; however, it may happen that the bits are misaligned (opposite to the actual stepper position, bit 1
            ; reversed), this alone does not move the head but stepping makes it go into the direction opposite to
            ; the one desired when moving. the stepping down two halftracks will actually step up and step down one
            ; halftrack each and thus will end up on the same track as before, but align the stepper bits to the motor.

            ldy #2
            sty CURRTRACK41
            dey
            jsr trkseek41

stepperok:
This kind of thing is relevant only when going full bare-metal, though, DOS "I" routine should work fine. =)

Edit: Thinking about it, not so sure any more about the last bit.
2024-11-08 21:34
chatGPZ

Registered: Dec 2001
Posts: 11390
anything that reads from the disk (using DOS/jobcode) should realign the stepper with the usual +/-0.5 tracks dance, no?
2024-11-08 21:51
Krill

Registered: Apr 2002
Posts: 2981
Quoting chatGPZ
anything that reads from the disk (using DOS/jobcode) should realign the stepper with the usual +/-0.5 tracks dance, no?
Only after errors. The problem of incongruent stepper bits may thus appear only after stepping (so after DOS-init and switching to bare-metal routines).
2024-11-08 22:09
chatGPZ

Registered: Dec 2001
Posts: 11390
But we were talking about "I" command, no? When there is no error, its all fine? :)
2024-11-08 22:15
tlr

Registered: Sep 2003
Posts: 1791
Quote: But we were talking about "I" command, no? When there is no error, its all fine? :)

it is, but a subsequent custom track seek needs to consider that the stepper bits can be incorrect and do "the dance" it self.
2024-11-08 22:40
chatGPZ

Registered: Dec 2001
Posts: 11390
But how would they be, after succesfull "I"? Wouldn't the DOS set them at least once?
2024-11-08 22:43
tlr

Registered: Sep 2003
Posts: 1791
Not sure if the are touched at all if not trying to move the head. A seek to track 18 if you are already there probably won't move anything.
2024-11-09 01:33
Sparta

Registered: Feb 2017
Posts: 49
Please correct me if I’m mistaken but it seems to me that this is only a problem if you don’t know which track you are on before the first 0.5 track step is taken by the loader.
2024-11-09 02:12
Krill

Registered: Apr 2002
Posts: 2981
Quoting Sparta
Please correct me if I’m mistaken but it seems to me that this is only a problem if you don’t know which track you are on before the first 0.5 track step is taken by the loader.
Well seems to me that generally you don't know which track you're on right after a reset/powercycle. =)
2024-11-09 02:32
Martin Piper

Registered: Nov 2007
Posts: 726
Quote: Quoting Sparta
Please correct me if I’m mistaken but it seems to me that this is only a problem if you don’t know which track you are on before the first 0.5 track step is taken by the loader.
Well seems to me that generally you don't know which track you're on right after a reset/powercycle. =)


And until the disk spins, a GCR sync mark is found, the GCR header is read, decoded, and the track and sector bytes are discovered. :)
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 - 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
Black Hole
Twoflower/ΤRIΛD
Didi/Laxity
Guests online: 110
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.6)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Uncensored  (9.6)
7 The Demo Coder  (9.6)
8 Comaland 100%  (9.6)
9 Wonderland XIV  (9.6)
10 What Is The Matrix 2  (9.6)
Top onefile Demos
1 Layers  (9.7)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 Rainbow Connection  (9.5)
6 Morph  (9.5)
7 Dawnfall V1.1  (9.5)
8 Libertongo  (9.5)
9 Katzen-Video.mp4  (9.5)
10 Onscreen 5k  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Oxyron  (9.3)
3 Performers  (9.3)
4 Fairlight  (9.3)
5 Triad  (9.3)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 MWS  (9.7)
4 hedning  (9.7)
5 Tim  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.247 sec.