6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Sep 29, 2024 3:27 pm

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Thu Nov 29, 2018 6:07 pm 
Offline

Joined: Wed Nov 28, 2018 7:22 pm
Posts: 4
I have an embedded 65C02 system developed with an Avocet assembler (X6502.exe).
I want to port this code to a system built around a 65C816.
I've tried the Western Design Center WDC816AS.exe assembler but it fails to complete (i.e., crashes during assembly).
I'm told that Avocet also made an assembler for the 65C816.

I would like to find someone who has such an assembler and user's manual that I might purchase.
Please contact me if you have these.


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 29, 2018 10:43 pm 
Offline
User avatar

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

I believe Avocet did have an '816 assembler, but that they're out of business now. They had taken over selling the 2500AD assembler too for a while (without supporting it very well at all), but I removed it from my link page's assembler section when the link went dead. Do you specifically need Avocet, or are you just looking for an assembler that assembles for the '816? I have a list of 65xx (including '816) assemblers at that URL. Most of them are free. I use, and really like, the C32 (Cross-32) assembler for the '816. Actually, for $99, you buy one assembler that works for dozens of processors, so you don't have to buy another one for each. It's a powerful macro assembler. There are a couple of very good ones listed there from our own forum members too.

_________________
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 Nov 30, 2018 9:00 am 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
feaxmear wrote:
I've tried the Western Design Center WDC816AS.exe assembler but it fails to complete (i.e., crashes during assembly).


I had a issue with spaces in expressions (e.g. "1 + 2" rather than '"1+2") but WDC had a fixed version of the assembler for that.

I've posted several examples on this forum that use my OpenSource Java based assembler package that does 65(C)02 and 65816 (which also does 4004, 4040, 8008, 8080, 6800, 6809, MELPS 740, CDP 1802, SC/MP and shortly KENBAK-1).

Here is an example http://forum.6502.org/viewtopic.php?p=60467#p60467

_________________
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  
PostPosted: Fri Nov 30, 2018 1:04 pm 
Offline

Joined: Wed Nov 28, 2018 7:22 pm
Posts: 4
We use an Avocet assembler for our 65C02 code.
We're trying to use this code as a base for 65C816 follow-on development.
Our thought is that an Avocet assembler for the 65C816 would have similar syntax, etc., and make the porting go smoother.
Supposedly Western Design Center supposedly supports their assembler but it crashes without providing any information regarding the cause.

I'd really like to find an Avocet 65C816 assembler to see where we need to make changes.


Top
 Profile  
Reply with quote  
PostPosted: Fri Nov 30, 2018 2:05 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
feaxmear wrote:
Supposedly Western Design Center supposedly supports their assembler but it crashes without providing any information regarding the cause.

If I were in your position I'd make at least a superficial attempt to isolate the problem. (Perhaps you've already tried this.) For example, can you successfully assemble a "program" that's just a single instruction (such as a branch to self)? If *that* crashes then you've learned something meaningful.

Or, if it works, try assembling an edited version of your desired source code... a version that has about half of its original content deleted. Obviously there will be error messages, but does it crash? If the crash disappears then that implies some sort of difficulty in the portion you deleted. You could then repeat the experiment again and again with successively smaller portions deleted until the offending content becomes clear... if you have the patience, that is. And there's a risk this could turn out to be a waste of time.

Have you tried contacting Western Design Center?

cheers
Jeff

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
PostPosted: Fri Nov 30, 2018 2:15 pm 
Offline

Joined: Wed Nov 28, 2018 7:22 pm
Posts: 4
We've done what you suggest.
As we successively partition the code down to smaller chunks we continue to receive 'crashes' with no indications as to why the crash occurs.
The final partition is the trivial one where no code is included.
At that point there's nothing to be learned.
We've been in contact with Western Design Center.


Top
 Profile  
Reply with quote  
PostPosted: Fri Nov 30, 2018 2:25 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
feaxmear wrote:
The final partition is the trivial one where no code is included.
At that point there's nothing to be learned.
It crashes with no code included? THAT is something significant you've learned.

Curious to hear how this plays out with WDC. Keep us posted, please.

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
PostPosted: Fri Nov 30, 2018 2:39 pm 
Offline

Joined: Wed Nov 28, 2018 7:22 pm
Posts: 4
Maybe I haven't been clear.
The Avocet 2500AD X6502 assembler is the one we have used successfully for years.
In our effort to port to the 65C816 we've been trying to use the Western Design Center WDC816AS.exe assembler on our code base.
It's the WDC816AS.exe that crashes on all but the most trivial partition of our code base.
Our thought is to try an Avocet assembler for the 65C816, if it exists.

In the future the plan is to rewrite portions in C but for the time being we want to get the existing embedded system functioning on the 65C816 device.


Top
 Profile  
Reply with quote  
PostPosted: Fri Nov 30, 2018 4:04 pm 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
If you mail me some of you code I could have a try diagnosing the issue for you. Other than the expression syntax issue I've found the WDC assembler to be stable.

_________________
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  
PostPosted: Fri Nov 30, 2018 4:20 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
feaxmear wrote:
Maybe I haven't been clear.
Or perhaps I was unclear. What I was asking is how did WDC respond when you contacted them? Do they seem interested in helping?

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 12 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: