Age Message
9 years 6 months ubbctl/: also support decoding and setting of interrupts and alternate functions
9 years 6 months libubb/include/ubb/regbase.h (PDTRGx): add trigger mode registers
9 years 6 months ubbctl/README: fix typo in example
10 years 5 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.
10 years 7 months ubb-la/gui.c: Shift+Left/Right jumps "intelligently" to next change on any channel
10 years 7 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.
10 years 7 months ubb-la/gui.c (gui_init): disable the cursor on the Ben
10 years 7 months ubb-la/README: briefly describe GUI use
10 years 7 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.
10 years 7 months ubb-la/gui.c (pos_step): step one sample at maximum zoom

This permits precise interval/frequency calculation with the user-defined
reference.
10 years 7 months ubb-la/gui.c: add user-defined zero reference (set/unset with space)
10 years 7 months ubb-la/gui.c (gui): move position display to show_position; add position in samples
10 years 7 months ubb-la/gui.c (gui): the upper bound for "pos" is nibbles-skip-1, not "nibbles"
10 years 7 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.
10 years 7 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
10 years 7 months ubb-la/gui.c: make debug output clearer and more detailed
10 years 7 months ubb-la/try.c (main): use same buffer size and offset as the Ben
10 years 7 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.
10 years 7 months ubb-la/gui.c: display time of center (from start of buffer)
10 years 7 months ubb-la/gui.c: mark the center of the view area
10 years 7 months ubb-la/gui.c: add small gap (UNIT_GAP) between numbers and units
10 years 7 months ubb-la/gui.c: add section comments for color and layout definitions
10 years 7 months ubb-la.c/gui.c: show units in light blue to better separate them from numbers
10 years 7 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.
10 years 7 months ubb-la/gui.c (textf): vasprintf ain't alloca, so we need to free()

Branches:
master



interactive