/z88dk-dev-environment

z88dk Developer Container Environment for Visual Studio Code.

Primary LanguageShellMIT LicenseMIT

z88dk-dev-environment README

z88dk Developer Container Environment for Visual Studio Code. Author: David González Zornoza

Features

Project to set up a development environment for zx spectrum with z88dk in a visual studio code dev-container.

Environment using DeZog for debugging ASM with C source code tags.

Requirements

How to use

  • Download repository
  • Set the folder name to the desired project name
  • Open folder with Visual Studio Code
  • Press F1, then execute Dev Containers: Reopen in container
  • Wait for install container and recomended extensions
  • Execute build task Ctrl + Shift + B (Build)
  • Set break point in main.c.lis and press F5 to debug
  • All ready to develop your project
how-to-use.mp4

Options

The sample is developed to use standard lib and new lib, by default is new lib. If you want to use classic lib, You'll need to leave the clib parameter empty in the makefile and set define CLASSIC 1 in main.c file.

Remarks

Container name is created based in folder project name, you can create other folders based on this repository with other names for more projects. The first time it download docker hub image with the Z88DK sources from 2023-06-12.

Source sample is from: https://www.z88dk.org/wiki/doku.php?id=temp:front#mixing_c_and_assembly_language

Links of interest

Releases

2.2.0

Initial release aligned with z88dk v2.2

Enjoy!