X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=client%2Fspec.c;h=52ed512801c849296905bac07480a7cb462897a9;hb=HEAD;hp=7bf85764ecb90a0d3b5e6ab44c5380e1303fd11b;hpb=32ff545d18253da21f25c69c6d99b96f90668773;p=mTask.git diff --git a/client/spec.c b/client/spec.c index 7bf8576..52ed512 100644 --- a/client/spec.c +++ b/client/spec.c @@ -1,4 +1,15 @@ -//TODO -void spec_send(void){ +#include "spec.h" +#include "interface.h" +#include "mem.h" +void spec_send(void) +{ + write_byte('c'); + write_byte(0 | (HAVELED << 0) );//| (HAVEAIO << 1) | (HAVEDIO << 2)); + write16(MEMSIZE); + write16(STACKSIZE); + write_byte(APINS); + write_byte(DPINS); + write_byte('\n'); + write_byte('\n'); }