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