repo.or.cz
/
tangerine.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
implement SET_PROTECT
[tangerine.git]
/
workbench
/
tools
/
HDToolBox
/
debug.c
blob
908eaff5b16de621859133ac598b34e6eb1980e4
1
#include <stdio.h>
2
#include <stdarg.h>
3
#include <proto/exec.h>
4
#include
"debug.h"
5
6
#define RawPutChar(chr) \
7
LP1NR(0x204, RawPutChar, UBYTE, chr, d0, \
8
, SysBase)
9
10
void
puttostr
(
register
UBYTE chr
asm
(
"d0"
))
11
{
12
RawPutChar
(
chr
);
13
}
14
15
void
kprintf
(
char
*
fmt
, ...)
16
{
17
RawDoFmt
(
fmt
, &
fmt
+
1
,
puttostr
,
NULL
);
18
}
19