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 > Advice for fastest 1541 compatible fastloader
2012-08-16 09:22
Didi

Registered: Nov 2011
Posts: 487
Advice for fastest 1541 compatible fastloader

I need advice for a very fast non-IRQ fastloader for 1541 compatible drives which is freely available. I've been away for some years, maybe there has been some new developments the past 10 years.
 
... 23 posts hidden. Click here to view all posts....
 
2012-09-09 07:33
Zaz
Account closed

Registered: Mar 2004
Posts: 33
Sounds like you're aiming higher than me with the compatibility and all, but PM me your e-mail and I'll give you an outline. If there's anything new or useful in my design, I'll share whatever I have.
So far it's my own design notes and a spreadsheet of code/cycle timings...
2012-09-09 19:54
ChristopherJam

Registered: Aug 2004
Posts: 1409
I did create a format that had only one sync per track back in the day; I can't remember whether it took one or two passes to read it, but the only way I managed to write was using a drive that a friend had added a parallel port to (soldered a cable from an IO port on a drive chip to a c64 user port connector).

At the time I was thinking it would be a great way to copy protect a game I was working on. Not so good for demo distribution, mind.
2012-09-09 22:07
Krill

Registered: Apr 2002
Posts: 2980
That sounds very much like what the V-MAX! guys did, see http://markus.brenner.de/mnib/vmaxtech.txt. (And as stated there, the later Vorpal doesn't need any hardware syncs at all on a track.)

The hardware sync is not necessarily a sector-starting sync, as they proved, so yeah, your format might have been readable in more than 1 revolution with a vanilla 1541.

What was your aim when coming up with this idea? :)
2012-11-12 20:08
Zaphod

Registered: Jun 2012
Posts: 63
If you are willing to use your own GCR, the fastest non irq loader is Vorpal V1 (25x speedup) or one of it's MANY MANY clones (Warp*25,Laser Load, Heureka Sprint, etc) every one of these was shamelessly ripped from Vorpal, and grants a 25x speedup. The tradeoff is more disk space used, because a less efficient gcr format is used so it can be decoded fast enough to handle an interleave of TWO.

You cannot fastcopy these with a single drive, but ANY NIBBLER, even the simplest and fastest, will copy the disk. This includes those 25 second dual drive copiers, which are actually incredibly basic (and fast) nibblers.

Mafiosino's loader seems to be the fastest screen blanker that uses standard GCR.

The fastest IRQ loader that uses standard GCR is krill's loader. Using non standard GCR, v-max is probably the fastest irq loader.

Note that the vorpal utility kit has been dumped, so you CAN use the original. Heuerka Sprint is also available. With a bit of ASM hackery, it's doable.

Kinda crazy that vorpal v1 is still state of the art in non irq loaders. :)
2012-11-12 23:59
Kabuto
Account closed

Registered: Sep 2004
Posts: 58
This thread reminds me to an idea I had recently albeit it's slightly OT since it won't be the fastest fastloader:

It uses a custom GCR encoding that can fit 7 bits into 8 raw bits. It assumes that any encoding is permitted that does not have 3 "0" bits or 9 "1" bits in a row. That's close to the theoretical limit (about 7.01 bits per 8 raw bits IIRC).

Instead of ridiculously long GCR intervals it uses a kind of arithmetical entropy encoder since different raw bytes have different internal "expressiveness" values - e.g. after a byte ending with bits 00 there can't be a byte starting with 0 while the next bytes after a byte ending with bits 01 won't be limited as much (everything goes as long as it's not 9 1's in a row - within GCR limits of course).

I did a quick pen & paper writeup of a sample decoder - it's possible to decode bytes as they come in from the electronics at realtime into drive memory, however, due to the data rate being so high (about 1 byte every 30 cycles), it will be impossible to transmit the sector just read during the next sector so every track will take like 3 revolutions.
2012-11-13 12:23
Krill

Registered: Apr 2002
Posts: 2980
Zaphod77: The Heureka-Sprint format is encoded on top of plain GCR, so it can be stored on d64 and be copied with standard disk backup software just fine.

Kabuto: Your idea reminds me of one i wrote up on paper (and with a test encoder/decoder), but i didn't come anywhere close to your format/data ratio - in the end i could encode about 270 bytes per block (so slightly more than 80% density, which is better than GCR still), however with the big benefit of fully decoding and checksumming the data on the fly while reading. Can you tell me a bit more about your approach?
2012-11-14 00:23
Kabuto
Account closed

Registered: Sep 2004
Posts: 58
@Krill: in another thread. I don't want to hijack this thread :)
2013-11-28 09:53
theWizard
Account closed

Registered: Jul 2007
Posts: 109
i cant remember the name of it but here is what it looked like maybe someone else can remember the name ..

some swedish guy made it

it wrote to 0400 when it started , blanked the screen to border blue , disk started thump thump thump then a loud crack when it finished .. ( it totally disregarded everything and just loaded zero error checking etc it was fast as f**k) .

it was the fastest loader for a c64 disk i ever seen and it was used in an old demo ( no idea what demo though sorry forgot ) and ported to a normal disk loader , sys to start it was 2048 ( i think )

good luck if you get it take a look at the code from it btw if anyone can remember the name il get it again as well because the disk i have it on is dammaged.
2019-11-18 16:15
AlienTech
Account closed

Registered: Nov 2019
Posts: 3
Quote: i cant remember the name of it but here is what it looked like maybe someone else can remember the name ..

some swedish guy made it

it wrote to 0400 when it started , blanked the screen to border blue , disk started thump thump thump then a loud crack when it finished .. ( it totally disregarded everything and just loaded zero error checking etc it was fast as f**k) .

it was the fastest loader for a c64 disk i ever seen and it was used in an old demo ( no idea what demo though sorry forgot ) and ported to a normal disk loader , sys to start it was 2048 ( i think )

good luck if you get it take a look at the code from it btw if anyone can remember the name il get it again as well because the disk i have it on is dammaged.


I saw it on a demo of a new Vorpal that Epyx was trying to sell. It used self modifying code on both the computer side as well as the drive side with some look up tables and using pre scrambled bytes which the serial transfer fixed. I dont think it was ever released and written by Scott Neleson. All copy protection companies were afraid of what it represented as they did not think it could get faster and said single rev transfer and read was impossible without losing 50% data storage, yet here was something which code store more than normal data on a disk and did it faster than anyone else thought possible.
2019-11-18 22:28
AlexC

Registered: Jan 2008
Posts: 299
It would be awesome if someone could not only find it but also upload it here ;)
Previous - 1 | 2 | 3 | 4 - 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
Flashback
Bieno/Commodore Plus
Guests online: 97
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 Cubic Dream  (9.6)
4 Party Elk 2  (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 Original Suppliers
1 Derbyshire Ram  (9.7)
2 Fungus  (9.3)
3 Black Beard  (9.2)
4 Baracuda  (9.2)
5 hedning  (9.1)

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