ZX Spectrum IDE — Part #1: Crafting a Visual Studio Code extension

With this post, I start a new series to share my experiences with developing a Visual Studio Code extension. While you’re reading it, you will learn about these topics: Visual Studio Code extensibility fundamentals Turning your mindset from using .NET (C#) to working with the JavaScript Stack Understanding the techniques to develop a virtual machine…

ZX Spectrum IDE: Part #5 — Implementing Z80 Instructions (1)

In the previous article, you learned the internal architecture of the Z80Cpu class that implements the CPU emulation in SpectNetIde. The CPU has more than 1300 instructions, and thus Z80Cpu should take care each of them. In this post, you will learn the implementation details behind a few Z80 instructions. Documentation and Tests When designing…

VSX Reloaded — Part #6: Creating Options Pages

When you implement an extension package for Visual Studio, you often need to provide UI to allow the user to manage package specific settings. Though you can create your custom UI from scratch, there is an easier and faster way to integrate these settings with the IDE—by adding options pages. In this post, you will…

VSX Reloaded — Part #4: Creating a Package with a Single Command

Most VSPackages provide interaction opportunity to access the built-in functionality. The easiest way to access a particular function is to create a Visual Studio command that provides a link between the IDE’s menu or toolbar and the corresponding method of the package. In this post, you will create a very simple package that adds a…