Zehn and Site History: Difference between pages

From Hackspire
(Difference between pages)
Jump to navigation Jump to search
(Created page with "Zehn is a new executable format, which supports: * Full relocation (No "-fpic" or similiar needed) * Every kind of section in an ELF file (E.g. ARM unwind information for C++ exc...")
 
(Created page with "Hackspire was founded in July 2007 by Squalyl as a place to document information about the then new TI-Nspire handheld and quickly became the main TI-Nspire d...")
 
Line 1: Line 1:
Zehn is a new executable format, which supports:
Hackspire was founded in July 2007 by [[User:Squalyl|Squalyl]] as a place to document information about the then new TI-Nspire handheld and quickly became the main TI-Nspire development information resource.
* Full relocation (No "-fpic" or similiar needed)
* Every kind of section in an ELF file (E.g. ARM unwind information for C++ exceptions)
* Executable files up to 16MB in size (can be larger if no relocations after 0xFFFFFF)
* Various flags and extra information about the executable:
** Maximum and minimum version and revision of ndless needed to run (https://cloud.githubusercontent.com/assets/1622084/3762493/a7ed3a22-1897-11e4-8d94-77f82ecfa239.png)
** HW types (Clickpad/Touchpad/CX/CM) supported
** Application name, version, author, description (these can be viewed by holding down the "catalog" key when opening the executable: https://cloud.githubusercontent.com/assets/1622084/3762440/0d70af1a-1897-11e4-860b-cf07b6521634.png)


== Name ==
==Timeline and news==
"Zehn" is German for 10 while ELF is German for 11.
<table class="wikitable">
 
<tr>
== Format ==
<td> June 15, 2016 </td>
The main header file (https://github.com/ndless-nspire/Ndless/blob/master/ndless-sdk/include/zehn.h) contains everything needed to parse a Zehn file.
<td> hackspire.org is now the main domain name
The Zehn header (identified by ZEHN_SIGNATURE) may be everywhere (4-byte aligned) in the first 4KiB if the file starts with "PRG\0" to support backwards-compatibility.
</td></tr>
 
<tr>
== genzehn tool ==
<td> March 10, 2016 </td>
The "genzehn" tool (https://github.com/ndless-nspire/Ndless/blob/master/ndless-sdk/toolchain/genzehn/genzehn.cpp) converts ELF files with embedded relocation info (needs to be linked with "--emit-relocs") to relocatable Zehn files. Run "genzehn --help" to get version and usage information.
<td> Hackspire is back up, now maintained by [[User:Jim Bauwens|Jim Bauwens]]
For basic conversion it's sufficient to only specify "--input input.elf" and "--output output.tns". The resulting executable will open on every version of OS, ndless and type of hardware and the version will be 1.
</td></tr>
 
<tr>
== make-prg tool ==
<td> December 22, 2015 </td>
The "make-prg" tool (https://github.com/ndless-nspire/Ndless/blob/master/ndless-sdk/bin/make-prg) adds zehn_loader.tns at the top of the file, so that older versions of ndless without native support for Zehn. "zehn_loader.tns" is also used to boostrap ndless_resources, which is a Zehn file itself. It doesn't support any of the flags, so your executable may be executed on unsupported hardware or significantly too old OS versions! To use it, execute "make-prg <input> <output>".
<td> Hackspire goes down after the unsads.com server suffers a failure
It compiles zehn_loader.tns if needed.
</td></tr>
<tr>
<td> October 3, 2010 </td>
<td> Restoration of site after a filesystem/database crash
</td></tr>
<tr>
<td> July 2 2007 </td>
<td> Founding of the site at hackspire.unsads.com by [[User:Squalyl|Squalyl]]
</td></tr></table>

Latest revision as of 09:01, 22 June 2019

Hackspire was founded in July 2007 by Squalyl as a place to document information about the then new TI-Nspire handheld and quickly became the main TI-Nspire development information resource.

Timeline and news

June 15, 2016 hackspire.org is now the main domain name
March 10, 2016 Hackspire is back up, now maintained by Jim Bauwens
December 22, 2015 Hackspire goes down after the unsads.com server suffers a failure
October 3, 2010 Restoration of site after a filesystem/database crash
July 2 2007 Founding of the site at hackspire.unsads.com by Squalyl