Ported h4xxel's printf