8 ms·
KnightOS, a third party OS for TI z80 calculators
KnightOS is a third-party Operating System for Texas Instruments z80 calculators. It offers many features over the stock OS, including multitasking and a tree-based filesystem, delivered in a Unix-like environment. KnightOS is written entirely in z80 assembly, with a purpose-built toolchain. Additionally, the KnightOS kernel is standalone, and you can use it as the basis for your own powerful operating systems.
You can download the latest (experimental) version here: http://www.knightos.org/download/
- recursion 12y agoThought I'd share this as it's really neat
- dang 12y agoThe text you posted doesn't make it in with the submission when there's a url. (It's on our list to modify the software to make that clear.) The way to do it is to submit the link and then post the text as a comment to the thread—which you'd be welcome to do here. The project looks cool!
- recursion 12y agoOh, I didn't realise that. Thanks. What I posted: KnightOS is a third-party Operating System for Texas Instruments z80 calculators. It offers many features over the stock OS, including multitasking and a tree-based filesystem, delivered in a Unix-like environment. KnightOS is written entirely in z80 assembly, with a purpose-built toolchain. Additionally, the KnightOS kernel is standalone, and you can use it as the basis for your own powerful operating systems. You can download the latest (experimental) version here: http://www.knightos.org/download/ http://www.knightos.org/download/
- rahimnathwani 12y ago@dang As far as I can tell, the text _does_ make it in with the submission (i.e. it is stored) but it is not _displayed_. I'm reading HN on hn.premii.com (which uses the Algolia API) and I see both the submission URL and the submission text. BTW thanks for the awesome work you're doing on HN!
- dang 12y agoThanks! You're right: the text is stored (that's how I knew it existed) but doesn't show up when there's a URL. Unless, it seems, you're using a clever client.
- Sir_Cmpwn 12y agoI'm the author of this software, with the help of some open-source contributors. Feel free to send questions my way. Even people who don't know assembly can help, if you're interested. We need assembly, C, Python, and web programmers. Let me know if you're interested in helping out.
- mikeknoop 12y agoAlways makes my day to see people still carrying the TI-hacking torch! :) Any particular goals you want to achieve with this project?
- Sir_Cmpwn 12y agoI just want to see a nice Unix-like for these calcs. Eventually it'd be cool to have a bunch of slick stuff like a VFS and such, but for now I'll be happy once there's good math support and students can start using it.
- userbinator 12y agoTI-73: 6MHz Z80, 25K RAM, 512K mass storage PDP-11: ~4.5MHz, 16K RAM, >1M mass storage CPU looks powerful enough and the amount of RAM is comparable to early Unix machines but you might run into storage space limitations.
- eltondegeneres 12y agoThis is really cool! Does it require/bundle any nonfree software?
- Sir_Cmpwn 12y agoNope.
- eltondegeneres 12y agoHm I wonder if KnightOS fits the GNU Project's free system distribution guidelines. The list of endorsed systems is pretty short right now. https://www.gnu.org/distros/free-system-distribution-guidelines https://www.gnu.org/distros/free-system-distribution-guideli...
- adrusi 12y agoAnother project worth mentioning is [GlassOS](http://www.cemetech.net/forum/viewtopic.php?t=5686&highlight=glassos http://www.cemetech.net/forum/viewtopic.php?t=5686&highlight...) which is an operating system for the TI-8x series calculators written in C and compiled with sdcc. It doesn't offer multitasking (or at least not background tasks, suspending and resuming might be planned, I don't know). It also supports some fairly gimmicky things like system-wide grayscale settings. It also hasn't seen any development for several months, which makes me sad. KnightOS seems to be more focused on just providing a sane environment for user programs instead of TI's stock OS which is calculator-first and user programs are second class citizens. I'm not sure how practical preemptive scheduling with background tasks is for these devices, they really are resource constrained. I'm sure it works fine with one background process, especially if it clocks up the cpu for that, but I don't see it scaling much beyond that. I'll have to try it out some time. I'd be interested to see if a compatibility layer for programs written in C could be set up. SDCC's binaries tend to be reasonably performant, but significantly larger than their assembly equivalent. With 31k available to programs however, C could work for a lot of applications. I might hack on that sometime.
- Sir_Cmpwn 12y agoI hope to eventually implement C support in some form. You're right about SDCC making huge binaries, though - GlassOS is enormous, there's very little space left on the device and it supports fewer calculator models.
- bane 12y agoIf you want to see a never ending well of software for TI calculators check out http://www.ticalc.org/ http://www.ticalc.org/
- tokenizerrr 12y agoDoes it do math?
- Sir_Cmpwn 12y agoNo, but it's being worked on. It wasn't being worked on until recently.
- tokenizerrr 12y agoOh, cool!
- pling 12y agoNice. The main reason I own a Casio (9750g) is because I can't stand the TI8x OS. The hardware is better than the Casio but the software isnt. This could be the sweet spot :) I understand some people might call me crazy but I couldn't use a calculator that forces you to shift to enter EE.
- makmanalp 12y agoWow, this brings me back to the early 2000s and MirageOS, which wasn't actually an OS but a glorified shell: http://www.detachedsolutions.com/mirageos/ http://www.detachedsolutions.com/mirageos/ This is a complete replacement though, right? IIRC, the firmware updates had to be signed, how did you get around that?
- Sir_Cmpwn 12y ago> This is a complete replacement though, right? Yep. > IIRC, the firmware updates had to be signed, how did you get around that? Here are Texas Instrument's private keys: https://github.com/KnightOS/kernel/tree/master/keys https://github.com/KnightOS/kernel/tree/master/keys
- deleted 12y ago[deleted]
- noname123 12y agoNeeds the most important feature that prints out the "Memory cleared..." text as the original TI-OS would to fool the teachers and still have your crib notes!
- Sir_Cmpwn 12y agoHere's hoping I can convince the teachers of how great open-source software is instead!
- osi 12y agoah, i remember writing a program to do just that on my TI back in the day!
- pix64 12y agoIf archive a program, it doesn't get erased when you clear the RAM btw. I put up with the little show and dance, but it was ultimately a pointless exercise. I'd hate to lose Tetris.
- kijin 12y agoIf these kinds of hacks become popular, I wouldn't be surprised if some school districts and standardized test makers decided to ban all non-stock-OS calculators in the near future. They might even partner with TI to add some sort of DRM and force students to buy these new, even more overpriced, "ETS-approved" calculators...
- ithkuil 12y agoWow. Good job! Unfortunately I lost my TI-84, I'm tempted to try KnightOS on an emulator on an android tablet, running in an emulator on my laptop.
- __michaelg 12y agoOther than tinkering, what's the point of that project? AFAIK you buy those things because you want TI's math software, not because you need some hardware to run your software on it. After all, these are a bit pricey if just look at the hardware, right?
- jmpe 12y agoA TI-73 or TI-83 is $20 or less on eBay.