1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-11-06 22:05:01 +00:00
millfork/include/stdio.mfk

29 lines
464 B
Plaintext
Raw Normal View History

2017-12-06 23:23:30 +00:00
// target-independent standard I/O routines
void putstr(pointer str, byte len) {
byte index
index = 0
while (index != len) {
putchar(str[index])
index += 1
}
2018-01-20 21:03:56 +00:00
}
void putstrz(pointer str) {
byte index
index = 0
while str[index] != 0 {
putchar(str[index])
index += 1
}
}
byte strzlen(pointer str) {
byte index
index = 0
while str[index] != 0 {
index += 1
}
return index
}