From f04f5ec1110fe751adfd7584e42ab91959db6ccf Mon Sep 17 00:00:00 2001 From: Karol Stasiak Date: Mon, 6 Apr 2020 11:54:24 +0200 Subject: [PATCH] 8080: Fix string module --- include/string_fastpointers.mfk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/string_fastpointers.mfk b/include/string_fastpointers.mfk index 6f29d6ce..029311aa 100644 --- a/include/string_fastpointers.mfk +++ b/include/string_fastpointers.mfk @@ -34,6 +34,8 @@ void strzcopy(pointer dest, pointer src) { ___strzcopy_loop: LD A,(HL) LD (DE),A + INC HL + INC DE ? CP nullchar ? JP NZ, ___strzcopy_loop } @@ -47,6 +49,8 @@ void strzpaste(pointer dest, pointer src) { ? CP nullchar ? RET Z LD (DE),A + INC HL + INC DE ? JP ___strzpaste_loop } }