Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI interface to libtifiles for portable file manipulation #31

Open
2 of 19 tasks
debrouxl opened this issue Dec 29, 2018 · 1 comment
Open
2 of 19 tasks

CLI interface to libtifiles for portable file manipulation #31

debrouxl opened this issue Dec 29, 2018 · 1 comment
Milestone

Comments

@debrouxl
Copy link
Owner

debrouxl commented Dec 29, 2018

Making a CLI interface on top of libtifiles, to provide portable, native code functionality for manipulating computer files suitable for calculators, is a very old idea, and I should have pursued it earlier...

Scattered, partial implementations of the concept can be found in e.g.:

Also, to gather all of the links in a single place, let's mention better CLI front-ends for libticalcs, namely Benjamin Moody's titools and Jonimus' fork containing tidump: https://www.ticalc.org/archives/files/fileinfo/430/43083.html , https://github.com/Jonimoose/TITools .

A unified version of a subset of the file manipulation utilities' functionality could be fulfilled by a single tifileutil (name TBD) tool with scriptable interface, ala gdbmtool / tdbtool (pure CLI args version at first). I think that it should live in the tilibs tree, alongside the other top-level projects, so that it can be used e.g. when building libticalcs' ROM dumpers - that's the trigger for writing this issue.

Draft proposal gathering functionality found in other tools, as well as several new items:

  • tifileutil convert [...]: converting to other formats;
    • P1 conversion to C array, for the immediate use case of replacing tf2hex;
    • P2 binary <-> hex conversion for TI-Z80 PPRGM ("squishing" / "unsquishing");
    • P2 binary <-> exec string conversion for TI-68k ASM programs. Found in various programs and ttasm2exec.pl .
    • P2 other formats.
  • tifileutil wrap: wrapping binary into variables of various types.
    • P1 simple mode, ala tipack: producing computer metadata for pre-made variable data of just about any type of variable, including complex numbers / lists / variables and TI-(e)Z80 protected programs;
    • P2 envelope mode, ala ttbin2oth, ttbin2str, ttbin2txt and others: producing an envelope of TI-68k "other" type or TI-68k string type for generic data, and TI-68k text type for text containing newlines, then producing computer metadata wrapping that envelope. The string type also exists on the TI-Z80 & TI-eZ80 series; other potentially relevant types include picture type (TI-68k, TI-Z80, TI-eZ80), image type (color TI-Z80, TI-eZ80), some Python appvars (TI-eZ80 with Python).
  • tifileutil unwrap (tistrip-inspired, replacement for ttstrip, 8xpconv - https://codewalr.us/index.php?topic=1027.0 - or convbin).
    • P1 simple mode, ala ttstrip: stripping the header and trailing checksum (if any);
    • P2 deep mode, e.g. with a -d switch: performing deeper stripping of the envelope for some file types, e.g. removing the initial token bytes for TI-Z80 and TI-eZ80 protected programs, TI-eZ80 Python appvars, TI-68k strings / other data / ASM programs.
  • tifileutil metadata (inspired by lots of tools): printing or setting (a subset of) metadata - name, attributes, checksum with mismatch information, etc. - for a computer variable, in one fell swoop. For best results, the arguments of wrap and metadata commands should be maximally compatible... and in fact, in order to avoid significant code duplication, it may well happen that the modification functionality of metadata be internally implemented as unwrap + wrap with different parameters. Metadata writing and reading functionality could be useful.
    • P1 print mode: printing (a subset of) information about a file (ttinfo-inspired), including looking into group-type formats if requested. Found in tifileutils: calls to tifiles_*_display* on groups.
    • metadata writing and reading mode.
    • P1 name & folder: get and set on-calc variable and folder name, for both single variables (ttsetname-inspired) and group-type variables (tifileutils-inspired). Also found in convbin.
    • type & model: getting and setting the model and "variable type for linking" byte (e.g. 0x21 / 33 for TI-68k ASM programs). Found in tipack, but both wrap and metadata commands need a generalized version of this functionality to produce variable types which do not have an official extension, and metadata needs a way to specify the model (e.g. for implementing a generalized version of ttbin2bin, which merely switches between **TI89** and **TI92P* according to the file extension);
    • comment: get and set file comment. Found in tifileutils and tipack.
    • attributes: get and set file attributes: the archived flag (TI-(e)Z80, TI-68k) and the locked flag (TI-68k). Found in tifileutils (timod) and convbin.
    • version: get and set version (TI-(e)Z80).
    • P1 checksum: detect and report but don't fix checksum mismatches, or compute trailing checksum based on content specified to be correct (ttchecksum-inspired).
  • tifileutil group: dealing with group-type files. Found in tifileutils.
    • P2 tifileutil group -c: creating group or tigroup;
    • P2 tifileutil group -a: appending to group or tigroup;
    • P2 tifileutil group -x: extracting from group or tigroup;
  • P3 tifileutil ???: some form of front-end to the semi-recently added certificate format parsing functions ?? Proper recursive dumps require lots of platform-specific knowledge, though.

tipack CLI

Usage: tipack [OPTIONS] [FILE | -]
Where OPTIONS may include:
 -o FILE:     output result to FILE
 -n NAME:     set on-calc variable name to NAME
 -t TYPE:     set variable type to TYPE (e.g. 82p)
 -c COMMENT:  set file comment (strftime format string)
 -p:          protect program
 -C:          number/list/matrix is complex
 -a:          send files to archive
 -r:          raw mode (no length bytes)
 -v:          be verbose

Implementation notes:

  • unlike a decade ago, adding new dependencies onto Glib goes in the wrong direction. I'm trying to reduce dependency on Glib, in order to ease targeting e.g. WebAssembly through Emscripten.
@debrouxl debrouxl added this to the TILP II 1.20 milestone Jun 11, 2019
debrouxl added a commit that referenced this issue Sep 22, 2019
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.
debrouxl added a commit that referenced this issue Oct 12, 2019
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.
debrouxl added a commit that referenced this issue Oct 13, 2019
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.
debrouxl added a commit that referenced this issue Oct 15, 2019
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.
debrouxl added a commit that referenced this issue Oct 26, 2019
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.
debrouxl added a commit that referenced this issue Feb 10, 2020
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.
debrouxl added a commit that referenced this issue Mar 20, 2020
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.
debrouxl added a commit that referenced this issue Jul 21, 2020
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

Temporarily integrate downstream Debian patch in tf2hex by Andi B. Mundt, possibly unnecessary for tifileutil ?

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.
debrouxl added a commit that referenced this issue Jul 21, 2020
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

Temporarily integrate downstream Debian patch in tf2hex by Andi B. Mundt, possibly unnecessary for tifileutil ?

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.
debrouxl added a commit that referenced this issue Aug 12, 2020
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

Temporarily integrate downstream Debian patch in tf2hex by Andi B. Mundt, possibly unnecessary for tifileutil ?

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Aug 12, 2020
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

Temporarily integrate downstream Debian patch in tf2hex by Andi B. Mundt, possibly unnecessary for tifileutil ?

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Aug 12, 2020
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

Temporarily integrate downstream Debian patch in tf2hex by Andi B. Mundt, possibly unnecessary for tifileutil ?

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Aug 12, 2020
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

Temporarily integrate downstream Debian patch in tf2hex by Andi B. Mundt, possibly unnecessary for tifileutil ?

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Aug 12, 2020
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

Temporarily integrate downstream Debian patch in tf2hex by Andi B. Mundt, possibly unnecessary for tifileutil ?

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Dec 5, 2020
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

Temporarily integrate downstream Debian patch in tf2hex by Andi B. Mundt, possibly unnecessary for tifileutil ?

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Dec 5, 2020
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

Temporarily integrate downstream Debian patch in tf2hex by Andi B. Mundt, possibly unnecessary for tifileutil ?

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Dec 5, 2020
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

Temporarily integrate downstream Debian patch in tf2hex by Andi B. Mundt, possibly unnecessary for tifileutil ?

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Dec 6, 2020
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

Temporarily integrate downstream Debian patch in tf2hex by Andi B. Mundt, possibly unnecessary for tifileutil ?

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
@debrouxl debrouxl modified the milestones: TILP II 1.20, TILP II 1.19 Dec 6, 2020
debrouxl added a commit that referenced this issue Dec 26, 2020
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

Temporarily integrate downstream Debian patch in tf2hex by Andi B. Mundt, possibly unnecessary for tifileutil ?

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Jan 1, 2021
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

Temporarily integrate downstream Debian patch in tf2hex by Andi B. Mundt, possibly unnecessary for tifileutil ?

TODO use tifileutil in libticalcs' ROM dumper build.
TODO finish dump chexarray functionality (with more args and per-chunk read / write)
TODO use tifileutil dump chexarray instead of tf2hex in libticalcs
TODO delete tf2hex from libticalcs, simplify the build defs
TODO tifileutil manpage.
TODO tifileutil logging - more tifileutil_*(...), less fprintf(stderr, ...)
TODO tifileutil French translation.
TODO move this commit before the libticalcs TI-68k ROM dumper rewrite
TODO libticalcs simplify the TI-68k ROM dumper build by using tifileutil wrap instead of the custom as & ld header + footer which doesn't compute the trailing checksum.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Jan 1, 2021
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

Temporarily integrate downstream Debian patch in tf2hex by Andi B. Mundt, possibly unnecessary for tifileutil ?

TODO use tifileutil in libticalcs' ROM dumper build:
    * use tifileutil dump chexarray instead of tf2hex;
    * use tifileutil wrap for the TI-Z80 dumpers (instead of tipack) and the TI-68k dumpers (instead of the custom as & ld header + footer which doesn't compute the trailing checksum).
    * delete tf2hex from libticalcs, simplify the build defs.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Jan 2, 2021
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

Temporarily integrate downstream Debian patch in tf2hex by Andi B. Mundt, possibly unnecessary for tifileutil ?

TODO use tifileutil in libticalcs' ROM dumper build:
    * next commit: use it for the TI-68k dumpers, instead of the custom as & ld header + footer which doesn't compute the trailing checksum;
    * delete tf2hex from libticalcs, simplify the build defs.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Jan 2, 2021
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack;

Temporarily integrate downstream Debian patch in tf2hex by Andi B. Mundt, possibly unnecessary for tifileutil ?

TODO use tifileutil in libticalcs' ROM dumper build:
    * next commit: use it for the TI-68k dumpers, instead of the custom as & ld header + footer which doesn't compute the trailing checksum;
    * delete tf2hex from libticalcs, simplify the build defs.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Jan 2, 2021
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive.

Temporarily integrate downstream Debian patch in tf2hex by Andi B. Mundt, possibly unnecessary for tifileutil ?

TODO use tifileutil in libticalcs' ROM dumper build:
    * next commit: use it for the TI-68k dumpers, instead of the custom as & ld header + footer which doesn't compute the trailing checksum;
    * delete tf2hex from libticalcs, simplify the build defs.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Jan 2, 2021
…internal use only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive.

Temporarily integrate downstream Debian patch in tf2hex by Andi B. Mundt, possibly unnecessary for tifileutil ?

TODO use tifileutil in libticalcs' ROM dumper build:
    * next commit: use it for the TI-68k dumpers, instead of the custom as & ld header + footer which doesn't compute the trailing checksum;
    * delete tf2hex from libticalcs, simplify the build defs.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Jan 2, 2021
…e only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
@debrouxl
Copy link
Owner Author

debrouxl commented Jan 2, 2021

tifileutil with wrap and dump sub-commands are now live on the experimental2 branch, used by the libticalcs build when rebuilding the ROM dumpers.

debrouxl added a commit that referenced this issue Feb 11, 2021
…e only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Mar 22, 2021
…e only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue May 8, 2021
…e only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Jun 25, 2021
…e only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
adriweb pushed a commit to adriweb/tilibs that referenced this issue Sep 5, 2022
…e only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue debrouxl#31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
adriweb pushed a commit to adriweb/tilibs that referenced this issue Sep 10, 2022
…e only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue debrouxl#31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Jan 29, 2023
…e only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Jan 29, 2023
…e only; tifileutil: add the initial version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Feb 1, 2023
…e only; tifileutil: add the initial, minimally useful version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

(NOTE: build files for Travis not updated, as Travis doesn't work anymore. These build files will be replaced by files for Github CI.)

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue May 5, 2023
…e only; tifileutil: add the initial, minimally useful version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

(NOTE: build files for Travis not updated, as Travis doesn't work anymore. These build files will be replaced by files for Github CI.)

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
debrouxl added a commit that referenced this issue Aug 7, 2023
…e only; tifileutil: add the initial, minimally useful version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

(NOTE: build files for Travis not updated, as Travis doesn't work anymore. These build files will be replaced by files for Github CI.)

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Adrien Bertrand <bertrand.adrien@gmail.com> (CMake integration)
debrouxl added a commit that referenced this issue Aug 9, 2023
…e only; tifileutil: add the initial, minimally useful version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Adrien Bertrand <bertrand.adrien@gmail.com> (CMake integration)
debrouxl added a commit that referenced this issue Aug 9, 2023
…e only; tifileutil: add the initial, minimally useful version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Adrien Bertrand <bertrand.adrien@gmail.com> (CMake integration)
debrouxl added a commit that referenced this issue Sep 10, 2023
…which are normally for internal use only; tifileutil: add the initial, slightly more than minimally useful version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Adrien Bertrand <bertrand.adrien@gmail.com> (CMake integration)
debrouxl added a commit that referenced this issue Sep 13, 2023
…which are normally for internal use only; tifileutil: add the initial, slightly more than minimally useful version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Adrien Bertrand <bertrand.adrien@gmail.com> (CMake integration)
debrouxl added a commit that referenced this issue Sep 13, 2023
…which are normally for internal use only; tifileutil: add the initial, slightly more than minimally useful version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Adrien Bertrand <bertrand.adrien@gmail.com> (CMake integration)
debrouxl added a commit that referenced this issue Sep 13, 2023
…which are normally for internal use only; tifileutil: add the initial, slightly more than minimally useful version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Adrien Bertrand <bertrand.adrien@gmail.com> (CMake integration)
adriweb pushed a commit to adriweb/tilibs that referenced this issue Nov 12, 2023
…which are normally for internal use only; tifileutil: add the initial, slightly more than minimally useful version of an in-tree libtifiles front-end (issue debrouxl#31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Adrien Bertrand <bertrand.adrien@gmail.com> (CMake integration)
debrouxl added a commit that referenced this issue Nov 12, 2023
…which are normally for internal use only; tifileutil: add the initial, slightly more than minimally useful version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Adrien Bertrand <bertrand.adrien@gmail.com> (CMake integration)
debrouxl added a commit that referenced this issue Nov 13, 2023
…which are normally for internal use only; tifileutil: add the initial, slightly more than minimally useful version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Adrien Bertrand <bertrand.adrien@gmail.com> (CMake integration)
debrouxl added a commit that referenced this issue Nov 22, 2023
…which are normally for internal use only; tifileutil: add the initial, slightly more than minimally useful version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Adrien Bertrand <bertrand.adrien@gmail.com> (CMake integration)
debrouxl added a commit that referenced this issue Nov 23, 2023
…which are normally for internal use only; tifileutil: add the initial, slightly more than minimally useful version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Adrien Bertrand <bertrand.adrien@gmail.com> (CMake integration)
debrouxl added a commit that referenced this issue Nov 26, 2023
…which are normally for internal use only; tifileutil: add the initial, slightly more than minimally useful version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Adrien Bertrand <bertrand.adrien@gmail.com> (CMake integration)
adriweb pushed a commit to adriweb/tilibs that referenced this issue Nov 26, 2023
…which are normally for internal use only; tifileutil: add the initial, slightly more than minimally useful version of an in-tree libtifiles front-end (issue debrouxl#31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Adrien Bertrand <bertrand.adrien@gmail.com> (CMake integration)
debrouxl added a commit that referenced this issue Nov 26, 2023
…which are normally for internal use only; tifileutil: add the initial, slightly more than minimally useful version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Adrien Bertrand <bertrand.adrien@gmail.com> (CMake integration)
debrouxl added a commit that referenced this issue Nov 26, 2023
…which are normally for internal use only; tifileutil: add the initial, slightly more than minimally useful version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Adrien Bertrand <bertrand.adrien@gmail.com> (CMake integration)
debrouxl added a commit that referenced this issue Mar 12, 2024
…which are normally for internal use only; tifileutil: add the initial, slightly more than minimally useful version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Adrien Bertrand <bertrand.adrien@gmail.com> (CMake integration)
debrouxl added a commit that referenced this issue Mar 29, 2024
…which are normally for internal use only; tifileutil: add the initial, slightly more than minimally useful version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Adrien Bertrand <bertrand.adrien@gmail.com> (CMake integration)
debrouxl added a commit that referenced this issue Jun 9, 2024
…which are normally for internal use only; tifileutil: add the initial, slightly more than minimally useful version of an in-tree libtifiles front-end (issue #31), so that it can be used by the libticalcs build; libticalcs: use tifileutil instead of tf2hex + tipack; require a C++11 compiler and autoconf-archive; remove tf2hex.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Adrien Bertrand <bertrand.adrien@gmail.com> (CMake integration)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant