Author Topic: KJV Bible for the NSpire???  (Read 4070 times)

0 Members and 1 Guest are viewing this topic.

Offline joeym

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 19
  • Rating: +0/-0
    • View Profile
KJV Bible for the NSpire???
« 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

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55847
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: KJV Bible for the NSpire???
« Reply #1 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.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: KJV Bible for the NSpire???
« Reply #2 on: February 14, 2014, 07:03:49 pm »
http://ourl.ca/20302

That might work for you, if you have a CX.
I am Bach.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: KJV Bible for the NSpire???
« Reply #3 on: February 14, 2014, 11:44:59 pm »
The bible is quite a lot of pages... I wonder if it fits?

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline njaddison

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 176
  • Rating: +24/-27
    • View Profile
Re: KJV Bible for the NSpire???
« Reply #4 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).
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/5f42ec78e054645d.png" alt="NerdTests.com says I'm a Highly Dorky Nerd God.  Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!">
</a>


Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3913
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: KJV Bible for the NSpire???
« Reply #5 on: February 15, 2014, 03:10:38 am »
Not sure about the >1 day but yeah the file size will be big.
I'm not a nerd but I pretend:

Offline Joshuasm32

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 142
  • Rating: +19/-7
    • View Profile
    • Network
Re: KJV Bible for the NSpire???
« Reply #6 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
My name is Josh and I a developer at Moonzean. I enjoy Radiohead, web development, Java, and cryptograms.
Spoiler For No Surprises, by Radiohead:
A heart that's full up like a landfill
A job that slowly kills you
Bruises that won't heal

You look so tired unhappy
Bring down the government
They don't, they don't speak for us

I'll take a quiet life
A handshake of carbon monoxide

And no alarms and no surprises
No alarms and no surprises
No alarms and no surprises
Silent, silent

This is my final fit
My final bellyache

With no alarms and no surprises
No alarms and no surprises
No alarms and no surprises please

Such a pretty house
And such a pretty garden

No alarms and no surprises
No alarms and no surprises
No alarms and no surprises please

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4657
  • Rating: +718/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: KJV Bible for the NSpire???
« Reply #7 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.

Offline joeym

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 19
  • Rating: +0/-0
    • View Profile
Re: KJV Bible for the NSpire???
« Reply #8 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.

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: KJV Bible for the NSpire???
« Reply #9 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.

Offline nspireguy

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 158
  • Rating: +11/-6
    • View Profile
    • NspireGuy
Re: KJV Bible for the NSpire???
« Reply #10 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?

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55847
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: KJV Bible for the NSpire???
« Reply #11 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.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline joeym

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 19
  • Rating: +0/-0
    • View Profile
Re: KJV Bible for the NSpire???
« Reply #12 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.
« Last Edit: February 16, 2014, 11:54:33 am by joeym »

Offline nspireguy

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 158
  • Rating: +11/-6
    • View Profile
    • NspireGuy
Re: KJV Bible for the NSpire???
« Reply #13 on: February 16, 2014, 03:51:19 pm »
you could use ntxt.

Offline joeym

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 19
  • Rating: +0/-0
    • View Profile
Re: KJV Bible for the NSpire???
« Reply #14 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.