diff --git a/ubb-la/ubb-la.c b/ubb-la/ubb-la.c index 22b9e57..ebeb3f7 100644 --- a/ubb-la/ubb-la.c +++ b/ubb-la/ubb-la.c @@ -229,6 +229,9 @@ static void xfers(unsigned long *bufs, int n_bufs, int nibbles, } +/* ----- ASCII output ------------------------------------------------------ */ + + static void print_samples(FILE *file, uint8_t *buf, int skip, int nibbles) { uint8_t v, last = 0xff; @@ -260,6 +263,9 @@ static void print_samples(FILE *file, uint8_t *buf, int skip, int nibbles) } +/* ----- Capture ----------------------------------------------------------- */ + + static int do_buf(int nibbles, uint32_t trigger, uint32_t mask) { uint8_t *buf = physmem_malloc(4096);