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-04 21:24
tlr

Registered: Sep 2003
Posts: 1790
I suppose the $1c BAM flag could be used to skip the read BAM call if already done, but maybe it's not worth it.
2024-11-08 07:37
Martin Piper

Registered: Nov 2007
Posts: 726
Quote: 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.


After experimenting with making a smaller boot loader, I came up with this: https://github.com/martinpiper/C64Public/raw/refs/heads/master/..

This loads only $13 bytes at $316, it then executes code at $318, this then loads up to 256 bytes (in the same file) into $cf00-$cfff range.

In this example it loads code at $cfaf, which then just loads the next file. It could however do anything, like a M-E and then turbo load.

Code for the boot: https://github.com/martinpiper/C64Public/blob/master/IRQDisk/Sm..
2024-11-08 09:10
Burglar

Registered: Dec 2004
Posts: 1105
Quoting Martin Piper
After experimenting with making a smaller boot loader, I came up with this: https://github.com/martinpiper/C64Public/raw/refs/heads/master/..

This loads only $13 bytes at $316, it then executes code at $318, this then loads up to 256 bytes (in the same file) into $cf00-$cfff range.

In this example it loads code at $cfaf, which then just loads the next file. It could however do anything, like a M-E and then turbo load.

Code for the boot: https://github.com/martinpiper/C64Public/blob/master/IRQDisk/Sm..

I'm afraid your autorun code does not work with my dolphindos setup, cpu jam $0008. so this is less compatible then the issue this thread is about.
I haven't tested more, but I wouldn't be surprised if this crashes on many other setups (with cartridge fastloaders) too.
2024-11-08 09:21
Martin Piper

Registered: Nov 2007
Posts: 726
Quote: Quoting Martin Piper
After experimenting with making a smaller boot loader, I came up with this: https://github.com/martinpiper/C64Public/raw/refs/heads/master/..

This loads only $13 bytes at $316, it then executes code at $318, this then loads up to 256 bytes (in the same file) into $cf00-$cfff range.

In this example it loads code at $cfaf, which then just loads the next file. It could however do anything, like a M-E and then turbo load.

Code for the boot: https://github.com/martinpiper/C64Public/blob/master/IRQDisk/Sm..

I'm afraid your autorun code does not work with my dolphindos setup, cpu jam $0008. so this is less compatible then the issue this thread is about.
I haven't tested more, but I wouldn't be surprised if this crashes on many other setups (with cartridge fastloaders) too.


I don't target incompatible extras :)
2024-11-08 09:43
Burglar

Registered: Dec 2004
Posts: 1105
Quoting Martin Piper
I don't target incompatible extras :)
then you're in the wrong thread :)
2024-11-08 10:50
Martin Piper

Registered: Nov 2007
Posts: 726
Just turn oof dolphin dos. Like you need to do for most other games anyway.
2024-11-08 11:11
Bitbreaker

Registered: Oct 2002
Posts: 508
I guess this is the difference in bitfire's bootloader install, before uploading the loader with M-W/M-E and reading in the dir sector. I had faced those problems on Peiselulli's old 1541U too.
.install_bootstrap   
                jsr .open_w_15
                lda #'i'
                jsr .iecout
                jsr .unlisten
2024-11-08 11:52
Fungus

Registered: Sep 2002
Posts: 691
Quote: Quoting Martin Piper
I don't target incompatible extras :)
then you're in the wrong thread :)


Yeah the thread is titled Spindle and Sparkle demos not launching. It is not titled use Martin Piper's crap because reasons.
2024-11-08 20:10
hedning

Registered: Mar 2009
Posts: 4732
I don't really understand all of the tech stuff, but if it works on real hw, why is this an issue? It feels like it's something that the Ultimate guys should go for?
2024-11-08 20:23
tlr

Registered: Sep 2003
Posts: 1790
Quote: I don't really understand all of the tech stuff, but if it works on real hw, why is this an issue? It feels like it's something that the Ultimate guys should go for?

It works in the most common use case, yes. If you reset/power cycle the drive after loading it doesn’t work. Although not required, wouldn’t be bad to be resilient against something like that at the cost of 3 bytes IMO. Consider it a feature request.

BTW, this whole discussion pointed me to some potential problems in my own drive code.
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
Dano/Padua
Shogoon/Elysium/MSL
Exile/Anubis
Didi/Laxity
celticdesign/G★P/M..
Akkara/Inox
REBEL 1/HF
zscs
Knight Rider/TREX 🦖
Guests online: 115
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.6)
4 Coma Light 13  (9.6)
5 The Demo Coder  (9.6)
6 Edge of Disgrace  (9.6)
7 What Is The Matrix 2  (9.6)
8 Sprite Bukkake 2  (9.6)
9 Uncensored  (9.6)
10 Comaland 100%  (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 Fullscreen Graphicians
1 Joe  (9.7)
2 Sulevi  (9.6)
3 Veto  (9.6)
4 The Sarge  (9.6)
5 Facet  (9.5)

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