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.
This commit is contained in:
Virgil Dupras 2020-05-21 07:59:04 -04:00
parent 7d28637740
commit 223cb94466

View File

@ -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);