/vscode-amiga-assembly

Amiga Assembly extension for Visual Studio Code

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

Build Status Travis Build Status AppVeyor Coverage Status

Amiga Assembly for Visual Studio Code

Amiga Assembly for Visual Studio Code is a extension to support assembly language for the Amiga Motorolla 68000 machines and emulators.

Features

Motorola 68K Assembly Language Support

This feature is based on the work of Steve Saunders for Sublime Text m68k extension, it's available at https://github.com/stevenjs/M68k-Assembly. Some keywords have been added to be more accurate with the Amiga assembly.

Document Formatting

Format a document

The assembly language will be formatted with the standard shortcuts :

  • On Windows Shift + Alt + F
  • On Mac Shift + Option + F
  • On Ubuntu Ctrl + Shift + I
  • or Ctrl + Shift + P (or Command + Shift + P on Mac), and then search for "Format Document".

Formatting screenshot

Format a selection

  • The format sizes are calculated only for the selection

Formatting screenshot

Format on typing

  • Activate option formatOnType in the settings
{
    ...
    "editor.formatOnType": true,
    ...
}

Formatting screenshot

Configure spacing between elements

label spacing instruction spacing data spacing comment
mylabel amiga-assembly.format.labelToInstructionDistance move.l amiga-assembly.format.instructionToDataDistance d0,a0 amiga-assembly.format.dataToCommentsDistance ; mycomment

Contextual documentation

  • On passing over an assembly command a short documentation will apear.
  • On passing over a register address or name a short documentation will apear.

Tooltip for instruction screenshot

Presentation of the value set to a register

Presentation of a register value

Shows a number in decimal / hexadecimal and binary

Presentation of a value

Calculator

  • Simple calculator command

Simple calculator command

  • Selection text to calculate

Selection text to calculate

  • Replacing the text by the result

Replacing the text by the result

  • Evaluation in realtime in the status bar

Evaluation in realtime

Color editor

  • Visualisation of the color set to a register and visual edition

Evaluation in realtime

Release Notes

0.5.0

  • Color provider
  • Added documentation for CIAA and CIAB
  • Shows the values set to the registers
  • Show values in decimal / hexadecimal and binary
  • Calculator

0.4.0

  • Format selection of document
  • Format on typing
  • Configurable default spacings

0.3.0

  • Short documentation as hover over the commands and registers

0.2.0

  • Initial release of Amiga Assembly
  • Editor Highlights
  • Document Formatting

Misc credits

Open source projects

Documentation sources

Extensions used for development

Dependencies for tests

Screen capture

Alternatives