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 > Coding for beginners
2008-01-06 12:45
Darkus

Registered: Apr 2007
Posts: 8
Coding for beginners

I`ve been searching the net for assembler guides and applications but I hoping someone can recommend the best guides and programs I should use for starting out - plus are there any issues with using emulators only ? Anyone who may answer these questions, please bare in mind I know very little about the C64 platform at this stage :)
 
... 122 posts hidden. Click here to view all posts....
 
2008-05-29 16:40
omega120
Account closed

Registered: Sep 2005
Posts: 204
People can go what ever they want to go.
2008-05-30 19:51
Richard

Registered: Dec 2001
Posts: 621
I used to program in Turbo Assembler all the time, but now I use the ACME cross assembler, because the limitations are stronger. Turbo Assembler used to be good, but now we program C64 stuff on a PC, so I recommend anyone else to try this.

Someone pointed this type of advice to me. I cannot remember who introduced me to the ACME cross assembler environment but I think it is great and feel very comfortable with it. Easy to handle as well. :)
2008-05-31 15:32
Danzig

Registered: Jun 2002
Posts: 440
speaking of 8bit-machine code especially 6502 you can easily reach simple goals with a monitor. the crest-demomaker is s-mon ;)

but take into consideration: development speed... using a crossdev-toolchain is the way to go nowadays. i recomment kickassembler by any means, roxxor!

people still inserting commands in a 4k codeblock by transfering the code and then relocating the beast from the necessary position forward deserve empathy :D

also turboassembler (the c64-version ;) ) was a powerful companion in the 80/90s but fucked up sourcecode can nowadays easily be avoided ;) and using it in an emulator is just pain in teh 4rs3.

tons of different files on one disk each loaded separatly to test or just using ".incbin"s and get ONE resulting file... hm... your choice *G*

and, speaking about tool-chains in general, I just start the "making" and the result is a fully linked, crunched and .d64ed file... autostarting in an emulator (f.e. x64)...

pardon, but this discussion is useless in 2008...
2008-05-31 16:34
T.M.R
Account closed

Registered: Dec 2001
Posts: 749
When writing tutorials for beginners there really shouldn't be any question; assemblers and particularly cross assemblers make it possible to worry about learning code without having to learn everything at once; working in a monitor requires learning hex, understanding how bits in a byte represent numbers and a number (s'cuse the pun) at the same time as learning 6502 itself.
2008-05-31 16:43
chatGPZ

Registered: Dec 2001
Posts: 11386
Quote:

working in a monitor requires learning hex, understanding how bits in a byte represent numbers and a number (s'cuse the pun) at the same time as learning 6502 itself.


uhm pardon but, if you cant take the hour to learn hex and bits and bytes (numbersystems such as sedecimal are primary school stuff btw) - forget about programming alltogether.

i would actually recommend playing around in a monitor aswell, atleast for a start, and especially to get familiar with the bits and bytes and all that junk.

ofcourse, once you have made a few trivial programs, you should move on to an assembler.
2008-05-31 17:16
T.M.R
Account closed

Registered: Dec 2001
Posts: 749
It's almost like a game, if you don't keep someone's attention at the start they don't get over the first level; that's why my preference is to get people playing with opcodes and actually moving something onscreen (even inc $0400 or inc $d020 for an absolute starting point) and then introduce hex and how bits represent numbers. Actually getting a result onscreen for their effort more often than not hooks people in when just talking about different number bases for "chapter 1" doesn't.

Essentially that's how i learnt too, using an assembler that accepted decimal numbers and not dealing with hex straight away; i've still got mot of the source for my first real game and that's nearly all in decimal.
2008-05-31 17:36
chatGPZ

Registered: Dec 2001
Posts: 11386
again: numbersystems are primary school material. i learned about binary and hex (and octal =P) in 4th grade primary school atleast, and so should have most other people.

and seeing sources with 53280 instead of $d020 make me shudder really.

no really. learn the basics first, not somewhere along the way. if thats too much for your attention span...oh well. forget programming. you'll give up at the next roadblock anyway =P
2008-05-31 18:10
Oswald

Registered: Apr 2002
Posts: 5094
I have vague memories about "learning" number systems in primary school. I also remember not understanding it at all, just memorizing some processes.

I dont think majority learned hex 2's and stuff before anything else, rather the other way around. Its not crucial for anything anyway.
2008-05-31 19:59
Danzig

Registered: Jun 2002
Posts: 440
I remember my computer & math teacher claiming its impossible to convert hex to dec, bin, oct and via verca without writing the "way" down!!!
it was an exam, i just had the answers but had not written the solution on the paper.
he claimed i peeked my classmates. i said: ok, that guy was on the seat infront of mine and that guy behind me. check their answers, they are all WRONG. Finally he told me nobody except of me had the right answers but still claimed I peeked.
so i offered him to test me on the board. he shall write random numbers from the "numbersystems" and i will solve the corresponding systems. ofcourse he said: we have no time for this. and my points were still STOLEN!

this is now 18 years ago... but i still spray hex/bin/oct-numbers on the walls of his house each sylvester night ever since... ok, just joking *G*
2008-06-01 07:30
chatGPZ

Registered: Dec 2001
Posts: 11386
haha lol, i remember similar things :) teacher couldnt believe that i knew 2^16=65536 =)
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 - 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
Freeze/Blazon
Guests online: 124
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.069 sec.