Newprog 2.0 and NPPTOC released - TI-68k
Posted by Xavier on 30 April 2021, 20:46 GMT
Newprog 1.0 by is a very powerful programming language released in 2010 for the TI-68k series. Its syntax is close to TI-68k Basic, but its functionality is closer to C and ASM: access to memory, sprites, timers, OS variables, etc. In addition, executing TI-Basic instructions directly is possible. Newprog programs can be edited and compiled directly on the calculator. Basically, it is similar feature-wise to Axe Parser for the monochrome TI-Z80 series, released in the same time frame; sadly, unlike Axe Parser, it seems to have come too late to trigger a significant revival of the corresponding community.
Recently, Newprog 2.0 was released on ticalc.org. It represents an evolution of version 1.0, with generally good backwards compatibility, and significant new functionality. The main upside of Newprog 2.0 is that it can be used in conjunction with NPPTOC, a new calculator-side program performing source-to-source translation between Newprog and C under some conditions, e.g. that all variables have a single type throughout their lifetime. Once translated, the programs can be compiled to assembly using GTC (calculator-side and computer-side) or GCC4TI (computer-side), creating faster, standalone native code binaries.
However, there's more! Thanks to NPPTOC, Newprog 2.0 adds support for libraries, which can be programmed either in Newprog or C(+ASM), then compiled into native code, and called from Newprog programs. This unleashes the full power of native code. Other improvements in Newprog 2.0 include a rewrite of the documentation, to fix errors and improve clarity, as well as new functions.
All in all, this looks to be a very solid new release... existing and new users of Newprog alike should love it!
Article written by Mael Bansard (author of Newprog) and Lionel Debroux.
|
|
Discuss
|
(14 comments)
|
More text-based adventures for the TI-eZ80 series
Posted by Xavier on 25 December 2020, 20:48 GMT
With access to native code programs restored almost four months ago, it's high time I resumed featuring programs for the TI-eZ80 series: TI-83 Premium CE / 84 Plus CE and Python variants thereof :)
Let's start with another couple of "text adventures" - text output and formatted text commands input - uploaded in 2019. The popularity of the genre has faded, but well-designed adventures are usually hours of fun, sometimes temporarily frustrating when there's a roadblock, for those who attempt to discover the adventures entirely by themselves, without using walkthroughs. Taking external notes and map drawings is advised in some games, especially to help re-playing them.
Open Adventure CE is a port Colossal Cave Adventure 2.5 by "DrDnar". The programming of the original Colossal Cave Adventure game started in 1975 (!); since then, a significant number of persons have contributed to various versions of it. As in many adventure games, the player is navigating a complex maze containing treasures and monsters, solving puzzles, while of course trying to avoid dying prematurely.
A first upload in our archives for its author, ZEMU by Nicholas Mosier brings Z-Machine emulation to the TI-eZ80 series. The Z-Machine is a lightweight 16-bit virtual machine running Z-Code, created in the late 1970s for executing text adventures on a huge variety of platforms, originally used by Infocom; over time, successive versions of the spec and machine have gained capabilities, and spawned several improved derivatives allowing e.g. native support for 32-bit integers, the making of larger files, or the addition of images and sound data, for more complex and realistic games. The availability of a Z-Machine means that among other games, you can play Zork on your TI-eZ80 calculator, and therefore be eaten by a grue plenty of times before you beat the game... don't worry, that's natural, that's the hallmark of Zork ;)
We wish you a merry Christmas, and a hopefully as good as possible end of the very peculiar year 2020, hoping that 2021 will be a better one...
Article written by Lionel Debroux.
|
|
Discuss
|
(6 comments)
|
CE jailbreak allows ASM programs to work again!
Posted by Xavier on 6 September 2020, 20:58 GMT
![arTIfiCE logo](https://raw.githubusercontent.com/YvanTT/arTIfiCE/master/images/artifice.gif) We're happy to relay a very interesting, yet unsurprising, piece of news: the ability for the TI-83 Premium CE, TI-84 Plus CE(-T) and Python editions thereof, to run ASM programs, officially removed by TI a few weeks/months ago depending on the model, as reported in the previous news item, has been unofficially added back thanks to a jailbreak, called "arTIfiCE". From what we can see in the install tutorial, arTIfiCE seems to exploit a bug in the "Cabri Jr" geometry app in order to launch a shell.
This move was so obvious and predictable that it was really a matter of when, not if. After all, the TI-eZ80 series was not designed with security in mind, and in fact no TI graphing calculator model released to date is (even though TI seems to have learned a few tricks in the newer, high-end TI-Nspire CX II series, its security roadblocks appear to have been defeated relatively early on)
What are the next steps? Logically, just like on the TI-Nspire series, TI would release new software versions fixing the vulnerabilities used in the current iteration of the jailbreak, then more vulnerabilities will be exploited to restore access to native code again. Rinse and repeat, for a while, it's the usual cat & mouse "game".
Thinking out loud, we might see a series of 0-days showcasing exam mode insecurity being released over the several few days/weeks before the major exams of the northern hemisphere - something the TI enthusiasts community always refrained from doing. Such a timeframe would make it possible for some users to use programs interfering with exam mode (and needless to say, face the significant consequences if they get caught! - just to be clear, we are not condoning cheating). And this, most importantly, before the fixes for the vulnerabilities get a chance to be made and widely distributed, as well as standardized testing regulation amended to forbid usage of the older, vulnerable versions and to mandate thorough checks of the current state of calculators right before the exam is taken.
If that situation were to happen, it would probably be better to give up on the current exam mode "security model" entirely and rather reflash the OS with an exam-tailored version right in the exam room - something that should have been done from the get go, notwithstanding the practical hurdles, if the fantasized exam security were actually taken seriously. Unfortunately, a path of lower resistance for the educational system would be to just forbid the usage of the affected calculator models, several days before the exams, creating more injustice and further reducing the real-world value of said exams!
Time will tell, but there's a chance that there will be a spectacular - and publicized - backfire for the very smart demands from standardized testing regulation authorities, who didn't get (or didn't understand) the memo that predictably, removing access to native code does not make exams safer - quite the contrary.
Top-level TI management should be somewhat aware of that, in fact some of us in the community, myself included, attempted to explain all that to them several years ago... but we know that regulators have the power to forbid pieces of equipment for whatever reason, and manufacturers need to bend to their demands, no matter how unfounded, ill-motivated and counterproductive...
Thankfully, I'm not in the shoes of the previously mentioned teacher whose video about a long-fixed issue in TI's OS allowing exam mode restrictions bypass on the TI-eZ80 series might well have contributed to the removal of official native code access on those calculators, then consequently the current jailbreak, and might therefore contribute to potential future attacks on the exam mode.
Triggering a worldwide restriction on users' rights to use the hardware they bought, and potentially forbidding hundreds of thousands of calculators and creating further stress for students taking exams, is not something I'd be proud of.
arTIfiCE's author doesn't seem to have uploaded it to our files archives yet(?), so for now, CE users stuck with a recent OS version can learn more on its official website. Go forth and use that great piece of work, which raises the usefulness of the Cabri app :)
Article written by Lionel Debroux.
|
|
Discuss
|
(7 comments)
|
TI removes access to assembly programs on the TI-83 Premium CE
Posted by Xavier on 20 May 2020, 21:35 GMT
We're sad to relay news about the fact that in the currently latest OS 5.5.1 version released today for the TI-83 Premium CE & TI-83 Premium CE Edition Python (such a mouthful ^^), TI completely removed access to assembly programs... Support for unsquished ASM programs was already removed earlier in OS 5.3.1 onwards, though it didn't matter much at the time, because squished ASM programs remained unharmed. Yes, TI has retroactively removed an advertised feature, many a user's favorite feature at that.
This slam shuts a golden age of over two decades (!) of native code being officially supported on at least one actively maintained TI graphing calculator model. Unofficial availability of native code started a bit earlier, thanks to arbitrary code execution achievable through specially crafted backup files. Thousands of programmers have published thousands of programs (and produced even more), many of these published programs can be found in the ticalc.org archives, because ticalc.org has been around since 1996, i.e. for the entire period of official native code availability, give or take a few months time :)
As far as we can tell, TI did not make this move out of the blue. The trigger was probably a teacher posting, on his popular video channel, a video about a long-fixed flaw in an earlier version TI's implementation of PTT mode for the TI-eZ80 series. The fix is from 2018, the video was posted in 2020. Shortly thereafter, we can imagine that TI had to give in to pressure from some people who regulate standardized tests (as a matter of fact, they, not end users, are the real customers TI needs to appease). Needless to say, removing user access to native code has extremely little to do with exam security...
In fact, looking at what happened time and again on other platforms, e.g. the Sony PS3, we can confidently predict that this move will worsen exam security. From now on, the French 83 Premium CE, and certainly the international 84+ CE versions thereof in the near future, are in the same situation as the Nspire platform: a cat & mouse game of jailbreaks, fixes, and newer jailbreaks. Both the Nspire series and the TI-eZ80 series are insecure platforms, all the more users have unrestricted physical access to their calculators; more generally, at the time of this writing, no manufacturer produces any secure graphing calculator model, but the people who regulate standardized tests don't know or don't care...
Like all true calculator enthusiasts, we have hard feelings about the matter. The community had always been nice to TI - nothing really damaging for TI's business was ever released over 20+ years! - but a moral barrier has probably been broken today... However, there are so many much worse things in life, so let's focus on the future instead. It's the beginning of a new era - certainly an era of heightened tension. For now, let's only send our warmest thanks to all past, present and future programmers of native code programs for TI graphing calculators... and on to the new, upcoming chapters of a still ongoing story :)
The news wishlist contains a number of TI-eZ80 ASM programs, among other things; even without future POTY votes, we'll keep featuring programs as time permits.
Article written by Lionel Debroux.
|
|
Discuss
|
(27 comments)
|
Older news
Got news? Let us know!
RECENT ADDITIONS TO OUR FILE ARCHIVES
Click |
for
detailed information about a file. |
|
indicates files with screenshots.
|
|
indicates files with animated screenshots.
|
|
indicates featured programs.
|
New files for Tuesday, 30 July 2024
|
|
New files for Sunday, 16 June 2024
|
|
New files for Friday, 7 June 2024
|
|
» More recent files...
Have a file we don't? We welcome all contributions.
|
New to this?
|
Welcome to ticalc.org, your resource for Texas Instruments graphing calculator community news, information, and software!
Check out our Basics section for an
intro to downloading programs and games and linking your calculator to your
computer.
Our FAQ offers answers to many questions about ticalc.org and how we operate.
Our file archives contain a wide selection of programs and files for TI graphing calculators.
|
|
Newsletter
|
Subscribe to our bimonthly Newsletter for
exclusive new features every two months delivered to you by email.
|
|
|