Commodore 64 (C64) Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
C64 machine language/assembler book
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Commodore 64 (C64) Forum Index -> Scene
View previous topic :: View next topic  
Author Message
sovsekoder
Lemon64 Donator!
Lemon64 Donator!


Joined: 03 Feb 2008
Age: 30
Posts: 22
Location: Copenhagen, Denmark

PostPosted: Thu Feb 21, 2008 8:03 pm    Post subject: C64 machine language/assembler book Reply with quote

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 Smile
Back to top
View user's profile Send private message
Donski
Newbie


Joined: 19 Feb 2008
Posts: 10

PostPosted: Thu Feb 21, 2008 9:05 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
gklinger
Immortal Grandmaster of C64
Immortal Grandmaster of C64


Joined: 06 Dec 2004
Age: 40
Posts: 5801
Location: Toronto, CANADA

PostPosted: Thu Feb 21, 2008 9:26 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Donski
Newbie


Joined: 19 Feb 2008
Posts: 10

PostPosted: Thu Feb 21, 2008 9:53 pm    Post subject: Reply with quote

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. Crying or Very sad
_________________
Hey Hey, My My, Rock N Roll will never die
and neither will the Commodore 64
Back to top
View user's profile Send private message Send e-mail
Arkhan
Grandmaster of C64
Grandmaster of C64


Joined: 23 Sep 2005
Posts: 2118
Location: Earth (Ohio)

PostPosted: Fri Feb 22, 2008 1:19 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
sovsekoder
Lemon64 Donator!
Lemon64 Donator!


Joined: 03 Feb 2008
Age: 30
Posts: 22
Location: Copenhagen, Denmark

PostPosted: Fri Feb 22, 2008 9:23 am    Post subject: Reply with quote

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 Smile

...thx for all the suggestions! Very Happy
Back to top
View user's profile Send private message
sovsekoder
Lemon64 Donator!
Lemon64 Donator!


Joined: 03 Feb 2008
Age: 30
Posts: 22
Location: Copenhagen, Denmark

PostPosted: Fri Feb 22, 2008 10:50 am    Post subject: Reply with quote

Glanced through the book, "Machine language for the commodore 64 and other commodore computers..". Looks good Smile 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
View user's profile Send private message
gklinger
Immortal Grandmaster of C64
Immortal Grandmaster of C64


Joined: 06 Dec 2004
Age: 40
Posts: 5801
Location: Toronto, CANADA

PostPosted: Fri Feb 22, 2008 3:24 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
sovsekoder
Lemon64 Donator!
Lemon64 Donator!


Joined: 03 Feb 2008
Age: 30
Posts: 22
Location: Copenhagen, Denmark

PostPosted: Fri Feb 22, 2008 10:11 pm    Post subject: Reply with quote

does the book, "Machine Language for the Commodore 64 and Other Commodore Computers", only exist as paperback/softcover ?
Back to top
View user's profile Send private message
Dan Gillgrass
Team Member
Team Member


Joined: 31 Dec 2001
Posts: 2047
Location: Gilead

PostPosted: Sat Feb 23, 2008 12:00 am    Post subject: Reply with quote

Wasnt the Programmers Reference Guide scanned and uploaded someplace?
_________________
Long days and pleasant nights....

Come join the Dawnsong guild in WoW, Alliance, Aszune server Smile


<fnordpojk> Dan_Gillg: Is WoW down, or what brings you here? Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Donski
Newbie


Joined: 19 Feb 2008
Posts: 10

PostPosted: Sat Feb 23, 2008 3:36 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
tfg
Über Groupie
Über Groupie


Joined: 02 Jan 2008
Age: 37
Posts: 341
Location: maximum security twilight home

PostPosted: Sat Feb 23, 2008 2:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
gklinger
Immortal Grandmaster of C64
Immortal Grandmaster of C64


Joined: 06 Dec 2004
Age: 40
Posts: 5801
Location: Toronto, CANADA

PostPosted: Sat Feb 23, 2008 7:47 pm    Post subject: Reply with quote

Quick OT question: Do most people read the entire thread before posting?
_________________
Here's to feeling good all the time.
Back to top
View user's profile Send private message Visit poster's website
sovsekoder
Lemon64 Donator!
Lemon64 Donator!


Joined: 03 Feb 2008
Age: 30
Posts: 22
Location: Copenhagen, Denmark

PostPosted: Sat Feb 23, 2008 8:05 pm    Post subject: Reply with quote

gklinger wrote:
Quick OT question: Do most people read the entire thread before posting?


heh Smile yeah, looks like your previous links are overlooked..
Back to top
View user's profile Send private message
iAN CooG
C64 Enthusiast
C64 Enthusiast


Joined: 31 Jan 2003
Age: 39
Posts: 885
Location: Italy

PostPosted: Mon May 05, 2008 7:16 pm    Post subject: Re: learn to write Commdore 64 machine code programs and gam Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
sixstringmonk
Forum Junkie
Forum Junkie


Joined: 19 Apr 2008
Age: 34
Posts: 495
Location: Saint Paul, MN USA

PostPosted: Mon May 05, 2008 7:46 pm    Post subject: Re: learn to write Commdore 64 machine code programs and gam Reply with quote

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
View user's profile Send private message Visit poster's website
Arkhan
Grandmaster of C64
Grandmaster of C64


Joined: 23 Sep 2005
Posts: 2118
Location: Earth (Ohio)

PostPosted: Mon May 05, 2008 8:35 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
jbuonacc
C64 Enthusiast
C64 Enthusiast


Joined: 08 Feb 2007
Posts: 891
Location: Rochester, NY

PostPosted: Tue May 06, 2008 1:08 am    Post subject: Re: learn to write Commdore 64 machine code programs and gam Reply with quote

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? Smile looks like it's in there pretty deep...

actually looks like a damn good read for a beginner (like myself).
Back to top
View user's profile Send private message
iAN CooG
C64 Enthusiast
C64 Enthusiast


Joined: 31 Jan 2003
Age: 39
Posts: 885
Location: Italy

PostPosted: Tue May 06, 2008 6:38 pm    Post subject: Re: learn to write Commdore 64 machine code programs and gam Reply with quote

jbuonacc wrote:

need some help pulling your foot out of your mouth, Mr. CooG? Smile

Don't care too much of my mouth, be worried about you tongue licking his ass instead. His spamming behaviours are already known, I was upset about idiotic modes of spamming his site. Here's an example of some weeks ago, in an italian chat
Quote:

[20:05] <omega120> hi C64 CHATTERS
[20:05] <rob-erto> ciao
[20:06] <omega120> HAS ANYONE HERE CREATED A ML GAME
[20:06] * Looking up omega120 user info...
[20:06] <iAN_CooG> you have the caps lock key stuck
[20:07] <iAN_CooG> please clean your keyboard and try to remove crumbs under it
[20:07] <iAN_CooG> Very Happy
[20:07] <omega120> GO TO THIS WEB SITE AND DOWNLOAD MY GAME CALLED MANKY www.peterscommodore64.cjb.net
[20:07] <iAN_CooG> anyway, this is not an international chat, we speak italian here
[20:07] <iAN_CooG> no I won't
[20:08] <iAN_CooG> thank you anyway
[20:08] <omega120> why not u scared to download it
[20:08] <rob-erto> mr wongs loopy laundry
[20:08] <rob-erto> e manky
[20:08] <omega120> i wrote that as well its not finished
[20:09] <iAN_CooG> go lemon64.com and tell all the world about it /rollseyes
[20:10] <rob-erto> http://www.gb64.com/game.php?i...18&h=0
[20:10] <rob-erto> parlai di questo gioco 7-8 anni con overkiller, non era ancora finito
[20:10] <iAN_CooG> capisco
[20:10] <omega120> MANKY IS FINISHED PLAY IT IF U DARE U MITE FIND IT A BIT IMPOSSIBLE BUT THE CRACK COMPANY SECRET CRACKED MY GAME MANKY THE SPOILSPORTS THEY ARE
[20:10] * Timer 1 activated
[20:10] * iAN_CooG sets mode: +b *!*@Azzurra-412CBD89.ipt.aol.com
[20:11] * Timer 1 halted
[20:11] * omega120 was kicked by iAN_CooG (iAN_CooG)


jbuonacc wrote:

actually looks like a damn good read for a beginner (like myself).

Oh yeah, you'll learn a lot from that page, go on reading. Rolling Eyes
_________________
-=[]=--- iAN CooG/HVSC & C64Intros ---=[]=-
Back to top
View user's profile Send private message Send e-mail Visit poster's website
omega120
Groupie in Training
Groupie in Training


Joined: 18 Jun 2006
Posts: 72

PostPosted: Sat May 10, 2008 3:39 pm    Post subject: Re: learn to write Commdore 64 machine code programs and gam Reply with quote

Did you click on the word `NEXT` which will get you to the learning of `machine code` Very Happy
Back to top
View user's profile Send private message Send e-mail
oswald
Über Groupie
Über Groupie


Joined: 17 Jul 2003
Posts: 358

PostPosted: Sat May 10, 2008 6:56 pm    Post subject: Reply with quote

ian, that was rude....
Back to top
View user's profile Send private message
Zirias
Newbie


Joined: 05 May 2008
Posts: 25
Location: Germany / Baden

PostPosted: Sat May 10, 2008 11:55 pm    Post subject: Reply with quote

oswald, just take a look at the 2 posts above yours ... this dipshit IS spamming!
Back to top
View user's profile Send private message
gklinger
Immortal Grandmaster of C64
Immortal Grandmaster of C64


Joined: 06 Dec 2004
Age: 40
Posts: 5801
Location: Toronto, CANADA

PostPosted: Sun May 11, 2008 12:52 am    Post subject: Reply with quote

We appear to have another thecommodore64kid on our hands, intellectually speaking. Evil or Very Mad
_________________
Here's to feeling good all the time.
Back to top
View user's profile Send private message Visit poster's website
square
Groupie in Training
Groupie in Training


Joined: 13 May 2007
Posts: 109
Location: England

PostPosted: Wed May 21, 2008 1:14 am    Post subject: Reply with quote

I really like Programming The 6502, by Rodney Zaks.



It's the clearest of all the books I have and the writing style is excellent. I always have it sitting beside me Smile
Back to top
View user's profile Send private message
gklinger
Immortal Grandmaster of C64
Immortal Grandmaster of C64


Joined: 06 Dec 2004
Age: 40
Posts: 5801
Location: Toronto, CANADA

PostPosted: Wed May 21, 2008 2:38 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Commodore 64 (C64) Forum Index -> Scene All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Tip: Get C64 Forever for super-comfy C64 emulation with pre-installed games, demos and other goodies!


Powered by phpBB © 2001, 2005 phpBB Group