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 > 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-18 22:22
spinal
Account closed

Registered: Jan 2005
Posts: 47
So you guys are saying i shoudn't use C on the C64...
OK then, ill first do some BASIC, only problem is, i dont have an origional C64 anymore, and im using VICE, does anyone know how to map the keyboard so the keys match up? i dont like having to remember that '#' = '=' and ']' = '*' etc. I would like to be able to type BASIC code without it ending up as complete gibberish!!
2005-01-19 08:26
yago

Registered: May 2002
Posts: 333
You can crossdevelop BASIC-Programs with your favorite Text-editor.
Then use "petcat -w2" to produce the loadable Program.
petcat is a part of VICE, there are also other Tokenizer.

@enthusi: Did you take a look at k2devel.sourceforge.net/doc_k2asm.html ? Pretty "structurized" ASM
2005-01-19 11:22
enthusi

Registered: May 2004
Posts: 677
@yago, no I havent until now.
Nice :)
I just wanted to point out that C isnt THAT slow and that I'd rather code something in C than nothing in asm.
Actually, right now, In coding several things in asm :o)
Also, when I mean asm I mean NO cross-asm, so this might add to the difference c-asm.
As long as anyone codes anything for the c64 Im happy :)
Be it brainfuck or forth (java excluded).
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
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
Alakran_64
Peacemaker/CENSOR/Hi..
Raf/Vulture Design
BYB/Hokuto Force
iceout/Avatar/HF
No-XS
Sychamis
Mike
zscs
Fred/Channel 4
TPM/Silicon Ltd
slimeysmine
Martin Piper
Guests online: 170
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 No Listen  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 X-Mas Demo 2024  (9.5)
7 Dawnfall V1.1  (9.5)
8 Rainbow Connection  (9.5)
9 Onscreen 5k  (9.5)
10 Morph  (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 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.058 sec.