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 > Differences between KERNALs versions
2020-01-02 19:08
Golara
Account closed

Registered: Jan 2018
Posts: 212
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
Account closed

Registered: Oct 2012
Posts: 336
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
Account closed

Registered: Jan 2018
Posts: 212
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: 2980
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
Dr. Doom/RAD
Guests online: 99
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 Musicians
1 Rob Hubbard  (9.7)
2 Mutetus  (9.7)
3 Jeroen Tel  (9.7)
4 Linus  (9.6)
5 Stinsen  (9.6)

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