Преглед изворни кода

upload: use A! instead of C!

It makes the tool much more versatile. I'll have adev being included
in all recipes, so it can be assumed.
pull/102/head
Virgil Dupras пре 4 година
родитељ
комит
d0545d555f
2 измењених фајлова са 2 додато и 1 уклоњено
  1. +1
    -0
      recipes/rc2014/README.md
  2. +1
    -1
      tools/upload.c

+ 1
- 0
recipes/rc2014/README.md Прегледај датотеку

@@ -225,6 +225,7 @@ yourself. Tough love they call it.
* `cat stage2.bin ../../forth/readln.fs ../../forth/adev.fs run.fs > stage2r.bin`
* Don't forget `RDLN$` and `ADEV$`.
* `RLDICT` is like `RLCORE` but with a chosen target.
* `stripfc` can help you deal with size constraints.

[rc2014]: https://rc2014.co.uk
[romwrite]: https://github.com/hsoft/romwrite


+ 1
- 1
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 C! LOOP ; _",
": _ 0x%04x 0x%04x DO KEY DUP .x I A! LOOP ; _",
memptr+bytecount, memptr);
sendcmd(fd, s);



Loading…
Откажи
Сачувај