| View previous topic :: View next topic |
| Author |
Message |
Lemon64 Donator!


Joined: 03 Feb 2008 Age: 30 Posts: 22 Location: Copenhagen, Denmark
|
Posted: Thu Feb 21, 2008 8:03 pm Post subject: C64 machine language/assembler book |
|
|
hey coders,
I have never read any english 6502/6510 ML or assembler books. Are there any books that are known as "classics"?
i need (title + author), thanks in advance  |
|
| Back to top |
|
 |
Newbie

Joined: 19 Feb 2008 Posts: 10
|
Posted: Thu Feb 21, 2008 9:05 pm Post subject: |
|
|
I don't know how much programming experience you have, but if you've never programmed before then I wouldn't start with assembler because it's the hardest. Start with something simple like BASIC and get a feel for writing subroutines and things. You have to come to realize just how tedious programming can be.
After that you need to learn the mnemonics of 6502 like lda, sta, iny and bne along with just how many steps it takes just to fill an area with spaces. I don't know which is the best book for learning the language itself, some people with a good understanding of programming in general only need a list of the commands. And learning 6502 isn't Commodore specific, so any book that you feel is easy to read will do the trick. I used a book with a brown cover called Machine Language for Beginners.
But once you understand the basics of programming in 6502 you will need reference guides to the C64 so you know where the kernal subroutines and important registers are. Here are two books that I felt were very helpful to me when I was writing programs for the C64. The Commodore 64 Programmers Reference Guide and Anatomy of the Commodore 64.
 _________________ Hey Hey, My My, Rock N Roll will never die
and neither will the Commodore 64 |
|
| Back to top |
|
 |
Immortal Grandmaster of C64


Joined: 06 Dec 2004 Age: 40 Posts: 5801 Location: Toronto, CANADA
|
Posted: Thu Feb 21, 2008 9:26 pm Post subject: |
|
|
I've always been partial to Machine Language for the Commodore 64 (and Other Commodore Computers) by Jim Butterfield. You can download an electronic copy (along with some other good programming books) from here. You can find Machine Language for Beginners here and The Programmer's Reference Guide here. _________________ Here's to feeling good all the time. |
|
| Back to top |
|
 |
Newbie

Joined: 19 Feb 2008 Posts: 10
|
Posted: Thu Feb 21, 2008 9:53 pm Post subject: |
|
|
WOW, Jim Butterfield, that's a name I came across a lot back in the 80's while working with the C64. I've got to respect him, he's a legend. Too bad he died of cancer last year.  _________________ Hey Hey, My My, Rock N Roll will never die
and neither will the Commodore 64 |
|
| Back to top |
|
 |
Grandmaster of C64


Joined: 23 Sep 2005 Posts: 2118 Location: Earth (Ohio)
|
Posted: Fri Feb 22, 2008 1:19 am Post subject: |
|
|
The butterfield book is excellent....!
Its one of the best books ive read on ML for C64...... and it even teaches you concepts that would apply to other languages, like Intel assembly. _________________ Who the hell is General Failure, and why is he reading my disk?. |
|
| Back to top |
|
 |
Lemon64 Donator!


Joined: 03 Feb 2008 Age: 30 Posts: 22 Location: Copenhagen, Denmark
|
Posted: Fri Feb 22, 2008 9:23 am Post subject: |
|
|
| Donski wrote: | | I don't know how much programming experience you have, ... |
I know how to program but it would be nice to have a book just for memories
...thx for all the suggestions!  |
|
| Back to top |
|
 |
Lemon64 Donator!


Joined: 03 Feb 2008 Age: 30 Posts: 22 Location: Copenhagen, Denmark
|
Posted: Fri Feb 22, 2008 10:50 am Post subject: |
|
|
Glanced through the book, "Machine language for the commodore 64 and other commodore computers..". Looks good  nice appendix-section with good info.
Do you guys have any tips on where to buy such a book. I saw it on amazon - as "used book".
Would it be a bad idea to buy it there? |
|
| Back to top |
|
 |
Immortal Grandmaster of C64


Joined: 06 Dec 2004 Age: 40 Posts: 5801 Location: Toronto, CANADA
|
Posted: Fri Feb 22, 2008 3:24 pm Post subject: |
|
|
| sovsekoder wrote: | | Do you guys have any tips on where to buy such a book. |
I would look on eBay. I often see them selling for $15-$25 there which doesn't seem unreasonable to me. _________________
Here's to feeling good all the time. |
|
| Back to top |
|
 |
Lemon64 Donator!


Joined: 03 Feb 2008 Age: 30 Posts: 22 Location: Copenhagen, Denmark
|
Posted: Fri Feb 22, 2008 10:11 pm Post subject: |
|
|
does the book, "Machine Language for the Commodore 64 and Other Commodore Computers", only exist as paperback/softcover ? |
|
| Back to top |
|
 |
Team Member


Joined: 31 Dec 2001 Posts: 2047 Location: Gilead
|
Posted: Sat Feb 23, 2008 12:00 am Post subject: |
|
|
Wasnt the Programmers Reference Guide scanned and uploaded someplace? _________________ Long days and pleasant nights....
Come join the Dawnsong guild in WoW, Alliance, Aszune server
<fnordpojk> Dan_Gillg: Is WoW down, or what brings you here?  |
|
| Back to top |
|
 |
Newbie

Joined: 19 Feb 2008 Posts: 10
|
Posted: Sat Feb 23, 2008 3:36 am Post subject: |
|
|
| Dan Gillgrass wrote: | | Wasnt the Programmers Reference Guide scanned and uploaded someplace? |
http://www.commodore.ca/manual...erence.htm
http://www.freeinfosociety.com...ostnum=275 _________________
Hey Hey, My My, Rock N Roll will never die
and neither will the Commodore 64 |
|
| Back to top |
|
 |
Über Groupie

Joined: 02 Jan 2008 Age: 37 Posts: 341 Location: maximum security twilight home
|
Posted: Sat Feb 23, 2008 2:36 pm Post subject: |
|
|
| Dan Gillgrass wrote: | | Wasnt the Programmers Reference Guide scanned and uploaded someplace? |
As text-only version:
http://project64.c64.org/misc/index.html
Jim Butterfield's book is also available there. _________________
7 bullets, 3 grenades, uniform, vest |
|
| Back to top |
|
 |
Immortal Grandmaster of C64


Joined: 06 Dec 2004 Age: 40 Posts: 5801 Location: Toronto, CANADA
|
Posted: Sat Feb 23, 2008 7:47 pm Post subject: |
|
|
Quick OT question: Do most people read the entire thread before posting? _________________ Here's to feeling good all the time. |
|
| Back to top |
|
 |
Lemon64 Donator!


Joined: 03 Feb 2008 Age: 30 Posts: 22 Location: Copenhagen, Denmark
|
Posted: Sat Feb 23, 2008 8:05 pm Post subject: |
|
|
| gklinger wrote: | | Quick OT question: Do most people read the entire thread before posting? |
heh yeah, looks like your previous links are overlooked.. |
|
| Back to top |
|
 |
C64 Enthusiast


Joined: 31 Jan 2003 Age: 39 Posts: 885 Location: Italy
|
Posted: Mon May 05, 2008 7:16 pm Post subject: Re: learn to write Commdore 64 machine code programs and gam |
|
|
| omega120 wrote: | | If you dont know anything about Commodore 64 machine code and want to learn then visit my web site :- www.peterscommodore64.cjb.net |
and... apart being a redirect of http://geocities.com/mantisdawn which exists for years without anything than your 2 old lousy games, what should one learn from it about coding c64? There is nothing to read.
At least provide something before spamming it, FFS! _________________
-=[]=--- iAN CooG/HVSC & C64Intros ---=[]=- |
|
| Back to top |
|
 |
Forum Junkie


Joined: 19 Apr 2008 Age: 34 Posts: 495 Location: Saint Paul, MN USA
|
Posted: Mon May 05, 2008 7:46 pm Post subject: Re: learn to write Commdore 64 machine code programs and gam |
|
|
| iAN CooG wrote: |
and... apart being a redirect of http://geocities.com/mantisdawn which exists for years without anything than your 2 old lousy games, what should one learn from it about coding c64? There is nothing to read.
At least provide something before spamming it, FFS! |
There are coding docs if you click the "next" link between the game links. |
|
| Back to top |
|
 |
Grandmaster of C64


Joined: 23 Sep 2005 Posts: 2118 Location: Earth (Ohio)
|
Posted: Mon May 05, 2008 8:35 pm Post subject: |
|
|
| sovsekoder wrote: | | does the book, "Machine Language for the Commodore 64 and Other Commodore Computers", only exist as paperback/softcover ? |
I think so.
I got my copy's cover laminated.
I somehow got a copy for 85 cents or something.........
i love the oldschool coloring book pages! _________________
Who the hell is General Failure, and why is he reading my disk?. |
|
| Back to top |
|
 |
C64 Enthusiast


Joined: 08 Feb 2007 Posts: 891 Location: Rochester, NY
|
Posted: Tue May 06, 2008 1:08 am Post subject: Re: learn to write Commdore 64 machine code programs and gam |
|
|
| iAN CooG wrote: | ...which exists for years without anything than your 2 old lousy games, what should one learn from it about coding c64? There is nothing to read.
At least provide something before spamming it, FFS! |
need some help pulling your foot out of your mouth, Mr. CooG? looks like it's in there pretty deep...
actually looks like a damn good read for a beginner (like myself). |
|
| Back to top |
|
 |
C64 Enthusiast


Joined: 31 Jan 2003 Age: 39 Posts: 885 Location: Italy
|
Posted: Tue May 06, 2008 6:38 pm Post subject: Re: learn to write Commdore 64 machine code programs and gam |
|
|
|
|
| Back to top |
|
 |
Groupie in Training

Joined: 18 Jun 2006 Posts: 72
|
|
| Back to top |
|
 |
Über Groupie

Joined: 17 Jul 2003 Posts: 358
|
Posted: Sat May 10, 2008 6:56 pm Post subject: |
|
|
ian, that was rude.... |
|
| Back to top |
|
 |
Newbie
Joined: 05 May 2008 Posts: 25 Location: Germany / Baden
|
Posted: Sat May 10, 2008 11:55 pm Post subject: |
|
|
oswald, just take a look at the 2 posts above yours ... this dipshit IS spamming! |
|
| Back to top |
|
 |
Immortal Grandmaster of C64


Joined: 06 Dec 2004 Age: 40 Posts: 5801 Location: Toronto, CANADA
|
Posted: Sun May 11, 2008 12:52 am Post subject: |
|
|
We appear to have another thecommodore64kid on our hands, intellectually speaking.  _________________ Here's to feeling good all the time. |
|
| Back to top |
|
 |
Groupie in Training


Joined: 13 May 2007 Posts: 109 Location: England
|
|
| Back to top |
|
 |
Immortal Grandmaster of C64


Joined: 06 Dec 2004 Age: 40 Posts: 5801 Location: Toronto, CANADA
|
Posted: Wed May 21, 2008 2:38 am Post subject: |
|
|
| square wrote: | | I really like Programming The 6502, by Rodney Zaks. |
The first edition is to be avoided (it has lots of mistakes) and unfortunately some of them made it through to the third edition. I understand the fourth edition is better so if you ever see one for sale, grab it. I need to buy a copy of the fourth edition for myself one of these days so I scan it in. It really is a nicely written book. _________________
Here's to feeling good all the time. |
|
| Back to top |
|
 |
|