Skip to content

A PIC 8-bit microcontroller emulator written in Dart

Notifications You must be signed in to change notification settings

bmantoni/8bit-dart-emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A PIC 8-bit microcontroller emulator written in Dart

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published