Getting Started with KnightOS C

C support in KnightOS is experimental. It requires the use of KCC, KnightOS’s fork of SDCC.

This tutorial, and C support in KnightOS, are both works in progress.

Contents

  1. Setting up your environment
  2. Writing your first KnightOS C program
  3. Adding corelib, drawing windows, and user input
  4. Contributing to libc and C bindings using inline asm
  5. Packaging software

Next »