posix6502

July 23, 2025 ยท View on GitHub

Simple 6502 emulator that integrates with POSIX environment. Based on fake6502 by Mike Chambers. Extracted from B compiler in Crust project.

Quick Start

$ cc -o nob nob.c
$ ./nob
$ ./build/posix6502 ./examples/fizzbuzz.6502

The Fizz buzz binary is produced by the B compiler we extracted this project from.

Supported POSIX routines

  • $FFEF - putchar located at the same address as wozmon ECHO routine
  • $0000 - exit

It's not much, but feel free to add more.

Contents

  1. 1Quick Start
  2. 2Supported POSIX routines