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


Forums > C64 Coding > Sizecoding tips at www.sizecoding.org
2021-02-16 22:15
wil

Registered: Jan 2019
Posts: 26
Sizecoding tips at www.sizecoding.org

Since I complained that the sizecoding page that is linked at http://www.lovebyte.party/ was missing info about the C64 system, I sat down and added my humble knowledge to the article.

If somebody has additional ideas and is motivated, pls. contribute to the Wiki at the following address:
http://www.sizecoding.org/wiki/6502_based_CPUs#Commodore_64

Feel also free to correct my mistakes and inaccuracies :-)
2021-02-17 10:05
Krill

Registered: Apr 2002
Posts: 1775
That's pretty comprehensive for a start. :)

One thing that came up while skimming over it is using a little BASIC program before SYS to machine code part, which would generate a sine curve or other data in quite a compact way.

Will add some stuff here and there, but the article should in some way or other also go to Codebase64.org. =)
2021-02-17 13:55
Flotsam

Registered: Jan 2004
Posts: 53
Not that I would be doing any size coding anytime soon, but still some useful tips for a beginner like me, written in a very clear and easy-to-read style. Thanks!
2021-02-18 04:51
Voltage

Registered: Jul 2008
Posts: 12
Cool write up wil.

I learned a whole bunch about auto-start methods that I didn't know before.
2021-02-19 10:03
Lubber

Registered: Jan 2002
Posts: 25
Great start!
I found a little typo
"Therefore, the VIC uses register at $D011 and the highest bit of register $D012 to represent the current raster line"

This should be the other way around: The high bit of the rasterline is in $d011 and normal rasterline in $d012
2021-02-19 11:02
Krill

Registered: Apr 2002
Posts: 1775
You can register an account and edit stuff. :)
2021-02-19 17:00
wil

Registered: Jan 2019
Posts: 26
Quote: You can register an account and edit stuff. :)

as Krill already did - thanks for your contribution and the nifty improvements!
2021-02-19 17:17
Lubber

Registered: Jan 2002
Posts: 25
Quote: You can register an account and edit stuff. :)

I just tried several times now and the captcha always failed....sorry, i was willing to help and correct those 2 values.
2021-02-19 19:01
Krill

Registered: Apr 2002
Posts: 1775
The captchas are quite hard, admittedly, and very PC scene centered.

I got the 1996 Statix airplane question and didn't know the answer right away, but a bit of web-searching revealed the answer ("paper").

Just click reload on the create-account page until that question appears.
2021-02-19 19:52
wil

Registered: Jan 2019
Posts: 26
I also had to google to find the answer for each capture. But I like reading scene-related stuff, even if it is PC :-)
2021-02-19 20:19
Krill

Registered: Apr 2002
Posts: 1775
Well, until you stumble upon "What is your favorite assembler for sizecoding?" and wonder whether any of the accepted answers would work for 6502 assembly. =)
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
r242
www.gb64.com
Ze Smasher/F4CG
MCM/ONSLAUGHT
ready./Level64/HF
Brittle/Dentifrice
The Sarge/Fairlight
Guests online: 57
Top Demos
1 Uncensored  (9.6)
2 Edge of Disgrace  (9.6)
3 Unboxed  (9.6)
4 Coma Light 13  (9.6)
5 Thirty  (9.6)
6 Christmas Megademo  (9.6)
7 Memento Mori  (9.6)
8 Lunatico  (9.6)
9 Comaland 100%  (9.6)
10 The Shores of Reflec..  (9.5)
Top onefile Demos
1 Copper Booze  (9.8)
2 To Norah  (9.8)
3 Transmission64 Invit..  (9.7)
4 Lovecats  (9.6)
5 Elite Code Mechanics  (9.6)
6 Catwalk  (9.6)
7 Square Booze  (9.5)
8 Daah, Those Acid Pil..  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Booze Design  (9.4)
2 Fossil  (9.4)
3 Censor Design  (9.3)
4 Oxyron  (9.3)
5 PriorArt  (9.3)
Top Musicians
1 Rob Hubbard  (9.8)
2 Jeroen Tel  (9.6)
3 Linus  (9.5)
4 Drax  (9.5)
5 Martin Galway  (9.5)

Home - Disclaimer
Copyright © No Name 2001-2021
Page generated in: 0.055 sec.