mirror of
https://github.com/KarolS/millfork.git
synced 2024-12-24 15:29:23 +00:00
24 lines
412 B
Plaintext
24 lines
412 B
Plaintext
|
|
#if CBM_64
|
|
import c64_basic
|
|
#elseif CBM_264
|
|
import c264_basic
|
|
#elseif ZX_SPECTRUM || NEC_PC_88
|
|
// no imports needed
|
|
#else
|
|
#error Unsupported platform
|
|
#endif
|
|
|
|
import stdio
|
|
|
|
void main() {
|
|
pointer line
|
|
while true {
|
|
line = readline()
|
|
// empty line is read as a single space
|
|
if line[0] == 32 && line[1] == 0 { return }
|
|
putstrz(line)
|
|
new_line()
|
|
}
|
|
}
|