Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Standalone assembler that accepts string defines?
2011-10-11 08:53
MagerValp

Registered: Dec 2001
Posts: 1055
Standalone assembler that accepts string defines?

I need to package up a small assembly project so that even non-coders can use it. My requirements are quite specific though, and I haven't managed to find one that matches all of:

• Must be a standalone executable for Windows, Mac OS X, and Linux.
• Must allow the definition of string constants on the commandline, e.g. -Dfilename="princeofp+8D.prg", which can then be used by .INCBIN filename.

So far I've tested, and rejected:

• ca65: only numeric commandline defines, requires cc65 install.
• acme: no commandline defines.
• dasm: only numeric commandline defines.
• dreamass: only numeric commandline defines.
• kickassembler: string defines, but requires java.
• 64tass: only numeric commandline defines.

Is there anything else?
 
... 6 posts hidden. Click here to view all posts....
 
2011-10-11 15:03
JAC

Registered: Aug 2002
Posts: 56
>kickassembler: string defines, but requires java.

Well, that is not a restriction for any of the mentioned target platforms. "java -jar kickass.jar" will work fine on all of them. You'll end up in more trouble with any other native executable.
2011-10-11 17:24
Count Zero

Registered: Jan 2003
Posts: 1821
@Ninja: as Berlios is closing - where will the project likely move?
2011-10-11 17:30
chatGPZ

Registered: Dec 2001
Posts: 11114
Quote:
"java -jar kickass.jar" will work fine on all of them.

good one :)
2011-10-11 17:51
MagerValp

Registered: Dec 2001
Posts: 1055
Quoting Frantic
I also think (but not sure here) that you can do this with the xa assembler:

http://www.floodgap.com/retrotech/xa/
xa fits the bill perfectly, thank you! WLA also looks neat, but it seems to be very much cartridge based.
2011-10-11 17:53
MagerValp

Registered: Dec 2001
Posts: 1055
Quoting JAC
>kickassembler: string defines, but requires java.

Well, that is not a restriction for any of the mentioned target platforms. "java -jar kickass.jar" will work fine on all of them. You'll end up in more trouble with any other native executable.
Java is not available out of the box on any major OS.
2011-10-11 19:08
Slammer

Registered: Feb 2004
Posts: 416
It's preinstalled on osx
2011-10-11 19:26
JAC

Registered: Aug 2002
Posts: 56
>http://developer.apple.com/java/faq/
How can I get Java for Mac OS X?
Every version of Mac OS X comes with Java out of the box.

That probably excludes it from "major OS" :-) Honestly: I also have the problem of running and testing my stuff one all these OSes, and even if Java is not there out of the box, it is "just a click away" and does work. I also spent a lot of time getting different compiler executables on different platform and I can confirm that it's a pain for all involved parties...
http://www.wudsn.com/downloads/compilers.zip
2011-10-11 20:00
Mr. SID

Registered: Jan 2003
Posts: 421
Not anymore, in OS X 10.7 it's an optional install now.
2011-10-11 20:37
MagerValp

Registered: Dec 2001
Posts: 1055
Yep, and you need admin credentials to install it.
2011-10-11 21:09
chatGPZ

Registered: Dec 2001
Posts: 11114
i never really got it to work on 64bit linux either, something always craps out :)
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
jmin
Macbeth/PSW
Guests online: 120
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.8)
4 Acidchild  (9.7)
5 Starlight  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.045 sec.