6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Nov 15, 2024 3:58 am

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Fri Dec 21, 2018 1:30 am 
Offline

Joined: Fri Dec 21, 2018 1:05 am
Posts: 1114
Location: Albuquerque NM USA
Hello,
I just registered on 6502.org. I'm a retired hardware engineer. I've designed with microprocessors but never 6502. The reason I joined the board is because I have a collection of 5-Volt dual-inline-package microprocessors over the years and I like to build them into single board computers. I have designed a generic 8-bit microprocessor prototype (G8PP) board that should be able to handle most 8-bit microprocessors of 1970's and early 1980's with some hand wirings specific to the microprocessor being prototyped. I want to try out the 6502 with that prototype approach.

I'm looking for a popular 6502 assembler that runs on PC Windows. I'm also looking for a basic monitor that can be loaded into RAM. I have used Lee Davison's 68000 version of EhBasic. I thought it would be a good goal to have 6502 version EhBasic running on the 6502 G8PP. I appreciate recommendations and helps on assembler, monitor and EhBasic. Thanks!
Bill Shen

Edit. I should mention the 6502 I want to prototype is W65C02SBP-10


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 21, 2018 3:08 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8487
Location: Midwestern USA
plasmo wrote:
I just registered on 6502.org...I'm looking for a popular 6502 assembler that runs on PC Windows.

Take a look at the Kowalski Assembler/Simulator. I have made extensive use of it to develop software for my POC machines.

Quote:
I have used Lee Davison's 68000 version of EhBasic. I thought it would be a good goal to have 6502 version EhBasic running on the 6502 G8PP.

A 6502 version of EhBASIC is also available, but I don't happen to have a current link to it. Doing a search here should turn it up.

Quote:
Edit. I should mention the 6502 I want to prototype is W65C02SBP-10

It should work fine (the -10 suffix means it's qualified for speeds up to 10 MHz). Using the CMOS version gains you some bug fixes over the NMOS version, as well as new instructions and new addressing modes for existing instructions.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 21, 2018 3:46 am 
Offline

Joined: Fri Dec 21, 2018 1:05 am
Posts: 1114
Location: Albuquerque NM USA
Thank you for the pointers. I will start a new topic asking about how bootstrap is done.
Bill


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 21, 2018 3:57 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8541
Location: Southern California
Welcome.

The Kowalski assembler & simulator mentioned by BDD above seem to be popular. I don't think there's much support in the way of a good English manual, but intensive users like BDD can undoubtedly be very helpful. I have a list of assemblers, most of them being free, on the links page of my 6502 website, at http://wilsonminesco.com/links.html#assem . One I have not used but I believe is excellent is our own forum member Andrew Jacobs' As65 assembler which has program-structure capability built in. I use Cross-32 (C32), formerly from Universal Cross Assemblers, now sold by Data Sync Engineering. It costs $99 but then you have an assembler that will work for many processors, instead of having to get another one for each. I have 65c02 program flow-control macros for it on my site at http://wilsonminesco.com/StructureMacros/ .

Lee Davison's EhBASIC for 6502 is available here and here. Unfortunately Lee passed away in 2013.

Quote:
Using the CMOS version gains you some bug fixes over the NMOS version, as well as new instructions and new addressing modes for existing instructions.

...and I have put a collection of the many improvements at http://wilsonminesco.com/NMOS-CMOSdif/ .

_________________
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  
PostPosted: Fri Dec 21, 2018 4:45 am 
Offline

Joined: Fri Dec 21, 2018 1:05 am
Posts: 1114
Location: Albuquerque NM USA
The Cross-32 is a great recommendation. I'm looking to prototype many 8-bit processors of 1970's and 1980's and I didn't like the prospect of having to learn each vendor's idiosyncrasy. I dimly recall there is another commercial universal assembler like that and cost in the $100-$150 range. Is Cross-32 only one you know of?

I learned of Lee Davison's passing a couple years ago. Regrettably, I came to the retrocomputing scene too late to have corresponded with Lee.
Bill


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 21, 2018 5:21 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8541
Location: Southern California
plasmo wrote:
The Cross-32 is a great recommendation. I'm looking to prototype many 8-bit processors of 1970's and 1980's and I didn't like the prospect of having to learn each vendor's idiosyncrasy. I dimly recall there is another commercial universal assembler like that and cost in the $100-$150 range. Is Cross-32 only one you know of?

I might have heard of another one, but I don't remember for sure, let alone what it might have been if there is one. C32 also gives you the tools to adapt it to a processor of your own design if you like. IOW, you don't have to write your own assembler, only the tables for this one to recognize and correctly assemble the new instructions and addressing modes. It's a very good macro assembler.

_________________
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  
PostPosted: Fri Dec 21, 2018 9:40 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10977
Location: England
Welcome, Bill!


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 25, 2018 5:19 am 
Offline

Joined: Tue Dec 25, 2018 4:41 am
Posts: 8
I use DASM for my assembler I know people don't think very highly of it but I have written a lot of 6502 code in it.
http://dasm-dillon.sourceforge.net/
runs on windows and linux.

My modular 6502 SBC uses arduino headers for the BUS for board stacking. I have my source code for the monitor program I am writing. It is incomplete and buggy but works for reading and writing bytes into ram and calling a program inserted into ram.
http://deskmachines.com/

_________________
http://deskmachines.com


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 25, 2018 11:50 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10977
Location: England
(Welcome to these forums DeskMachines! And thanks for sharing your creations.)


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

All times are UTC


Who is online

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