From 223cb94466eb0970520fdc1192499b0d24831d09 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Thu, 21 May 2020 07:59:04 -0400 Subject: [PATCH] tools/upload: use C! instead of A! Addressed devices are not included in Collapse OS by default. Let's just accept that upload only works with memory. --- tools/upload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/upload.c b/tools/upload.c index d4833a1..c87e1ec 100644 --- a/tools/upload.c +++ b/tools/upload.c @@ -44,7 +44,7 @@ int main(int argc, char **argv) set_blocking(fd, 1); char s[0x40]; sprintf(s, - ": _ 0x%04x 0x%04x DO KEY DUP .x I A! LOOP ; _", + ": _ 0x%04x 0x%04x DO KEY DUP .x I C! LOOP ; _", memptr+bytecount, memptr); sendcmd(fd, s);