Asmide-linux

How to use AsmIDE (for Dragon12) in Linux using Wine


Project maintained by Derrekito Hosted on GitHub Pages — Theme by mattgraham

Overview

This tutorial was originally written with the Dragon12 board in mind. The desired outcome of this tutorial is to provide a way to compile code into a usable S1 record for the 6812 chipset in Linux. AsmIDE does not interface the serial port as described here. This isn't to say it's impossible and I implore you to configure Wine, but I needed a quick solution and used MiniCOM to flash the chip. To send the S1 record to the Dragon12 Board refer to the Minicom Tutorial.

Install Wine

WineHQ.org describes Wine as

a translation layer (a program loader) capable of running Windows applications on Linux and other POSIX compatible operating systems. Windows programs running in Wine act as native programs would, running without the performance or memory usage penalties of an emulator, with a similar look and feel to other applications on your desktop.

Debian based Linux users can install Wine by executing the following terminal command:

sudo apt-get install wine

Check out WineHQ to see alternative installation methods.

Install AsmIDE

Since this is proprietary software you will have to acquire it yourself. To run the program wine ~/.wine/drive_c/Dragon12P/AsmIDE.exe would normally have to be put into terminal; however, for the sake of convince use the provided script to run AsmIDE. After downloading the script you will need to add execution rights by typing chmod +x asmide while in the same directory as the script.

How to Use AsmIDE

For now, ignore any errors about the “COM” port and click OK. At this point AsmIDE has full functionality as it would in Windows except for terminal and serial support. The Assembly program can be written here or using any other text editor (use the file extension .asm). Before compiling any code, verify that AsmIDE is set to the 6812 family chip set by going to View -> Options. Select the Assembler tab and compare with the image below to verify your settings.