6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Apr 28, 2024 7:02 pm

All times are UTC




Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Mon Jan 05, 2015 1:22 pm 
Offline

Joined: Fri Sep 28, 2012 12:27 pm
Posts: 25
Location: Boulogne Billancourt, France
Hello,
The page at the URL below describes an extensive cross macro/assembler which runs under Windows
http://www.brutaldeluxe.fr/products/crossdevtools/merlin/
Source (VS2010) is included in the archive pointed to by the download link at the bottom of the page so that you can add extra output formats yourself.
The macro assembler allows for a syntax equivalent to the Merlin suite of assemblers (by M. Glen Bredon and released for the Apple 2 and then for the C64).

HTHATS,
Benoît


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 05, 2015 4:27 pm 
Offline

Joined: Wed Jan 03, 2007 3:53 pm
Posts: 51
Location: Sunny So Cal
A while ago I received VS2005 patches for xa. I'd be delighted to hear if they still serve for Win64 (I don't have a Windows machine of my own to test with).

_________________
Machine room: http://www.floodgap.com/etc/machines.html


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 09, 2015 10:49 pm 
Offline

Joined: Tue Jul 24, 2012 2:27 am
Posts: 672
I tend to prefer ca65 (from the cc65 suite). It's the most powerful one I've worked with, and is great for large multi-file projects.

It builds from source under cygwin just fine.

_________________
WFDis Interactive 6502 Disassembler
AcheronVM: A Reconfigurable 16-bit Virtual CPU for the 6502 Microprocessor


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 17, 2015 2:05 am 
Offline

Joined: Wed Jan 08, 2014 3:31 pm
Posts: 567
I've been using 64tass-1.51-883 to try and compile FIG FORTH. It pretty extensively uses the TASS .BYTE directive with an embedded string. 64tass does not like this construct one bit.

Code:
In file included from sbc.asm:34:2:
fig6502.asm:104:21: error: can't convert to a 8 bit unsigned integer
 L22       .BYTE $83,"LI",$D4            ; <--- name field
                     ^


I read through the docs and it looks like you're supposed to replace it with a .TEXT directive. Which will be a bit painful with the FIG FORTH source. Am I missing anything?


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 17, 2015 2:44 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8428
Location: Southern California
If it requires a separate directive for strings versus bytes, can you put it all in a macro to not only keep in on one line, but make it easier and more readable?

_________________
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: Tue Feb 17, 2015 3:39 am 
Offline

Joined: Wed Jan 08, 2014 3:31 pm
Posts: 567
Thanks, a macro is probably a good idea.


Top
 Profile  
Reply with quote  
PostPosted: Sat Apr 18, 2015 3:31 am 
Offline
User avatar

Joined: Thu Nov 27, 2014 7:07 pm
Posts: 47
Location: Ocala, Fl, USA
A new update came out today for 64Tass. It's quickly becoming a 65816 powerhouse. Version 1.51.943 has the following fixes & added features (text is from the author):

Fixes:

Wrong address on empty .fill/.align in listing
Limit function recursion
Another to early compilation stop case fixed
Proper 65816 PC wrapping
Better position reporting of invalid characters in .shift/.shiftl/.null
Include instructions without result lines in listing
And all those crash bug fixes I better don't list here ;)

New:

65816 rep/sep tracking, added .autsiz/.mansiz
Add random() and .seed
mcedit syntax highlight added
.dpage and .databank can be "unset" now
String constant prefixes 'n', 's', 'p', 'l' added
PEI with direct page addressing
PC has type now
.rta and .addr accepts ,k now
Add empty string error message for clarity

Get it here:
https://sourceforge.net/projects/tass64/?source=typ_redirect


Top
 Profile  
Reply with quote  
PostPosted: Sat Apr 18, 2015 4:10 am 
Offline
User avatar

Joined: Thu Nov 27, 2014 7:07 pm
Posts: 47
Location: Ocala, Fl, USA
Martin_H wrote:
I've been using 64tass-1.51-883 to try and compile FIG FORTH. It pretty extensively uses the TASS .BYTE directive with an embedded string. 64tass does not like this construct one bit.

Code:
In file included from sbc.asm:34:2:
fig6502.asm:104:21: error: can't convert to a 8 bit unsigned integer
 L22       .BYTE $83,"LI",$D4            ; <--- name field
                     ^


I read through the docs and it looks like you're supposed to replace it with a .TEXT directive. Which will be a bit painful with the FIG FORTH source. Am I missing anything?


Hi Martin,
You have the right idea about using the .text directive.
Just put the directives on different lines like so:

Code:
L22 =*         ;this is just my style for labels (without the "=*" is fine)
.byte $83
.text "LI"
.byte $D4


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

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