The emulator generaly works. Tested with AVR developer board. The logic for buttons is not implemted. Patches welcome! Needs pullup resistors.