1
0
mirror of https://github.com/KarolS/millfork.git synced 2025-02-09 06:30:36 +00:00

Fix stdio for ZX Spectrum

This commit is contained in:
Karol Stasiak 2018-09-28 22:39:52 +02:00
parent c9c3ebc8a4
commit 35004220ca

View File

@ -18,7 +18,8 @@ void putstr(pointer str, byte len) {
} }
void putstrz(pointer str) { void putstrz(pointer str) {
word length = strzlen(str) word length
length = strzlen(str)
asm { asm {
? LD DE,(str) ? LD DE,(str)
? LD BC,(length) ? LD BC,(length)