Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Ziaxx ! (Registered 2020-10-20) You are not logged in 
CSDb User Forums


Forums > C64 Coding > Differences between KERNALs versions
2020-01-02 19:08
Golara

Registered: Jan 2018
Posts: 206
Differences between KERNALs versions

I wanted to do something, but I thought I'll ask first, maybe someone already done it... We all know that there's several KERNAL versions, some minor changes here and there. I wonder, if someone ever made a disassembly of all the variants and then compare them all to highlights the parts that are in common, leaving the parts that do change between versions (marking them with ???? for example). What for ? Well, I think it would come handy in 4K intros for finding gadgets, i.e any portion of some code ending with an rts that you can use for yourself.
2020-01-02 19:49
Rastah Bar

Registered: Oct 2012
Posts: 237
These may be useful:
http://commodore64.se/wiki/index.php/Commodore_64_KERNAL_ROM_ve..
http://unusedino.de/ec64/technical/aay/c64/krnver.htm
2020-01-02 20:01
Golara

Registered: Jan 2018
Posts: 206
Quote: These may be useful:
http://commodore64.se/wiki/index.php/Commodore_64_KERNAL_ROM_ve..
http://unusedino.de/ec64/technical/aay/c64/krnver.htm


Thanks, these list only the differences, since these are usually more interesting. What I wanted is just a plain kernel listing (doesn't have to have comments or anything) with just the common code so one can pick and chose gadgets. Maybe I'll just make it then, there's less difference than I expected (for some reason)
2020-01-02 20:34
Krill

Registered: Apr 2002
Posts: 1529
The differences are minimal indeed.

Might be worth another thread, but as for "gadgets", i've so far found a few routines quite helpful.

1. POLYX - to evaluate a polynomial, comes in handy to compress tables down to a few 5-byte CBMFLOAT coefficients, depending on degree. There are some caveats, such as the polynomials being required to model steady functions (obviously) with a certain degree of lossiness and rather longish "depack" times, but it can save quite a bit of disk space for small demos, even more so with many tables and zeroed LSBs of the coefficient mantissas.

2. Various subroutines to add 8- or 16-bit values to 16-bit zeropage variables. Handy for very small demos.
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
Harekiet
hedning/G★P
instant
bitproll
kazmat
Guests online: 114
Top Demos
1 Uncensored  (9.7)
2 Memento Mori  (9.6)
3 Edge of Disgrace  (9.6)
4 Coma Light 13  (9.6)
5 Comaland 100%  (9.6)
6 Unboxed  (9.6)
7 The Shores of Reflec..  (9.6)
8 Lunatico  (9.5)
9 Remains  (9.5)
10 C=Bit 18  (9.5)
Top onefile Demos
1 Crystal Gazer  (9.5)
2 Dawnfall V1.1  (9.5)
3 Smile to the Sky  (9.5)
4 Daah, Those Acid Pil..  (9.5)
5 Rewind  (9.5)
6 Postcard from Earth 2  (9.5)
7 Instinct  (9.4)
8 The Night It Snowed  (9.4)
9 Tribute to Ben - Las..  (9.4)
10 In Memoriam BHF  (9.4)
Top Groups
1 Booze Design  (9.4)
2 Censor Design  (9.4)
3 PriorArt  (9.4)
4 Oxyron  (9.3)
5 Triad  (9.2)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.8)
4 Taper  (9.8)
5 MWS  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2020
Page generated in: 0.205 sec.