From c93e82fa285edf0d5ed2447e0b32b9f6ce17f49e Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 25 Apr 2026 03:34:30 -0400 Subject: Fix steal_line(), no more crashes. --- src/memclear.s | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/memclear.s') diff --git a/src/memclear.s b/src/memclear.s index 1bd7e89..7a814cc 100644 --- a/src/memclear.s +++ b/src/memclear.s @@ -1,6 +1,8 @@ ; void memclear(const char *addr, unsigned int len) ; really does have to be an int for the length. + ; NOTE: length must be <= $7fff. not much of a problem, do you + ; ever need to zero out >= 32K of RAM at once? ; this is basically bzero(), but optimized for size, not speed. ; bzero() is around 2.3x as fast as this, but it's 3.3x as -- cgit v1.2.3