implement SET_PROTECT
[tangerine.git] / workbench / tools / HDToolBox / debug.c
blob908eaff5b16de621859133ac598b34e6eb1980e4
1 #include <stdio.h>
2 #include <stdarg.h>
3 #include <proto/exec.h>
4 #include "debug.h"
6 #define RawPutChar(chr) \
7 LP1NR(0x204, RawPutChar, UBYTE, chr, d0, \
8 , SysBase)
10 void puttostr(register UBYTE chr asm("d0"))
12 RawPutChar(chr);
15 void kprintf(char *fmt, ...)
17 RawDoFmt(fmt, &fmt + 1, puttostr, NULL);