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 > Loader Tester needed
2018-06-14 02:22
Sparta

Registered: Feb 2017
Posts: 35
Loader Tester needed

I have been working on a loader system for a while and now it seems to work flawless on Vice. However, I do not have access to real hardware so I am looking for volunteers who are willing to test it on the real thing to see whether it shall remain a virtual loader forever. Here are some of the features:

Sparkle (AKA Sparta’s Spindle Spin-off)

- Untested on real hardware
- 2-bit + ATN transfer protocol
- 126-cycle on-the-fly GCR decoding loop
- Checksum verification integrated in the drive’s transfer loop
- 72 cycles per byte transfer
- Combined fixed-order and out-of-order loading
- LZ+RLE per-block compression
- Transfer rate 151 bytes/frame (7570 bytes/sec) raw data with screen off

I do not claim to have invented the wheel. As the name suggests, the loader is inspired by and builds heavily on Lft’s Spindle, so call it a rip-off if you want. I am a hobby coder and without his source code and tutorials on GCR decoding and bitstreams I would not have had a chance to understand the workings of a modern fastloader. Obviously, I also read a bunch of forum threads on the topic and peeked in other loaders such as Bitbreaker’s and HCL’s masterpieces and implemented what I liked. I even tried to decipher Krill’s Loader but his code was just too much for me (I mean it as a compliment).

Here is a link to a test disk image.

I am also willing to share the source code if anyone is interested.

Thanks for the help,

Sparta
2018-06-14 09:30
Bitbreaker

Registered: Oct 2002
Posts: 498
Will give it a try on a bunch of drives :-)
2018-06-14 09:56
The Human Code Machine

Registered: Sep 2005
Posts: 109
Doesn't work on my SX-64 which was used as reference for Bitfire. After "run" the step motor seeks to probably track 1 and the floppy led is constantly red, drive motor is spinning and nothing more happens.
2018-06-14 11:20
willymanilly

Registered: Jan 2016
Posts: 27
VICE bug #582 is possibly allowing your loader system to work on VICE. I tried your loader in Z64K which has that bug fixed and your loader behaves exactly the same as described on the SX-64. When I disabled the proper VIA latching code in Z64K your program loaded perfectly. I will try your loader on real hardware but I'm suspecting you will need to disable VIA latching in your drive code for it to work on real hardware.
2018-06-14 11:52
Sparta

Registered: Feb 2017
Posts: 35
Quote: VICE bug #582 is possibly allowing your loader system to work on VICE. I tried your loader in Z64K which has that bug fixed and your loader behaves exactly the same as described on the SX-64. When I disabled the proper VIA latching code in Z64K your program loaded perfectly. I will try your loader on real hardware but I'm suspecting you will need to disable VIA latching in your drive code for it to work on real hardware.

Thanks for the quick replies!
I omitted reading the sync byte in one of the last revisions, and it indeed worked in VICE. Please try this version.

Thank you very much again for the prompt responses!
2018-06-14 12:04
The Human Code Machine

Registered: Sep 2005
Posts: 109
It works now on my SX-64. Is it possible to let it run forever? To be sure that it really works it needs to run at least 12 to 24 hours.
2018-06-14 12:09
Bitbreaker

Registered: Oct 2002
Posts: 498
Quote: Thanks for the quick replies!
I omitted reading the sync byte in one of the last revisions, and it indeed worked in VICE. Please try this version.

Thank you very much again for the prompt responses!


Reads so familiar this bug :-D
2018-06-14 12:11
Sparta

Registered: Feb 2017
Posts: 35
Quoting The Human Code Machine
It works now on my SX-64. Is it possible to let it run forever? To be sure that it really works it needs to run at least 12 to 24 hours.


Great! I will make an endless test disk, and post it here again. Thanks THCM!
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
Acidchild/Padua
jmin
Wayne Kerr/Flashtro
Operator Teleksu
AlexC
Guests online: 201
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 No Bounds  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 No Sprites  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Party Elk 2  (9.7)
2 Cubic Dream  (9.6)
3 Copper Booze  (9.5)
4 Rainbow Connection  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Onscreen 5k  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Nostalgia  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 S!R  (9.9)
3 Mr Zero Page  (9.8)
4 Antitrack  (9.8)
5 OTD  (9.8)

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