Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: joeym on February 14, 2014, 07:00:47 pm

Title: KJV Bible for the NSpire???
Post by: joeym on February 14, 2014, 07:00:47 pm
Does anyone know if a KJV bible exists for the NSpire?

The TI-89 has the famous eBook reader that made it possible to convert text files into eBooks. But does the NSpire have such software?

If not can anyone create this??? :)

joey
Title: Re: KJV Bible for the NSpire???
Post by: DJ Omnimaga on February 14, 2014, 07:02:19 pm
I wonder if this would work? This is old but hopefully it will: http://ourl.ca/14486 It's written in Lua so you don't need Ndless software to use it.
Title: Re: KJV Bible for the NSpire???
Post by: pimathbrainiac on February 14, 2014, 07:03:49 pm
http://ourl.ca/20302

That might work for you, if you have a CX.
Title: Re: KJV Bible for the NSpire???
Post by: Juju on February 14, 2014, 11:44:59 pm
The bible is quite a lot of pages... I wonder if it fits?
Title: Re: KJV Bible for the NSpire???
Post by: njaddison on February 15, 2014, 12:13:35 am
The bible is quite a lot of pages... I wonder if it fits?
Lol quite a lot is quite correct...
Even if you flip through the Bible page by page (without reading the pages) it will still take forever (+1 day). I can't begin to imagine how big of a file that would be, assuming it would be large (which I have God reason -- haha, pun intended -- to believe so).
Title: Re: KJV Bible for the NSpire???
Post by: aeTIos on February 15, 2014, 03:10:38 am
Not sure about the >1 day but yeah the file size will be big.
Title: Re: KJV Bible for the NSpire???
Post by: Joshuasm32 on February 15, 2014, 03:31:51 am
What would be possible to do is use a compression method in ASM - for instance, common words could be translated into a code of some sort such as hex that would allow a lot less memory to be used (most words in the bible are repeated many times).  After that, it would probably go down to about 50-60% of its original size (which is still a lot, if it is possible).  This could be useful for many files, maybe an eBook reader series that uses AppVars?

*codebender is looking a Xeda with hope
Title: Re: KJV Bible for the NSpire???
Post by: Xeda112358 on February 15, 2014, 10:30:31 am
Well, the Nspire is a whole different system than the Z80 calcs, so I have only done BASIC for the most part on it.

LZ compression followed by statistical compression would probably get the best results. LZ compression would compress any repeated words or phrases to 4 bytes (maybe 5 depending on how large the file actually is). This might not seem good, but the bytes are just a pointer to the existing phrase. For example, the following:
Quote
gird yourselves, and ye shall be broken in pieces; gird yourselves, and ye shall be broken in pieces.
Since it is less than 256 bytes would be compressed to something like the following:
Code: [Select]
[0+49]gird yourselves, and ye shall be broken in pieces[0+2]; [128+0][0+1].
Everything in [] is a single byte. So the original phrase would have been 101 bytes, but the encoded string would have been 1+49+1+2+1+1+1=56 bytes. However, in the much larger file of a book, words like "ye", "be", and "yourselves" might be encoded in a single byte (like BASIC tokenization as codebender described) so the compression would be significantly better.

If you have a compressed copy on your computer, chances are software can be easily written to decompress on your calc.
Title: Re: KJV Bible for the NSpire???
Post by: joeym on February 15, 2014, 01:08:05 pm
Another idea to get the file size down is to break up the Old and New Testaments. You could even have each separate book as a separate file. That is what I did for the TI-89 eBook reader way back when. I just transferred the books I wanted to read to save room on the calc.
Title: Re: KJV Bible for the NSpire???
Post by: Legimet on February 15, 2014, 07:11:39 pm
Please don't use nPDF, it's too buggy. I need to improve it, but never get time.
Title: Re: KJV Bible for the NSpire???
Post by: nspireguy on February 15, 2014, 07:23:20 pm
Does anyone know if a KJV bible exists for the NSpire?

joey
hi joey. are u mormon?
Title: Re: KJV Bible for the NSpire???
Post by: DJ Omnimaga on February 16, 2014, 10:50:26 am
You could also use mViewer GX, which can convert PDFs, but it converts to images so I doubt a full bible will ever come close to fitting on calc.
Title: Re: KJV Bible for the NSpire???
Post by: joeym on February 16, 2014, 11:49:15 am
@nspireguy No I am not mormon.

Yeah from what I was reading the nPDF software would not work for this. Great idea and I hope someday it works perfectly as I have PDFs that would be perfect on the NSpire.

Something along the lines like what Thomas Nussbaumer had for the 89 would be awesome. Or the app that TI made available for the 89 was great as well.

If anyone can do something like this it would be you guys here in this community.

The Lua based eBook reader that DJ Omnimaga posted might be the closest thing so far.
Title: Re: KJV Bible for the NSpire???
Post by: nspireguy on February 16, 2014, 03:51:19 pm
you could use ntxt.
Title: Re: KJV Bible for the NSpire???
Post by: joeym on February 25, 2014, 10:55:02 am
I can no longer use anything. I made the mistake of upgrading my OS to 3.6

I have not been staying up to the minute on TI News and did not know that upgrading would have the consequences that it did. So I am sad about this.

As far as I know I am screwed at this point.

STUPID T.I.
Title: Re: KJV Bible for the NSpire???
Post by: DJ Omnimaga on February 25, 2014, 12:28:47 pm
I wish every calc forum put a banner at the top warning users to not upgrade if they still want to use certain powerful programs, but then maybe Adblock would wrongly block such banner, thinking it's an ad. Basically anyone who get their Nspire don't visit calc forums right away or might be tricked by TI  to upgrade. >.<

That said, if you need something to read smaller text on your Nspire, then you could always use mViewer GX, though, since you don't need Ndless for it and only Lua is needed.
Title: Re: KJV Bible for the NSpire???
Post by: fb39ca4 on February 25, 2014, 08:55:53 pm
Adblock uses blocklists, so that won't happen.
Title: Re: KJV Bible for the NSpire???
Post by: DJ Omnimaga on February 25, 2014, 11:10:46 pm
Can people submit banner URLs to Adblock though? If people did that due to thinking it's an ad, could it eventually get blocked until Omni staff get it removed from the blocklists?