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 > CSDb Entries > Release id #220685 : Krill's Loader, Repository Version 192
2022-08-18 16:23
Smasher

Registered: Feb 2003
Posts: 512
Release id #220685 : Krill's Loader, Repository Version 192

first of all a big THANK-YOU Krill for the (long-awaited) release!!!
a question about the new feature "PREFER_SPEED_OVER_SIZE":
with this setting disabled loader fits in my ideal place $0200-$03ff (no stack, no screen area, yuppy!), while if I enable it it gets bigger and it doesn't fit.
so based on your testings, how fast is the "potentially faster decompression routine" compared to the default one?
2022-08-18 17:00
Krill

Registered: Apr 2002
Posts: 2844
Bitfire benchmark:
      ZX0-Dali    TSCrunch

CPU   size speed  size speed
  %    B/s  B/s    B/s  B/s
100   9475 9563   9827 9827
 90   8885 9041   9613 9613
 80   7103 7125   7737 7560
 70   6451 6428   6574 6593
 60   5694 5670   6000 6201
 50   4824 4836   5128 5044
 40   4007 4119   4671 4668
 30   2974 3058   3568 3582
 20   1954 1995   2405 2429
 10   855   877   1092 1093
So not much of a difference (about 200 B/s tops), and the prefer-speed option may be slower than prefer-size depending on CPU percentage for loading.

It also depends on your specific set of compressed files.

YMMV. =)
2022-09-10 15:32
FEFA

Registered: Mar 2018
Posts: 4
Hi.

I have tried to run "make prg" on this release, but it failed because "src/make-loadersymbolsinc.pl" now requires a version parameter, and "src/Makefile" gets it from the svn directory which is not included in the distribution.

Just as a workaround I have set VERSION to 192 in line 38 of the Makefile.

BTW, great stuff!
2022-09-10 15:52
Krill

Registered: Apr 2002
Posts: 2844
You're the second person to have missed the goofs section and to come up with the exact same fix. https://csdb.dk/release/?id=220685&show=goof =)

Proper fix is
SVNVERSION   = svnversion
ifneq ($(wildcard ../../.svn/format),)
VERSION      = $(shell $(SVNVERSION) | tr -d [:cntrl:])
else
VERSION      = $(shell $(GREP) -oP 'VERSION_STRING "\K[^"]+' ../version.inc)
endif

[...]

GREP         = grep
2022-09-10 17:07
FEFA

Registered: Mar 2018
Posts: 4
Oh, sorry. I am a very inexperienced CSDb user, and I did not notice there is a section for goofs. I was also wondering how it was possible that no one had come across the bug before, but fortunately they did.
2022-09-10 17:16
Krill

Registered: Apr 2002
Posts: 2844
Yeah, could be a little more prominent, that goofs section. :)
2022-09-14 09:55
F7sus4

Registered: Apr 2013
Posts: 112
It's conveniently hidden. ;-)
2022-09-16 02:15
Krill

Registered: Apr 2002
Posts: 2844
SD2IEC support for this loader (current and relevant previous versions) has now been invented! \=D/
Mad propz to Thierer! =)

https://github.com/thierer/sd2iec
https://github.com/thierer/sd2iec/releases/tag/v1.0.0atentdead0..
2022-09-16 13:24
MagerValp

Registered: Dec 2001
Posts: 1056
Whoa. Nice.
2022-09-16 14:49
tlr

Registered: Sep 2003
Posts: 1714
Quite a lot of work put into reverse engineering that I assume, cool!

Seems to need some "magic" too:
static const PROGMEM file_quirks_t file_quirks[] = {
  { 0x1ba6,  20 }, /* coma light 13   / "SAMPLE"   */
  { 0xe5ac,  80 }, /* coma light 13   / "PICDAT"   */
  { 0xfe43,  80 }, /* protogeo 100%   / 13th file  */
  { 0x7f19, 120 }, /* pearls for pigs / "03"       */
  { 0x8e1e,  20 }, /* cause of death  / "PLOTBALL" */

  { 0, 0 } // end marker
};
2022-09-16 15:22
Krill

Registered: Apr 2002
Posts: 2844
Quoting tlr
Seems to need some "magic" too:
static const PROGMEM file_quirks_t file_quirks[] = {
  { 0x1ba6,  20 }, /* coma light 13   / "SAMPLE"   */
  { 0xe5ac,  80 }, /* coma light 13   / "PICDAT"   */
  { 0xfe43,  80 }, /* protogeo 100%   / 13th file  */
  { 0x7f19, 120 }, /* pearls for pigs / "03"       */
  { 0x8e1e,  20 }, /* cause of death  / "PLOTBALL" */

  { 0, 0 } // end marker
};
I think that's to work around some problems due to the loader loading a lot faster with no wait time for individual blocks, which those demos do not expect (it's not a loader problem per se) and which could not be tested at the time.

So adding some artificial delay for known productions helps.
 
... 34 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 | 3 | 4 | 5 - 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
Almighty God/Level 6..
MCM/ONSLAUGHT
Dymo/G★P
Slaxx/Q/HF/MYD!
mutetus/Ald ^ Ons
Smasher/F4CG
Low Spirit
Guests online: 109
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Wafer Demo  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.8)
4 Acidchild  (9.7)
5 Starlight  (9.6)

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