Author Topic: Putting Linux on a calculator  (Read 9391 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Putting Linux on a calculator
« Reply #15 on: August 03, 2011, 03:31:37 am »
Heya and welcome to the forums. :)

By the way there used to be a topic about putting Linux on the Nspire a while ago, but it kinda died down (note that third-party OSes are even possible at all on the Nspire yet). Let me find it. EDIT: Here is it http://ourl.ca/9438

Note that making a calculator OS or porting an existing OS to the calculator is an huge undertaking, though. You really need lots of coding experience to make one, and it will take a while. Good luck whatever you decide.
« Last Edit: August 03, 2011, 03:34:00 am by DJ_O »

Offline harold

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 226
  • Rating: +41/-3
    • View Profile
Re: Putting Linux on a calculator
« Reply #16 on: August 03, 2011, 07:08:45 am »
The TI-83+/84+ hardware doesn't have any kind of support for virtual addressing, that will be a huge problem.
Blog about bitmath: bitmath.blogspot.nl
Check the haroldbot thread for the supported commands and syntax.
You can use haroldbot from this website.

Offline Spyro543

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1189
  • Rating: +74/-3
    • View Profile
Re: Putting Linux on a calculator
« Reply #17 on: August 03, 2011, 09:50:49 am »
Hey nice to see my best friend joining Omnimaga (and starting a calc project O.o)! Do you know any Python yet? EDIT: I'm asking because you stated you were using a Python OS, and if you were going to code it, or if you were going to tell me what you want it to look like and have me code it. :P
« Last Edit: August 03, 2011, 02:47:22 pm by Spyro543 »

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Putting Linux on a calculator
« Reply #18 on: August 03, 2011, 10:38:59 am »
Um, Axe doesn't run natively on the Nspire. Are you planning on porting a z80 emulator or something?

I'm also not sure how you would solve the whole "No Goto" thing in Python if you're going to use a Python OS.

True, but you could hack it on :D
http://entrian.com/goto/

Welcome to the forums, by the way!  If you haven't already, you should definitely make an introduction topic and tell us a little about yourself.
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline imo_inx

  • Manman, SaviourOfTheMultiverse!
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 473
  • Rating: +27/-8
  • imo_inx
    • View Profile
Re: Putting Linux on a calculator
« Reply #19 on: August 03, 2011, 10:47:41 am »
I've changed my mind and now want to use AXE.


Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Putting Linux on a calculator
« Reply #20 on: August 03, 2011, 10:52:18 am »
Well, compiling Linux for the nspire isn't the hardest part, the hardest part is getting it boot. You will need to make a bootloader to do that.
To make this you will need to spend lots of hours in it, and lots of research. The link DJ posted contains interesting stuff, handy if you want to start.

Good luck :)

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Putting Linux on a calculator
« Reply #21 on: August 03, 2011, 10:58:20 am »
I've changed my mind and now want to use AXE.
I'm a bit confused. You want to use AXE to do what exactly? Just FYI AXE is only for the TI 83+ family(TI-83+,TI-83+SE,TI-84+,TI-84+SE)
« Last Edit: August 03, 2011, 10:58:41 am by Art_of_camelot »

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: Putting Linux on a calculator
« Reply #22 on: August 03, 2011, 11:08:41 am »
Anyone else have any ideas?

I also plan on encoding the whole thing in two languages: Python for whole OS replacement, and a Python emulator written in AXE to run it inside your current OS.

Yeah, I do plan on using a z80 emulator but I was creating my icon at the time and forgot to add TI-Nspire Basic to the languages. Sorry. :( *.*

EDIT: You proved me wrong. Geuss it's time to hit the books, strip down my hacked Ubuntu 11.04 .ISO and add a patch inside the Operating System...

I've changed my mind and now want to use AXE.

I'm not sure what you're trying to do. Your first post suggests you want to compile (a lightweight version of) Ubuntu for ARM. The three posts I've quoted above, though, seem to suggest that you want to write something in Axe and have it running in a z80 emulator on the Nspire?

Are you trying to write software in Axe (or Python; which probably could be compiled in C for the Nspire) (or Nspire Basic?) to run on your port of Linux?
« Last Edit: August 03, 2011, 02:44:58 pm by TC01 »



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline BlakPilar

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 734
  • Rating: +44/-1
    • View Profile
Re: Putting Linux on a calculator
« Reply #23 on: August 03, 2011, 11:40:29 am »
I can do this 'cause I've compiled ISO, IMG and other OS files. I also know a little programming.
ISOs and IMGs are disk-images, you can't just throw them on a calculator and expect them to work. To make something like what you want, you need to know more than "a little programming". :|

Then I'll just create something similar to z80...
Not as easy as it sounds. You would need to create an entire interpreter specifically for z80 (or "something similar"). (If that came out wrong, I know what I meant and that's all that matters :P)

Also, imo, it would be easier to write your own Linux-based OS for the calculator than stripping down an existing one; that is, if you could even get this to work.
« Last Edit: August 03, 2011, 11:41:06 am by BlakPilar »

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Putting Linux on a calculator
« Reply #24 on: August 05, 2011, 08:18:34 am »
I remember we talked about porting CP/M on z80, that would be interesting. Otherwise, compiling Linux as a 3rd party OS for TI-Nspire would be awesome. (We can run 3rd-party OSes right, with Ndless or something?)
I actually happen to have a copy of CP/M and a computer to run it sitting next to me :)

I'd say just wait, or help with KnightOS :) While Linux on a calc would be cool, it would be too much for the calculator, it also isn't designed for the hardware, instead we should focus on an OS that it tailored for the calc, like OS2 or KnightOS.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Putting Linux on a calculator
« Reply #25 on: August 06, 2011, 02:33:33 pm »
Or RogueOS :P *pokes Eeems to come back more often and also get to work on it :P*