English Amiga Board


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

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

Hi,

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?

Thanks,
 
AdSense AdSense  
Old 01 August 2013, 20:02   #2
korruptor
TDI
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, 11:54   #3
atari900
 
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, 12:17   #4
alexh
Thalion Webshrine
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 11,937
Links?
alexh is offline  
Old 18 September 2013, 00:03   #5
atari900
 
Posts: n/a
Coming on the WE - need to clear the source a bit first
 
Old 11 November 2014, 19:16   #6
jman
Registered User
 
Join Date: Nov 2010
Location: Italy
Posts: 303
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:
http://aminet.net/package/util/gnu/em203i3

thanks
jman is offline  
AdSense AdSense  
 


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 11:18
Help with Assembler redblade Coders. General 8 23 April 2010 17:00
Motorola 68000 Structured Assembler Manual. Thorham Coders. General 3 16 May 2009 16:16
'Warp Mode' broken in 'windowed mode' NoX1911 support.WinUAE 3 26 May 2007 02:05
quitting on 68000? Hungry Horace project.WHDLoad 60 19 December 2006 21: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 11:49.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.17231 seconds with 12 queries