I am interested into programming with different languages besides Ti-Basic (like Java, C, and Python) on my Ti-84 plus calculator. Does my calculator support this, and if not, are there any calculators on the market that would be able to do this? Thanks in advance!
(The idea is that when I don't have access to my computer at home, I could just pull out my pocket calculator and start programming and testing out some algorithms on the go that come in mind.)
It doesn't have to be a calculator, just something cheap and programmable and something I can carry around in my hand.
TI calculators allow you to program them in z80 assembly ! Unfortunately, TI didn't include a way to program into it in calculus using mnemonics (although there are ways to do it. More on that later). However, you can write machine code directly in the TI-BASIC program editor by starting a program with the AsmPrgm (or Asm84CPrgm , or Asm84CEPrgm , depending on which calc you have) and then writing a series of opcodes that correspond to the assembly instructions. . For example, here is a program that does nothing:
AsmPrgm 00 C9Which translates directly (disregarding any necessary preprocessor directives) to:
NOP ;no-op RET ;return to the OS. If this is omitted, the program will remain in execution forever, requiring a RAM clear to exitThis page has a bit more info on that, but note that "hex codes" is a misnomer, as "hex" has nothing to do with the z80 assembly specifically.
However, if you have a monochrome calculator (not the C Silver Edition or the CE), I recommend you download Mimas , an assembly editor in calculus:real assembly, which means it uses mnemonics. And it contains the OS bundle file, which maps keywords to all important system memory locations, and " b_call() s" (which TI put in rst 0x28 ), which are system routines that TI put in the system operating to make life easier.
There is also a C compiler for the new 84 Plus CE calculator, if you have that model. However, it is a computer program, so again (sadly) there is no C programming in calculus.
After some research, I found some portable "pocket" devices. The Palm m500 has a JVM for programming java. Apparently there was a website that had an SDK for C, but the website was removed.
As for calculators:
You would need a compiler that will translate whatever language you're writing in (in the case of Java, an implementation of the JVM as well) to the assembly used by the calculator's CPU, it's probably not likely you will find an easy to use solution as calculators like the TI-84 are pretty archaic.