mirror of
https://github.com/KarolS/millfork.git
synced 2024-11-10 17:09:58 +00:00
23 lines
400 B
Plaintext
23 lines
400 B
Plaintext
|
|
#if CBM_64
|
|
import c64_basic
|
|
#elseif CBM_264
|
|
import c264_basic
|
|
#elseif ZX_SPECTRUM
|
|
// no imports needed
|
|
#else
|
|
#error Unsupported platform
|
|
#endif
|
|
|
|
import stdio
|
|
|
|
void main() {
|
|
while true {
|
|
readline()
|
|
// empty line is read as a single space
|
|
if readline_out[0] == 32 && readline_out[1] == 0 { return }
|
|
putstrz(readline_out)
|
|
putchar(13)
|
|
}
|
|
}
|