Age Message
5 years 8 months ubbctl/: also support decoding and setting of interrupts and alternate functions
5 years 8 months libubb/include/ubb/regbase.h (PDTRGx): add trigger mode registers
5 years 8 months ubbctl/README: fix typo in example
6 years 7 months ubb-patgen/Makefile (LDLIBS): add -lpthread -ldl

Strangly, using what's supposedly the same toolchain, I didn't seem to
need these items in the past. Or maybe I just never tried a non-static
build.
6 years 9 months ubb-la/gui.c: Shift+Left/Right jumps "intelligently" to next change on any channel
6 years 9 months ubb-la/gui.c: move sample retrieval to new function get_sample

Better than open-coding this non-trivial formula over and over again.
6 years 9 months ubb-la/gui.c (gui_init): disable the cursor on the Ben
6 years 9 months ubb-la/README: briefly describe GUI use
6 years 9 months ubb-la/gui.c (si_text): used fixed %7.3f format if we have 7 characters

The variable number of digits was more confusing than useful. A drawback
is we may no longer see single-sample time changes when near the end of
the buffer.
6 years 9 months ubb-la/gui.c (pos_step): step one sample at maximum zoom

This permits precise interval/frequency calculation with the user-defined
reference.
6 years 9 months ubb-la/gui.c: add user-defined zero reference (set/unset with space)
6 years 9 months ubb-la/gui.c (gui): move position display to show_position; add position in samples
6 years 9 months ubb-la/gui.c (gui): the upper bound for "pos" is nibbles-skip-1, not "nibbles"
6 years 9 months ubb-la/gui.c (show_map): fix calculation of middle point

Also here, we need to take into account that "pos" is zero-based.
6 years 9 months ubb-la/gui.c (show_buffer): fix calculation of the position offset (dp)

"pos" counts from zero so the middle point is (nibbles-skip)/2 while
the code assumed "pos" was an index into the actual buffer and the
middle point would therefore have been (nibbles+skip)/2
6 years 9 months ubb-la/gui.c: make debug output clearer and more detailed
6 years 9 months ubb-la/try.c (main): use same buffer size and offset as the Ben
6 years 9 months ubb-la/gui.c (show_map): keep view rectangle size constant

Before, we had rounding effects that could make the rectangle width vary by
one pixel, depending on position.
6 years 9 months ubb-la/gui.c: display time of center (from start of buffer)
6 years 9 months ubb-la/gui.c: mark the center of the view area
6 years 9 months ubb-la/gui.c: add small gap (UNIT_GAP) between numbers and units
6 years 9 months ubb-la/gui.c: add section comments for color and layout definitions
6 years 9 months ubb-la.c/gui.c: show units in light blue to better separate them from numbers
6 years 9 months ubb-la/gui.c (textf): use vsnprintf+valloca instead of vasprintf

This way, we don't malloc/free all the time, which could lead to more
memory fragmentation than alloca at roughly the same stack location.
6 years 9 months ubb-la/gui.c (textf): vasprintf ain't alloca, so we need to free()

Branches:
master



interactive