English Amiga Board

Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

Thread Tools
Old 24 July 2013, 00:19   #1
Posts: n/a
Emacs Mode for 68000 assembler


I recently started again to code a bit for the 68k - but definitely want to stick to emacs editor.

I searched on the web, forums etc, but couldn't find an 68000 mode for the editor which works on halfway decent emacs versions (the latest one I found was written on on SunOS - in the days of the SunOS).

"asm-mode" is ok, but lacks all the common keywords from Devpac, treats macros as regular command etc.

Anybody knowing where to get a 68k mode for emacs?

Old 01 August 2013, 19:02   #2
korruptor's Avatar
Join Date: Feb 2007
Location: DUNDEE
Posts: 122
I looked for one for quite a while, a couple of years ago. Given that emacs dates back so far I thought it would be one of the easy modes to find, but unfortunately not, my Google-fu failed.

In the end I started writing one myself. The syntax highlighting and tabbing is trivial to get going, but I just can't find the original file. I thought I'd checked it into my old git-hub repository, but it's not there. If I find it I'll post it here.

In the meantime, I'd just take the asm mode and go from there. There really aren't many op-codes, and the highlighting is pretty simple for the most part. It should be enough to get you going.
korruptor is offline  
Old 17 September 2013, 10:54   #3
Posts: n/a
Thanks for the reply.

I ended writing a derived mode from asm-mode, too. As I always wanted to dig into some elisp it was a good project, too.

I added complete VASM and Devpac keyword, different marking of registers etc as well as some goodies like a function for instantly converting numbers from hex to binary to decimal and back.

The only real thing missing is some extended support for macros (mark the usage of macro calls differently than opcodes).

I clean it up a bit and upload it on github.
Old 17 September 2013, 11:17   #4
Thalion Webshrine
alexh's Avatar
Join Date: Jan 2004
Location: Oxford
Posts: 12,121
alexh is offline  
Old 17 September 2013, 23:03   #5
Posts: n/a
Coming on the WE - need to clear the source a bit first
Old 11 November 2014, 18:16   #6
Registered User
Join Date: Nov 2010
Location: Italy
Posts: 306
I'm insufflating life into this old thread because I'd be interested in trying EMACS on the Amiga.

Which EMACS version are we talking anyway? Apparently the latest is this one:

jman is offline  

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
680x0 to 68000 Counia Hardware mods 1 01 March 2011 10:18
Help with Assembler redblade Coders. General 8 23 April 2010 16:00
Motorola 68000 Structured Assembler Manual. Thorham Coders. General 3 16 May 2009 15:16
'Warp Mode' broken in 'windowed mode' NoX1911 support.WinUAE 3 26 May 2007 01:05
quitting on 68000? Hungry Horace project.WHDLoad 60 19 December 2006 20:17

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 14:38.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.06204 seconds with 13 queries