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 > noob requires help to start coding
2005-01-14 22:56
spinal
Account closed

Registered: Jan 2005
Posts: 47
noob requires help to start coding

ok here goes, i would like to code something for the C64, don't have a clue where to start, i cnow a little C, a little more BASIC and havent even looked at ASM, so what im asking is -

Is there a good C cross-compiler that i can download from anywhere? (assuming that it is free)
 
... 27 posts hidden. Click here to view all posts....
 
2005-01-21 17:44
Raf

Registered: Nov 2003
Posts: 343
spinal : VICE allows to remap keyboard , actually linux version of vice is configured as PC layout by default - not c64 alike (so pressing shift+2 gives @ instead of " ) and this should also be confgiurable under windows.
2005-01-22 21:34
spinal
Account closed

Registered: Jan 2005
Posts: 47
can i assume that BASIC would be too slow for a side-scrolling platform game? (cos thats what i would like to eventually do)
2005-01-22 21:44
Graham
Account closed

Registered: Dec 2002
Posts: 990
no, as i said: on c64 you have to use assembler for EVERYTHING except a few tools which spend 99% of their time waiting on user input and printing text.
2005-01-25 22:31
spinal
Account closed

Registered: Jan 2005
Posts: 47
are you saying BASIC is NOT too slow, or that it IS?
2005-01-25 22:49
tlr

Registered: Sep 2003
Posts: 1790
Quote: are you saying BASIC is NOT too slow, or that it IS?

BASIC _is_ too slow. You need to code in assembly to do demo stuff.
2005-01-26 08:22
Oswald

Registered: Apr 2002
Posts: 5094
spinal: to give you an idea: to calculate a 256 byte long sinus table takes about 1 minute in basic.
2005-01-26 08:25
enthusi

Registered: May 2004
Posts: 677
morning :)
I think all basic indeed good for is testing stuff.
Simple stuff. Like making sprites or something. If you already did it in basic, it well get even simpler in asm. The main prob about basic and speed is, that its 'unpredictable' - there are many rather odd ways to speed up basic. Non of them is nice ;)
In your case, I'd take a nice asm-tutorial thats not all too technical and start right away. Maybe with a monitor-prg frist but you will soon want an assembler I guess. First programs are just as easy as in basic and acutaully they make more sense.
I think this one is nice for very first steps:
http://www.redizajn.sk/tnd64/assemble_it.html
Have fun & code well,
enthusi
2005-01-26 09:49
Puterman
Account closed

Registered: Jan 2002
Posts: 188
enthusi: I wouldn't recommend Richard's tutorial, there's so much stuff in it that just doesn't make sense.

Check out Programmer's Reference Guide or C=Hacking instead.
2005-01-26 10:14
JackAsser

Registered: Jun 2002
Posts: 2014
Stop whining and start coding for christ sake!

1. IO-map: http://www.hut.fi/Misc/cbm/docs/c64-io.html
2. OP-Codes: http://www.oxyron.de/html/opcodes02.html
3. Assembler: http://www.cc65.org/
4. Emulator: http://www.viceteam.org/
5. People to ask: Channel #c-64 @ IRCNet
6. Brain

I used then above recipe and it worked out pretty well...

/JackAsser
2005-01-26 10:18
iopop

Registered: Dec 2001
Posts: 317
also worth to check out is this one. The Best C64 Ml tutorial collection

if you're not able to do a demo after reading that one, you prolly not should do c64 stuff at all..
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
Six/G★P
Ricky/Bonzai
MCM/ONSLAUGHT
Jazzcat/Onslaught
Fungus/Nostalgia
Stryyker/Tide
Guests online: 78
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 Coders
1 Axis  (9.8)
2 Graham  (9.8)
3 Lft  (9.8)
4 Crossbow  (9.8)
5 HCL  (9.8)

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