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

libti*: add the ability to extract OS upgrades & boot code from TI-68k, TI-Z80, TI-eZ80 ROM dumps #17

Open
debrouxl opened this issue Mar 2, 2017 · 1 comment

Comments

@debrouxl
Copy link
Owner

debrouxl commented Mar 2, 2017

Suggested by calc84maniac 2015/09/17, possibly others in the past as well.

The bulk of the code for such a feature would live in libtifiles. The implementation is quite straightforward for the TI-68k series (and probably the TI-eZ80 series, whose OS upgrades are similar), slightly less so for the TI-Z80 series.

@debrouxl
Copy link
Owner Author

debrouxl commented Oct 28, 2018

First batch of technical notes (edited after adding the boot code extraction feature to the title):

  • OS upgrade extraction:
    • there should probably be 3 functions, one for every relevant calculator series, as well as a convenience function which basically just calls the three others until one succeeds;
    • the function for the TI-Z80 series should produce at least a NULL-terminated array of FlashPage... or simply a FlashContent;
    • the functions for the TI-eZ80 series and TI-68k series could produce a { CalcModel model, uint32_t length, uint8_t * data} triplet, which should be enough... but these are part of FlashContent anyway, so let's produce a FlashContent and have a common prototype for all functions ?
    • libtifiles' intelhex code has function-static variables... probably want to fix those while at it ? intelhex.h isn't exported, so backwards compatibility won't be an impediment.
  • boot code extraction:
    • likewise, a function for every calculator series, and a convenience function;
    • producing a { CalcModel model, uint32_t length, uint8_t * data } triplet should be sufficient here.

@debrouxl debrouxl changed the title libti*: add the ability to extract OS upgrades from TI-68k, TI-(e)Z80 ROM dumps libti*: add the ability to extract OS upgrades & boot code from TI-68k, TI-Z80, TI-eZ80 ROM dumps Oct 30, 2018
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