sasm.exe ?
peterj
Posts: 24
Does there exist a command-line only version of the SASM assembler? The Ubicom PDF doc seems to indicate that such a beast exists, but I have been unable to locate it on either the parallax or ubicom web sites. The SX-Key editor is fine for small trinkets, but for serious work I'd really prefer to work in Emacs.
-p.
-p.
Comments
I use this way when working with picant, sourceboost, (c2c). I wish there was a standalone debugger. This would be awsome.
I also wish that the sx editor had more switch commands. Hint hint Peter Montgomery.
But for the money (Free) you can't beat the editor and the debug bundle of the sxkey editor.
I don't mean to knock the IDE, it really is quite nice (aside from the bug which prevents it from running on fast machines) and I'm sure most Windows users will be quite pleased with it. But I've been using Emacs for nearly 20 years now and despite the text-based interface I find it a better IDE than most else I've worked with. I'd be in heaven with a gdb interface to the ICD...
-p.
I'm afraid the possibility of a GDB interface to the ICD is stuck somewhere between slim and none, but I bet you already knew that in your heart... Sorry.
As for command line switches (requested by Thosey), that's more likely in the realm of reality. I promise nothing, but what sort of switches would float your boat?
Thanks, PeterM
The reality is that your debugger seems to take advantage of all that can be done given the debugging hardware, and in that realm the GUI is fully sufficient. It *would* be nice, as Thosey mentioned, if there was a command-line tool to program the SX, and a method to fire up the debugger directly from the command line. It does not seem unreasonable to add this functionality via command-line switches to the existing executable, avoiding the need for an additional codebase and executables. From a technical standpoint, this does not seem as if it should be at all difficult. Far more of a PITA would be documentation and support. Perhaps these could exist as undocumented and unsupported features?
-p.
I would love to have a command line switch that would take the already compiled code and start downloading right to the chip and then close the ide or programmer box. I like the way sxthev has a command line programmer. I would also like to see a switch that could load the lst file directly into the debuger and start debugging. It makes it convenient for persons using 3rd party Ide's and compilers like picant "sourceboost", sxbasic, winedit, among others.
I think others might even like to interface *.cod files.
I wouldn't mind also seeing a switch that could take a file start and assemble and then close upon completion like sasm does but through the sxkey editor with a switch aslo to choose between the parallax assembeler or the sasm assembeler.
Thanks
http://www.parallax.com/sx/sxblitz_protocol.asp·and the SX-Key basically follows the same protocal
http://www.sxlist.com/techref/parallax/sxkey/SXBLITX_SXKEY.htm
There are any number of command line programmers available
http://www.sxlist.com/techref/ubicom/devprogs.htm
http://sourceforge.net/projects/gsxprog/ - C Linux code to read and program SX chips with the SX-Blitz or SX-Key hardware. See:
http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/gsxprog/?cvsroot=gsxprog for the actual source.
http://sourceforge.net/projects/blitzer/ - C / Python code for Linux and PalmOS to drive the SX-Blitz
Heck you can read, program AND debug with QBASIC if you want
http://www.sxlist.com/techref/parallax/sxkey/qbl99v3.htm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
---
James Newton, Host of SXList.com
james@sxlist.com 1-619-652-0593 fax:1-208-279-8767
SX FAQ / Code / Tutorials / Documentation:
http://www.sxlist.com Pick faster!