BBC Micro C library
support.h
Go to the documentation of this file.
1
/*
2
Copyright 2020 Peter Howkins
3
4
Permission is hereby granted, free of charge, to any person obtaining a
5
copy of this software and associated documentation files (the
6
"Software"), to deal in the Software without restriction, including
7
without limitation the rights to use, copy, modify, merge, publish,
8
distribute, sublicense, and/or sell copies of the Software, and to
9
permit persons to whom the Software is furnished to do so, subject to
10
the following conditions:
11
12
The above copyright notice and this permission notice shall be included
13
in all copies or substantial portions of the Software.
14
15
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
16
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
19
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
20
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
21
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
*/
23
#ifndef SUPPORT_H
24
#define SUPPORT_H
25
39
extern
void
40
putstring
(
const
char
*s);
41
47
extern
void
48
puth
(
uint8_t
n);
49
57
extern
void
58
puthtab
(
uint8_t
x,
uint8_t
y,
uint8_t
n);
59
65
extern
void
66
putd
(
int32_t
d);
67
75
extern
void
76
putdtab
(
uint8_t
x,
uint8_t
y,
int32_t
d);
77
84
extern
char
*
85
dtos
(
int32_t
d);
86
87
88
#endif
/* SUPPORT_H */
putdtab
void putdtab(uint8_t x, uint8_t y, int32_t d)
uint8_t
unsigned char uint8_t
Definition:
stdint.h:34
dtos
char * dtos(int32_t d)
putstring
void putstring(const char *s)
int32_t
long int32_t
Definition:
stdint.h:51
puth
void puth(uint8_t n)
puthtab
void puthtab(uint8_t x, uint8_t y, uint8_t n)
putd
void putd(int32_t d)
Generated by
1.8.13