ticalc.org
Basics Archives Community Services Programming
Hardware Help About Search Your Account
   Home :: Archives :: News :: ICE: A new BASIC-like programming language for the CE calculators

ICE: A new BASIC-like programming language for the CE calculators
Posted by Xavier on 19 July 2016, 20:53 GMT

ICE

Recently, Peter "PT_" Tillema uploaded an interesting program: ICE Compiler.
It has nothing to do with the TI-83/83+ shell.

ICE compiles a TI-BASIC-like language into eZ80 binary, the native machine code of the CE calculators. Because it's not interpreting TI-BASIC like the OS does, execution is generally much faster. This makes us think about Axe Parser, for the monochrome TI-Z80 series, which needs no introduction.

So far, there have been two versions. Version 1.0 provided primitive syntax like variables, If, loops, operators, etc. Version 1.1 added essential features like string displaying, label/goto, getkey, input, and brought other improvements... The set of features should make you comfortable for writing all sorts of utilities, games, etc. in a higher-level language. The .zip file you can download also includes a list of commands and additional technical information.
The roadmap for v1.2, expected within the next few months, contains For loops, sprite-related commands, Text(, simple list support, and several other nice features making ICE even more powerful.

Wondering what ICE code looks like ? Well, it's pretty much your standard TI-BASIC code, and Peter has provided an example of the good old number guessing game in the archive. We can see the inline hex ASM snippet feature in action towards the end, too, which is pretty fancy (and something only the 68k calculators are able to do by default)

We can't wait to see how ICE evolves over time and what people make with it !
Oh and by the way, Peter has made ICE open-source on GitHub, so happy bug-hunting and contributions for those interested to lend a hand !

  Reply to this article


The comments below are written by ticalc.org visitors. Their views are not necessarily those of ticalc.org, and ticalc.org takes no responsibility for their content.


Re: ICE: A new BASIC-like programming language for the CE calculators
DJ_Omnimaga Account Info
(Web Page)

This is pretty promising and reminds me of Axe a bit. I can't wait until it gets sprite support :)

Reply to this comment    19 July 2016, 21:17 GMT


Re: Re: ICE: A new BASIC-like programming language for the CE calculators
CalcMax Account Info

DJ Omnimaga, you are absolutely right about the need for sprite support. I am with you on those requests/desires. ICE seems very promising and now our sprite/picture programs can be several times faster than with TI-BASIC! This will be very useful for 3D rendering. :)

Reply to this comment    11 October 2016, 17:43 GMT

Re: ICE: A new BASIC-like programming language for the CE calculators
CalcMax Account Info

Sure hope this gets ported to the monochrome 84+. otherwise, this looks extremely cool. Finally you can be an ASM programmer with only ti-basic knowledge. :)

Reply to this comment    31 July 2016, 15:54 GMT


Re: Re: ICE: A new BASIC-like programming language for the CE calculators
CalcMax Account Info

Oh, yeah! This will definitely speed up things like my DrawPic v1.0 and GraphicsFun v1.0 programs! I have always wanted to use asm speed without the risk of a bug messing up the calc. I won't be buying a color calc anytime soon, so I hope this gets ported to the monochrome 83+/84+ calcs (I have a ti84+se). I hope the final version has 100% compatibility with all TI-BASIC commands. Can't wait for more...

Reply to this comment    11 October 2016, 17:39 GMT

  Copyright © 1996-2012, the ticalc.org project. All rights reserved. | Contact Us | Disclaimer