This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's z80 & ez80 Assembly subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. Z80 & 68k Assembly => z80 & ez80 Assembly
Author Message
pugboy


Active Member


Joined: 11 Apr 2007
Posts: 544

Posted: 21 Sep 2008 10:50:23 pm    Post subject:

I am currently in need of a compiler that supports command line arguments, and will output an 8XP/83P file, not a BIN file like TASM does.

Ones I have heard of:
TASM
SPASM
Brass

Which one is the best in your opinion?
Back to top
Spencer


Advanced Newbie


Joined: 06 Nov 2005
Posts: 99

Posted: 21 Sep 2008 11:05:31 pm    Post subject:

TASM is quite old and has nothing specific to our target platform. SPASM and Brass will both satisfy your needs starting out.

I believe my opinion of which one is best would be a little biased. Very Happy
Back to top
pugboy


Active Member


Joined: 11 Apr 2007
Posts: 544

Posted: 21 Sep 2008 11:08:49 pm    Post subject:

Just maybe :D

I was looking at Revsoft for a build of SPASM, but the most recent version is source files (I have no compiler for C).

Is there a link for a compiled version of SPASM?
Back to top
magicdanw
pcGuru()


Calc Guru


Joined: 14 Feb 2007
Posts: 1110

Posted: 21 Sep 2008 11:15:14 pm    Post subject:

1. Assembler, not compiler.
2. I'm a rather large proponent of TASM/devpac8x. What's wrong with it? If it assembles the file correctly, what more can you ask? And it's not at all difficult to call ONE MORE program to convert the bin to an 8xp.
Back to top
pugboy


Active Member


Joined: 11 Apr 2007
Posts: 544

Posted: 21 Sep 2008 11:21:03 pm    Post subject:

TASM spits out errors all the time... Even when I set up EVERYTHING correctly (Learn ASM in 28 Days setup)
Back to top
brandonw


Advanced Member


Joined: 12 Jan 2007
Posts: 455

Posted: 21 Sep 2008 11:30:27 pm    Post subject:

Why don't you ask about the errors TASM gives you, so we can all understand them and maybe help?
Back to top
Spencer


Advanced Newbie


Joined: 06 Nov 2005
Posts: 99

Posted: 21 Sep 2008 11:52:36 pm    Post subject:

http://group.revsoft.org/spasm.exe
Back to top
fourchanb


Advanced Newbie


Joined: 24 Sep 2006
Posts: 93

Posted: 22 Sep 2008 04:17:38 am    Post subject:

Spasm is pretty awesome, it eats TASM files without much problems and is much faster and easier.

Brass was a lot different to set up, but it might be worth it if you're starting from scratch.
Back to top
pugboy


Active Member


Joined: 11 Apr 2007
Posts: 544

Posted: 22 Sep 2008 04:55:04 pm    Post subject:

I would prefer to use a newer compiler... TASM just throws too many errors...

Thanks for the link :D

EDIT:
AMAZING! First try, compiled correctly! Thanks :D

Is there a license file I should look at, or should I just PM you with my questions about distributing it with a IDE (or you could just say yes or no Razz)?


Last edited by Guest on 22 Sep 2008 04:58:01 pm; edited 1 time in total
Back to top
Spencer


Advanced Newbie


Joined: 06 Nov 2005
Posts: 99

Posted: 22 Sep 2008 06:44:09 pm    Post subject:

I'm glad it works for well for you.

It falls under GPL. The latest source is always available at http://svn.revsoft.org/spasm/
Back to top
benryves


Active Member


Joined: 23 Feb 2006
Posts: 564

Posted: 22 Sep 2008 09:29:46 pm    Post subject:

magicdanw wrote:
If it assembles the file correctly, what more can you ask?
[post="127191"]<{POST_SNAPBACK}>[/post]
Well, quite. There's one reason not to use TASM right there. Wink
Back to top
magicdanw
pcGuru()


Calc Guru


Joined: 14 Feb 2007
Posts: 1110

Posted: 22 Sep 2008 10:58:53 pm    Post subject:

Well, I've never had mysterious errors in TASM that went away when I used another assembler. Know why? Because the errors always made perfect sense and were easily fixed. If pugboy had posted his errors as requested, I'm sure we could have helped him fix his code. Still, if he wishes to abandon good old TASM, that's his choice.
Back to top
benryves


Active Member


Joined: 23 Feb 2006
Posts: 564

Posted: 23 Sep 2008 03:19:41 pm    Post subject:

My point is more that TASM will assembles files incorrectly with no indication of an error. For example, .db "123'456","768" only assembles as "123'456", and the "768" vanishes.
Back to top
pugboy


Active Member


Joined: 11 Apr 2007
Posts: 544

Posted: 23 Sep 2008 05:25:57 pm    Post subject:

I chose SPASM because it didn't throw errors. I don't want to spend the time debugging code that should work if the code will work perfectly with another assembler (which happens to be a lot faster...)
Back to top
DigiTan
Unregistered HyperCam 2


Super Elite (Last Title)


Joined: 10 Nov 2003
Posts: 4468

Posted: 24 Sep 2008 12:44:09 am    Post subject:

D'oh! You make it sound like TASM has a vendetta against you. Cool Other than a couple unsupported instructions like "SLL r," I've never seen a problem with TASM that couldn't be easily traced with VTI or something newer. And my TASM hasn't been updated in 7 years.

And...I've never understood what this talk about TASM being slow is. My latest RW:TI-82 build is over 25 kilobytes and assembles in less than a second with both Spasm and TASM. If anything, it's probably Devpack8x, or some other TI-83+ dev bundle that is gumming up the works.


But to address the original question--I'd say Spasm would be the way to go from first impressions. Especially if you're assembling for 83+ or 84+. TASM is still gonna work for anything, but these days, its qualifies as more of a "one-size-fits-all" tool. If you're working on 83+ projects, the alternatives are a lot more qualified to work with that series' unique needs.
Back to top
Spencer


Advanced Newbie


Joined: 06 Nov 2005
Posts: 99

Posted: 24 Sep 2008 08:27:15 am    Post subject:

25k haha child's play
Back to top
Liazon
title goes here


Bandwidth Hog


Joined: 01 Nov 2005
Posts: 2007

Posted: 29 Sep 2008 10:12:15 pm    Post subject:

Spencer must have felt a noticeable difference i guess ^^
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are UTC - 5 Hours

 

Advertisement