debrouxl / tilibs

TILP (formerly GtkTiLink) can transfer data between Texas Instruments graphing calculators and a computer. It works with all link cables (parallel, serial, Black/Gray/Silver/Direct Link) and it supports the TI-Z80 series (73..86), the TI-eZ80 series (83PCE, 84+CE), the TI-68k series (89, 92, 92+, V200, 89T) and the Nspire series (Nspire Clickpad / Touchpad / CX, both CAS and non-CAS)
http://lpg.ticalc.org/prj_tilp
63 stars 23 forks source link

libtiopers: new library to share some code across libti* clients #42

Open debrouxl opened 5 years ago

debrouxl commented 5 years ago

The wish of creating a fifth library containing high-level operations (name suggestion: "tiopers"), in order to factor out code potentially/definitely duplicated across tilp, gfm, titools, tiutils, etc. has been floating for years (Romain, Jonimus, Benjamin, Thibault, myself), because the modularity of TILP still needs to be improved, despite the existence of 4 libraries already.

The innermost chunks (or simplified versions) of a number of functions from tilp/src/tilp_calcs.c and tilp/src/tilp_device.c, gfm/trunk/src/ungroup.c, tidump and others could go there.

Implementation notes:

The benefit is less clear for the other routines from tilp_calcs.c: the GUI code (progress bars, dialogs) is more intermingled with ticalcs calls.

I worked a bit on libtiopers in 2013, but postponed it to the next development cycle twice :)