6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Tue Nov 12, 2024 3:44 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: 6502 programming
PostPosted: Sun Apr 10, 2016 9:51 pm 
Offline

Joined: Sun Apr 10, 2016 9:27 pm
Posts: 1
Hello to all,

I just joined to this forum. I want to know how to start programming 6502? where do i need to start? any help appreciated.

I know this is a dumb question, but Im really sorry guys.


Top
 Profile  
Reply with quote  
 Post subject: Re: 6502 programming
PostPosted: Mon Apr 11, 2016 12:31 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8539
Location: Southern California
Welcome!

There are lots of good books on programming the 6502. I think the best one is "Programming the 65816 including the 6502, 65C02, and 65802" by David Eyes and Ron Liechty. This is a .pdf file of a rather large book that is well laid out and is much better than the description there lets on. Although it covers the 65816 also, you can ignore those parts until after you've gotten a good handle on the '02; but it does cover the 65c02 also (ie, CMOS version of the 6502) which has a lot of benefits over the original NMOS 6502, including more instructions and addressing modes, which most 6502 programming books and sites don't cover.

There are web pages where you can download (for free) lots of scanned books on various computer families, including programming, like these:
There are some Z80 books mixed in there. I don't know why, except I think the C128 had both a Z80 and a 6502. Just ignore those. You will find 6502 programming books though.

When you get down to the realities of typing your first programs into an assembler, take a look at section 18 of the 6502 primer, called, "Program-Writing: Where Do I Start?" and section 20, called "Tips For Programming the 65(c)02 (sometimes affecting hardware design optimization)." The 6502 primer is mostly about hardware and making your own 6502 computer, but forum posts indicated that these programming things needed to be answered.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
 Post subject: Re: 6502 programming
PostPosted: Mon Apr 11, 2016 8:30 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10977
Location: England
Don't forget the online tutorial easy6502!

Welcome, Wire!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 15 guests


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 post attachments in this forum

Search for:
Jump to: