SpinAsm Emacs Mode
This is an Emacs mode for editing SpinAsm assembler code for the Spin Semiconductor FV-1 DSP chip.
Unfortunately the SpinAsm IDE is only available for Windows, but this mode allows Macintosh and GNU/Linux hosts to start the assembler running in a Windows VirtualBox guest machine.
Prerequisites
- Emacs
- VirtualBox with a Windows guest machine
- shared folder between the host and the guest machine (using your host's home folder is probably the easiest solution)
- AutoIt installed on Windows guest
- SpinAsm IDE installed on Windows guest
Installation
The following instructions assume that you are familiar with Emacs and VirtualBox.
Put this folder in your Emacs' load-path and add this to your .emacs file:
(require 'spinasm-mode)
(add-to-list 'auto-mode-alist '("\\.asm$" . spinasm-mode))
(add-to-list 'auto-mode-alist '("\\.spn$" . spinasm-mode))
Set all entries in the spinasm customization group according to your
system (M-x customize-group spinasm
). You can call spinasm
without
any parameters to get some help what all its parameters are all about.
Finally you should update the two variables defined in the AutoIt
script spn.au3
. $spinasm_exe
is the full path to the SpinAsm IDE
on your Windows guest and $open_window_title
is the title of the
SpinAsm IDE open file dialog opened by selecting the respective menu
entry.
License
Copyright © 2011 Sebastian Gutsfeld
Files are licensed under the same license as Emacs unless otherwise specified. See the file COPYING for details.