dart and ctc emulation done, start of pio