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 > GCR decoding on the fly
2013-03-31 12:46
lft

Registered: Jul 2007
Posts: 369
GCR decoding on the fly

Here's how to do it:

http://linusakesson.net/programming/gcr-decoding/index.php
 
... 149 posts hidden. Click here to view all posts....
 
2013-04-02 14:42
Clarence

Registered: Mar 2004
Posts: 121
I would opt for the fastest possible demo friendly loader also, but maintaining compatibility with all the standard C= drives including the different 1571 versions. That illegal opcode incompatibility HCL mentions, sounds bitter already. :/
2013-04-02 15:35
raven
Account closed

Registered: Jan 2002
Posts: 137
From memory, I think there is only one (or two) drive clones that have a problem with illegal opcodes.
I used SAX and didn't lose any sleep about it ;)
Also, I remember only one complaint about it - from HCL!

I wonder how many people still use these drives.
HCL: which make/model is it exactly?
2013-04-02 15:51
enthusi

Registered: May 2004
Posts: 677
Just make it load fast from SD and 1541u !!!1111
Just kidding :)
But then again, if some non 1541-drives fail, well, they fail.
2013-04-02 16:40
algorithm

Registered: May 2002
Posts: 705
The bottleneck in most cases seem to be certain types of decompressors (for example with exomiser it almost takes the same amount of time to load and more) just to depack (even if depacking while loading)

Can't a quick CRC be done at the beginning of each linked part (once all data is loaded and decompressed?) Sure, this would not be a solid way of doing things - in particular if the crc checker at the beginning has load errors., but should be a mimimum issue

@krill. interested in your 50speed non-irq loader :-)
2013-04-02 17:21
tlr

Registered: Sep 2003
Posts: 1791
Quoting algorithm
Can't a quick CRC be done at the beginning of each linked part (once all data is loaded and decompressed?) Sure, this would not be a solid way of doing things - in particular if the crc checker at the beginning has load errors., but should be a mimimum issue

Is there any gain in doing a separate CRC step? Another drawback is that you won't detect partially corrupt T/S links.
2013-04-02 18:05
algorithm

Registered: May 2002
Posts: 705
Yes, the data check would be sub-optimal, but may have some type of gain.
2013-04-02 18:08
HCL

Registered: Feb 2003
Posts: 728
@Raven: You are funny :). You want me to fix the EoD loader to work on your c128D, but you don't want to care about my disk drive. It's a digilog drive btw, already mentioned in another recent thread.
2013-04-02 18:10
tlr

Registered: Sep 2003
Posts: 1791
@hcl: Maybe you can put your digilog drive in his C128D?
There, problem solved!
2013-04-02 19:54
raven
Account closed

Registered: Jan 2002
Posts: 137
@HCL: I believe many people have a 1571 compared to a few with the digilog ;)

Anyway, I seem to remember an email from you saying you removed the SAX's and got the demo working on your drive :)
2013-04-02 20:29
Cruzer

Registered: Dec 2001
Posts: 1048
Quoting enthusi
Just make it load fast from SD and 1541u !!!1111
Almost agree, actually. If it works on 1541, it works on 1541u, Chameleon, etc. That should be enough for everyone. It's ofcuz nice if it works on other drives as well, but no need to sacrifice speed for that.

Quoting algorithm
The bottleneck in most cases seem to be certain types of decompressors
Which is why I think that in most cases it's not even worth compressing the files. For Pimp My Snail I skipped it, and I think it worked pretty well. I just placed all code/data/gfx togehter in a tight lump, and "unpacked" it using custom routines that could be optimized for the specific data and speedcode. It might have helped a bit compressing some of the simple gfx though, in a lightweight way optimized for decrunching speed.
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | ... | 16 - 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
Fred/Channel 4
celticdesign/G★P/M..
theK/ATL
Northwind
Guests online: 107
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.6)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Uncensored  (9.6)
7 The Demo Coder  (9.6)
8 Comaland 100%  (9.6)
9 What Is The Matrix 2  (9.6)
10 Wonderland XIV  (9.5)
Top onefile Demos
1 Layers  (9.7)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 Dawnfall V1.1  (9.5)
6 Rainbow Connection  (9.5)
7 Morph  (9.5)
8 Libertongo  (9.5)
9 Onscreen 5k  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Oxyron  (9.3)
3 Performers  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Webmasters
1 Slaygon  (9.6)
2 Perff  (9.6)
3 Sabbi  (9.5)
4 Morpheus  (9.4)
5 CreaMD  (9.1)

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