Getting Started with KnightOS Assembly

Assembly is the bread and butter of KnightOS. Most of the system is written in it and the most efficient code you can write for the system is in assembly. This tutorial covers some skills with z80 assembly in the context of KnightOS. You’re encouraged to make improvements wherever you see fit by clicking “Edit this page” at the bottom of any part of this tutorial.

This tutorial is a work in progress.

Contents

  1. Setting up your environment
  2. Writing your first KnightOS program
  3. Adding corelib and drawing windows
  4. Diving into z80 assembly
  5. How to be a good citizen in KnightOS
  6. Building “Pong”
  7. Packaging software

Next »