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 > want to code
2013-03-09 02:14
PAL

Registered: Mar 2009
Posts: 292
want to code

OK dudes... I need to start coding. I am in the need to get up and running... I am a fool and an idiot but I know a lot about the c64 and I know how to but not in code. I need someone who can guide me to start to be a coder, that said it is not like I want to be feed with links... I want to start coding with you as a guide and my mentor!

My dream: is there someone who can put aside one hour a day or second day with me and that know how to make me understand the basics so that I can expand on my own? I know nothing in commands and such as of start we can assume.

I know it might sound stupid but are there anyone out there who could do this? with me?

I can pay back with logos, graphics, part ideas and such...

pal of offence
 
... 81 posts hidden. Click here to view all posts....
 
2013-03-10 13:39
QuasaR

Registered: Dec 2001
Posts: 145
Still one of the most complete tutorials about coding: http://codebase64.org/doku.php?id=base:demo_coding_introduction

When I started coding, it was very important to understand and get a feel of the hardware itself, e.g. getting the VIC registers right and the register thingie (A, X and Y). The commands itself are very basic, like Mixer explained (store values at specific times in a certain register...)
2013-03-10 16:08
4mat

Registered: May 2010
Posts: 66
I learnt from TMR's The Hex Files tutorial.
2013-03-10 19:34
MagerValp

Registered: Dec 2001
Posts: 1078
Quoting Fungus
I suggest getting Jim Butterfield's book if you are a complete beginner.

Seconded, Butterfields book is the best to learn from, and once you have the basics down you should read Puterman's articles on demo coding.
2013-03-10 20:56
PAL

Registered: Mar 2009
Posts: 292
thanx for answering. I have started a bit here. I know how to set colors of screen and border, I know how to pint at a mem location and also to display something from there in a sprite or as chars on screen. I know some basics... I do not know but I start to understand some. I think it is so hard to get the concept of a loop and then something else should happen but still continuing in the loop and all but I think with some practice it will come to me.

Made a logo shower today.

http://www.flottaltsaa.no/c64/logo_a.prg
http://www.flottaltsaa.no/c64/logo_b.prg

I will check out different stuff more. Thanx to all that did send me messages and also answered here and my dudes in offence and so on.

I will code a part on the c64!
2013-03-10 21:34
algorithm

Registered: May 2002
Posts: 705
Remember that everyone starts from the beginning. Not a case of someone waking up one day then coding a trackloader immediately etc. Carry on persevering and dont give up
2013-03-10 22:30
Ejner

Registered: Oct 2012
Posts: 43
I'm also in the process of learning how to code and I find the book "The Programmers Reference Guide" very helpful. I'd say it's almost a must-have along with the original c64 Users Guide.

Nice logo showers you coded. However you are assuming the charcolour is light blue. That is not always the case, so you need to change all the characters on the screen to be light blue, colour #$0e, easily done with a small loop:



lda #$0e
ldx #$00
loop sta $d800,x
sta $d900,x
sta $da00,x
sta $dae8,x
inx
bne loop
:-)
2013-03-10 23:14
Ejner

Registered: Oct 2012
Posts: 43
Cruzer will of course tell you that you need to unroll your loop to optimize your code :-)

lda #$0e
sta $d800
sta $d801
sta $d802
...
sta $dbe7

... Or more likely even: code an algorithm that generates the unrolled code, optimizing both speed and file size. :-)
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 - 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
cba
fugu/Excess
CopAss/Leader
Epyx/TSA
Stone/Prosonix/Offence
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 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (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 Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 Fungus  (9.8)
5 S!R  (9.8)

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