Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Mega Driven EnvironmentNew to Visual Studio Code? Get it now.
Mega Driven Environment

Mega Driven Environment

Brotherhood0

|
3 installs
| (0) | Free
Provides complete integration with The Macroassembler AS, among other features, such as versioning and code highlighting.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

What does this thing do?

It's a Visual Studio Code extension developed to integrate a command-like UI with The Macroassembler AS.
The purpose of this extension is primarily for Sega Mega Drive homebrew development. It also supports Sonic Disassemblies and aims to bring a familiar UI to fellow Sonic ROM hackers.

What it can do

You can:

  • Assemble files and produce a ROM output in various ways;
  • Make use of some basic versioning, useful for producing multiple builds and be able to distinguish between them;
  • Gain speedy productivity from shortcuts to manage and organise your project folder;
  • Backup your project quickly, too;
  • Run ROMs with emulators;
  • Utilise nearly every option available of the assembler, using the UI-friendly settings screen of VS Code;
  • Avoid to include build tools or such, the extension downloads the necessary files to compile;
  • Highlight 68k and Z80 code, with three supported VS themes (Dark, Abyss and Sonic Disassembly);
  • Enjoy basic autocompletion, indentation and other integrated VS Code features.

Commands

What you need to set up this (in case you want to modify it)

You can check this tutorial out if you don't know much about VS extensions.

First of all, make sure you have Node.js installed. Git is recommended if you want to clone this repository.

To clone this repository (so you have Git's convenient source control and versioning) in a folder, type this in your terminal:

cd <folder where you want to clone>
git clone https://github.com/Franklin0770/megaenvironment.git

Then, after installing Node, you must get the node modules by issuing the following command:

cd megaenvironment
npm install

This way you have all the packages you need (including VS Code API and Adm-Zip).

Now that you're almost done, you'll want to compile the extension, so you can run it and do all of the experimentation you want by yourself:

cd megaenvironment
npm run compile

After done compiling, you should see an "out" folder. This contains all of your compiled code in JavaScript.

To publish it as an installable extension for VS Code, you should package it by doing so:

cd megaenvironment
vsce package

This command will output your freshly packaged VSIX, ready to be installed in VS Code.

Some screenshots (so you get the idea, they are outdated, though)

Settings1 Settings2 Assembly1 Assembly2

The Credits Section

The assembler and compiler: http://john.ccac.rwth-aachen.de:8000/as/
How I learnt to make this extension: https://code.visualstudio.com/api/get-started/your-first-extension
This is were the files are downloaded from: https://github.com/Franklin0770/AS-releases.git

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft