Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 1.1 KB

README.md

File metadata and controls

21 lines (12 loc) · 1.1 KB

Dart CI Coverage Status

An emulator for the PIC12F629 8-bit microcontroller written in Dart.

Takes as input a hex-encoded program just like you would program into the micro with a Pickit programmer. Example test programs here.

In my setup, it runs about 5x faster in real-time than the PIC does for a given program.

More details here.

Building

Install Dart, then pub get.

Running

pub run test will run unit tests and the 3 included PIC programs. It also has a CLI - see runner.dart.

Compiling new PIC input programs

I have 3 test programs already compiled from C to hex in here, but if you want to create a new one, you'll need the XC8 compiler from here.