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: 49
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: 508
Will give it a try on a bunch of drives :-)
2018-06-14 09:56
The Human Code Machine

Registered: Sep 2005
Posts: 112
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
Account closed

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: 49
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: 112
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: 508
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: 49
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
Mike
katon/Lepsi De
Barfly/Extend
Sokratekk
Acidchild/Padua
Paulko64
Murphy/Exceed
Rub_0201
Guests online: 87
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Party Elk 2  (9.6)
4 Cubic Dream  (9.6)
5 Copper Booze  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Coders
1 Axis  (9.8)
2 Graham  (9.8)
3 Lft  (9.8)
4 Crossbow  (9.8)
5 HCL  (9.8)

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