| |
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.... |
| |
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. |
| |
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) |
| |
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. |
| |
spinal Account closed
Registered: Jan 2005 Posts: 47 |
are you saying BASIC is NOT too slow, or that it IS? |
| |
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. |
| |
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. |
| |
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 |
| |
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. |
| |
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 |
| |
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 |