6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat May 04, 2024 6:27 am

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Starting up with 65c02
PostPosted: Sun Feb 12, 2012 2:01 am 
Offline

Joined: Sun Feb 12, 2012 1:06 am
Posts: 2
Hi everyone,
I've recently come into possession of two W65C02S6TPG-14 chips. I've been looking to get into some h/w stuff for fun and this seemed like a great opportunity.

Background about me:
I am in school for software engineering and have had only minimal hardware exposure.
Most of my previous work for programming devices like this was aimed at simulators/emulators.

Anyways, I guess what I'm asking for is a couple things:
- what assemblers would you recommend? (I currently have HXA)
- what do I need to load a hex file onto the physical chip? (An (E)EPROM programmer? Anyone particularly fond of a specific one?)

Thanks for reading.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Feb 12, 2012 1:24 pm 
Offline

Joined: Fri Jun 27, 2003 8:12 am
Posts: 618
Location: Meadowbrook
There is an eprom emulator I use to reload software while working, tech tools erm32 or some such number.

The C02 is a most fun adventure, welcome and enjoy!

_________________
"My biggest dream in life? Building black plywood Habitrails"


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Feb 12, 2012 3:32 pm 
Offline

Joined: Wed May 20, 2009 1:06 pm
Posts: 491
Apatco and or Digikey sells the Xeltek eprom programmer for around $300 but you can get a Willem programmer on Ebay for a lot less.

Apatco and Briel compters are the only two companies that sell a computer with a 6502. Xgamestation has a game unit that uses a 6502 and there is another prototype called the Propedal:

viewtopic.php?t=1864

Basically, you can find a lot of parts for sale at Apatco.com or you can buy their kits. Finding roms for the 65C816S is a little more tricky. Most of the roms you are going to find are 32K but the parts you are looking for are:

Quote:
Chuckz: My project will use the AS6C1008-55PCN as static RAM chip. It’s 128KB and has an access time of 55ns, I think that’s fast enough for a 14MHz clock but this late at night I’m not sure if I got the math right .

It’s also pin-compatible with the 62256 (32K) and the 62512 (64K) but the 62512 is surprisingly hard to find…


I gave up a little on the 6502 because of the development costs in favor of the STM32 board (another platform) and the STM32 is faster and a board is only $15 on Mouser which is half the price of an Arduino. I want a faster computer than the 6502 and the 65C816S is faster but the Beaglebone and STM32 platform and like platforms are something that has become my hobby right now.

If my information helps you, please get in touch and please return the favor if you can actually help me get started with the 6502 family.

There are other articles on the 6502 in blogs from Hackaday and Adafruit.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Feb 13, 2012 3:56 am 
Offline

Joined: Sun Feb 12, 2012 1:06 am
Posts: 2
Thanks for the replies,

Yeah, 300$ is quite a chunk of coin.
I've been looking at a few programmers on ebay. However, since I need one to run on my Win7 no-parallel-port machine, I'm rather restricted with my choices it appears.

G540 - this seems to be the best for me (runs on win7 and uses only the usb). Anyone have experience with this? (It looks like it will work with the 65c02, can anyone confirm this?)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Feb 13, 2012 6:38 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8430
Location: Southern California
Quote:
(It looks like it will work with the 65c02. Can anyone confirm this?)

The programmer doesn't care what processor you use the programmed memories on; so sure, it'll work.

Quote:
- what assemblers would you recommend? (I currently have HXA)

BitWise has one at http://www.obelisk.demon.co.uk/6502/6502.zip . A couple of others I see mentioned in posts are ca65 and xa65. There's a list of assemblers on this website, with links, at http://6502.org/tools/asm/ . I have not used any of them, but have used 2500AD's assembler at my last place of work (1985-1992) and Cross-32 (abbreviated C32) from Universal Cross Assemblers since then at the company I'm working for now. These two are not free, or at least weren't at the time. C32 was the cheaper one at $99. I liked both a lot, but they each had a advantage or two that the other didn't have. Also, the C32 comes with the tables for dozens of assembers, so you don't have to get a different assembler for every processor you want to assemble for, and it tells how to make your own if you come up with a new processor. For assembling on my home-made workbench computer, I wrote a very simple assmebler that runs in its Forth language. It only took a couple of hours to write in its original form, and being in Forth, easily accommodates macros. It's really only Forth primitives (ie code definitions), runtimes, subroutines, etc. though, not entire applications (which wouldn't be needed anyway when you have Forth onboard).

_________________
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?


Last edited by GARTHWILSON on Thu Feb 23, 2012 7:24 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Feb 15, 2012 4:13 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8430
Location: Southern California
Quote:
- what do I need to load a hex file onto the physical chip? (An (E)EPROM programmer? Anyone particularly fond of a specific one?)

I don't have any experience with any currently available ones, but the EPROM-programming algorithms topic has a link to a link for a medium-priced ($270) EPROM programmer. I wonder if there are any for $100 to $150 anymore.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Feb 15, 2012 3:37 pm 
Offline

Joined: Fri Jun 27, 2003 8:12 am
Posts: 618
Location: Meadowbrook
the Wilhelm are pretty cheap, maybe 40 bucks or so. Am not super entranced, my fave is still my PB-10 from Needham. wish they stille existed, though. Sigh...

_________________
"My biggest dream in life? Building black plywood Habitrails"


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Feb 15, 2012 4:23 pm 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
GARTHWILSON wrote:
BitWise has one at http://www.obelisk.demon.co.uk/6502/6502.zip . A couple of others I see mentioned in posts are ca64 and xa64. There's a list of assemblers on this website, with links, at http://6502.org/tools/asm/ .

Who updated the tools page? It would be nice to get a link from there to
http://www.obelisk.demon.co.uk/dev65/

_________________
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 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: