1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-12-28 11:31:58 +00:00
millfork/include/msx.mfk

23 lines
348 B
Plaintext
Raw Normal View History

2019-06-05 11:31:43 +00:00
#if not(MSX)
#warn msx module should be only used on MSX-compatible targets
#endif
#pragma zilog_syntax
asm void putchar(byte register(a) char) @$00a2 extern
2019-06-05 11:31:43 +00:00
inline void new_line() {
putchar(13)
putchar(10)
}
const pointer readline_out = $F55E
asm pointer readline() {
? ld hl, $F55D
call $00b1
? ld hl, $F55E
? ret
}