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: 135
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.
 
... 22 posts hidden. Click here to view all posts....
 
2024-10-31 07:12
The Sarge

Registered: Aug 2002
Posts: 47
If you want, you can use Assembly64. It has an inbuilt "Flip Disk Player" that takes care of this for you. Multi-disk demos are started with this feature, and you don't even have to swap disks; it does this for you automatically.
The Flip Disk Player has been adjusted in most of the popular demos mitigating this problem with Ultimates right now.

https://assembly64.hackerswithstyle.se/assembly/download.html
2024-10-31 11:42
tlr

Registered: Sep 2003
Posts: 1780
maybe it is due to the drive not being 'I' initialized, which more or less happens when loading something?

EDIT: could be tested by loading the first file, then power cycling the drive before doing "RUN".
2024-10-31 14:44
chatGPZ

Registered: Dec 2001
Posts: 11327
Quote:
maybe it is due to the drive not being 'I' initialized, which more or less happens when loading something?

good one. i remember this case was tricky to fix in chameleon :)
2024-10-31 17:38
mankeli

Registered: Oct 2010
Posts: 135
Yeah, this works:
LOAD"*",8,1
RUN

But this doesn't:
LOAD"*",8,1
*drive reset*
RUN


So it's indeed the loader depending on some state on the drive. Funny, since atleast Spindle works with the Action Replay fast loader.
2024-10-31 18:00
LordCrass

Registered: Apr 2023
Posts: 8
It's because of the disk ID bytes at drive memory $12/$13. A shortcut is given to execute an FDC read job, which at some point compares on-disk ID to what is expected, but what is expected hasn't been set and is just $00, so error 29 Disk ID Mismatch occurs.
2024-10-31 18:26
tlr

Registered: Sep 2003
Posts: 1780
Quote: It's because of the disk ID bytes at drive memory $12/$13. A shortcut is given to execute an FDC read job, which at some point compares on-disk ID to what is expected, but what is expected hasn't been set and is just $00, so error 29 Disk ID Mismatch occurs.

Interesting! So how does this work on regular load? It still uses FDC read jobs so who sets up $12/$13?

There is the BAM flag at $1c which indicates we are not initialized so I guess that is involved somehow?
2024-10-31 19:10
tlr

Registered: Sep 2003
Posts: 1780
Quote: Interesting! So how does this work on regular load? It still uses FDC read jobs so who sets up $12/$13?

There is the BAM flag at $1c which indicates we are not initialized so I guess that is involved somehow?


To answer my own question: The id always gets set up when doing a SEEK ($b0).
A regular load seems to always do initialize in the beginning of the directory search, but for loaders that do not use this a SEEK is sufficient.

That job code handling is done by the $45 check at $f3ec.
2024-10-31 23:37
Krill

Registered: Apr 2002
Posts: 2961
Quoting Martin Piper
I remember now, it was the transwarp example that issues a M-E with the partial just loaded file in the read buffer: Transwarp V0.84
Yes, that's part of the 2-blocks bootstrap fastload strapped in front to speed up booting the actual loader.
Was 1-block in early dev versions, but that turned out to be too slow for my purposes. =)
(You can always fall back to loading Transwarp itself via ,8+RUN not ,8,1 when autorun won't work for some reason.)

As for the problems described here, i like the concept of a multi-loader coming in a self-contained package in C-64 memory, that would function just fine when run immediately after drive reset, new disk etc. :)

Then again, no particular love for non-stock aftermarket hardware.
2024-11-01 08:08
Burglar

Registered: Dec 2004
Posts: 1082
Quoting mankeli
This happens on U64 too. (Ultimate 64 Elite V1.43 - 3.11) Aerial Core for example doesn't work with mount & run, it needs run disk.

Areal Core has its own issues, it does not load on a stock c64+1541 without cartridge due to the dirart and not having the boot prg as first file.
trying to load the prg will give file not found, unless you modify the filename with ? and *
2024-11-01 12:52
Krill

Registered: Apr 2002
Posts: 2961
Quoting Burglar
it does not load on a stock c64+1541 without cartridge due to the dirart and not having the boot prg as first file.
trying to load the prg will give file not found, unless you modify the filename with ? and *
Time to add that "disk image linting" to cc1541 we talked about recently. =)
Previous - 1 | 2 | 3 | 4 | 5 - 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
Mason/Unicess
astaroth/TRSI
Didi/Laxity
REBEL 1/HF
Guests online: 74
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Uncensored  (9.6)
7 Wonderland XIV  (9.6)
8 Comaland 100%  (9.6)
9 No Bounds  (9.6)
10 Unboxed  (9.5)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Love is the Drug  (9.6)
6 Libertongo  (9.5)
7 Dame Kitty and the M..  (9.5)
8 Moving Balls  (9.5)
9 Rainbow Connection  (9.5)
10 Morph  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Fossil  (9.3)
5 Nostalgia  (9.3)
Top Logo Graphicians
1 t0m3000  (10)
2 Sander  (9.8)
3 Mermaid  (9.5)
4 Facet  (9.4)
5 Shine  (9.4)

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