repo.or.cz
/
sdcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git]
/
sdcc
/
support
/
regression
/
ports
/
f8
/
support.c
blob
20c2d4161ef1802d97f9a6ad3e8bf44df35a83a9
1
static unsigned char
*
volatile
sif
;
2
3
void
4
_putchar
(
unsigned char
c
)
5
{
6
*
sif
=
'p'
;
7
*
sif
=
c
;
8
return
;
9
c
;
10
__asm
11
ld a
, (
0x03
,
sp
)
12
.
db
0x71
,
0xed
13
__endasm
;
14
}
15
16
void
17
_initEmu
(
void
)
18
{
19
sif
= (
unsigned char
*)
0x1fff
;
20
}
21
22
void
23
_exitEmu
(
void
)
24
{
25
*
sif
=
's'
;
26
return
;
27
__asm
28
.
db
0x71
,
0xec
29
__endasm
;
30
}