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


Forums > C64 Coding > Code, how to get started?
2006-04-23 19:37
Sixx

Registered: May 2005
Posts: 229
Code, how to get started?

An old friend of mine who coded a little in 85-86 was thinking about coding on the c64 again. He was wondering what he needs to get started and began to mumble something about some reference guide. He also wonder what assembler he should use. He will be using VICE. Thanks for heelping out guys.
2006-04-23 19:45
QuasaR

Registered: Dec 2001
Posts: 145
Hi!
For a good start use RetroReplay/The Final Cartridge in VICE and the TurboMacroPro ass (find it here: http://turbo.style64.org/tmp.php?cid=about_tmp). Effect ideas you'll find in the VIC-article: http://www.minet.uni-jena.de/~andreasg/c64/vic_artikel/vic_arti..
Then search Google for C-Hacking and off he goes... For linking, I use Beast-Linker (should be on some tool discs on the internet) and for crunching use Exomizer, Pucrunch or AB-Cruncher (there's a nice version by Ninja here on CSDB, I'm too lazy to search for it...).
The best loader is IMHO Dreamload (http://www.the-dreams.de) and that should be enough for a good trackmo... :)
2006-04-23 21:01
MagerValp

Registered: Dec 2001
Posts: 1078
For reference, you'll want the official PRG:

http://project64.c64.org/hw/c64.html

and also Mapping the C64:

http://project64.c64.org/misc/index.html

For a quick instruction reference you can't beat Graham's:

http://www.oxyron.de/html/opcodes02.html

and there's also the excellent All About Your 64:

http://www.the-dreams.de/aay.html

A good introduction to demo coding and effects is Puterman's:

http://user.tninet.se/~uxm165t/demo_programming/demo_prog/demo_..

You'll also want to check out the VIC-Article, which explains a lot about how the VIC works:

http://www.minet.uni-jena.de/~andreasg/c64/vic_artikel/vic_arti..

As for the assembler, just pick any competent 6502 cross assembler, there are dozens of them. I like DAsm and CC65 myself, others like ACME, xa, Tass, and more.
2006-04-23 22:03
Mihai

Registered: Feb 2002
Posts: 29
I put them all here :D

The Best C64 Ml tutorial collection
2006-04-23 23:16
raven
Account closed

Registered: Jan 2002
Posts: 137
And after u read all those guides, take some demos with
effects that interest u & disassemble, disassemble & then
disassemble some more.

Did i say disassemble? :)

Best way to learn, bar none.
2006-04-24 06:32
Sixx

Registered: May 2005
Posts: 229
Great, thanks y'll...
2006-04-24 11:17
Cruzer

Registered: Dec 2001
Posts: 1048
Or simply outsource the programming to India :o)
2006-04-24 11:25
JackAsser

Registered: Jun 2002
Posts: 2014
Disassemble code? Personally I hate reading other people's generate machine code, sources are OK though. Bugging C64-coders on channel #c-64 on ircnet is MUCH more efficient (at least for me). =)
2006-04-24 11:45
Oswald

Registered: Apr 2002
Posts: 5094
Jack, back then there was no IRC man :)

Evem myself had learned fld, raster splitting, and dycp through examining someone else's code in ~90-92 :)

(hm and the tunnel / inner torus from mathematica later)

simple stuff can be quite easily learned from disassembling or the basic concept of the effect. I kept checking code till 2000. Now I rather ask too :)
2006-04-24 12:04
raven
Account closed

Registered: Jan 2002
Posts: 137
What are u guys talking about..

Going through code using a monitor is fun!
2006-04-24 12:25
Cruzer

Registered: Dec 2001
Posts: 1048
I have always hated disassembling other peoples code. It's much more fun trying to guess how something is done. And if you're lucky this exercise can also have the side effect that you come up with an even better way of doing it than the routine you tried to figure out.
 
... 22 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 | 3 | 4 - 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
iceout/Avatar/HF
Guests online: 120
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 The Demo Coder  (9.6)
6 Edge of Disgrace  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 X-Mas Demo 2024  (9.5)
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 Censor Design  (9.3)
5 Triad  (9.3)
Top Fullscreen Graphicians
1 Joe  (9.7)
2 Sulevi  (9.6)
3 The Sarge  (9.6)
4 Veto  (9.6)
5 Facet  (9.6)

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