You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server

[TI-84+CE] ICE Compiler

b/Software Downloads Started by PT_, March 25, 2016, 08:14:17 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

u/PT_ March 20, 2017, 02:15:47 PM
Output( and running a BASIC subprogram now works!



Note: I don't do any error-checking, so please be sure your BASIC program works fine, I can't guarentee what would happen if you have an error in it :P

Download:
https://tiplanet.org/forum/archives_voir.php?id=587211
https://www.cemetech.net/programs/index.php?mode=file&path=/84pce/asm/ICECompiler.zip
Last Edit: March 20, 2017, 02:27:01 PM by PT_
u/Dream of Omnimaga March 20, 2017, 04:08:33 PM
Awesome. By the way, Sin() Cos() Tan() Walrii()
u/Alvajoy123 April 02, 2017, 11:38:11 PM
Whats wrong with ICE  >:(
it messed up when i was playing pong i can not see the ball or anything but colors  >:(
u/_iPhoenix_ April 02, 2017, 11:49:48 PM
Quote from: Alvajoy123 on April 02, 2017, 11:38:11 PM
Whats wrong with ICE  >:(
it messed up when i was playing pong i can not see the ball or anything but colors  >:(

Do you have source?
Or is it the default example?
u/Alvajoy123 April 03, 2017, 12:25:11 AM
 
Quote from: _iPhoenix_ on April 02, 2017, 11:49:48 PM
Quote from: Alvajoy123 on April 02, 2017, 11:38:11 PM
Whats wrong with ICE  >:(
it messed up when i was playing pong i can not see the ball or anything but colors  >:(

Do you have source?
Or is it the default example?
i have a default example

i need this for Linux please help  :w00t:
u/Dream of Omnimaga April 03, 2017, 04:22:57 PM
You might want to try different program examples. Pong was made in the earlier days of Ice and I don't even know if it was updated to work on more recent versions. I remember having issues with it before, too.
u/Alvajoy123 April 08, 2017, 06:21:32 AM
Um while what is define Sprite
And where do you get it  :-|

Do you type it in?
???

And can it be use with other libs such as testlib libload and much more libs
Last Edit: April 08, 2017, 06:24:15 AM by Alvajoy123
u/Dream of Omnimaga April 08, 2017, 02:19:43 PM
You need to use Convpng which is included somewhere in MateoConLechuga's Github repo for the CE toolchain. It will generate hexadecimal
u/PT_ April 12, 2017, 09:09:21 PM
In Case of Emergency (ICE..), you can join #icedev for (almost) instant help :)
u/Dream of Omnimaga April 12, 2017, 11:20:41 PM
Ok thanks for the heads up.
u/Alvajoy123 April 13, 2017, 02:39:12 PM
thank for the heads up  :thumbsup:

one more problem in ice when you fill the screen with the color u what other shapes come up why is that
u/Dream of Omnimaga April 16, 2017, 11:58:24 PM
Could you rephrase Alvajoy? I'm unsure if I understand what you mean
u/PT_ April 17, 2017, 05:50:13 PM
No the fillscreen command doesn't add 'other shapes', it's just you using it wrong.
u/Dream of Omnimaga April 18, 2017, 02:14:49 PM
What's ICE Compiler by the way?














But seriously, yeah I suspect he did something wrong. Also remember: Always back up your progress often when testing ICE code. It's not like TI-BASIC. TI-BASIC will give an error if the code is wrong. ICE, ASM, C and most BASIC add-in libs will delete your RAM content. Heck, even pure TI-BASIC can delete your RAM apparently if you trigger a TI-OS bug. Always keep your data safe.
u/PT_ April 21, 2017, 08:13:51 AM
We are more than happy to announce that the online TI-BASIC editor and IDE SourceCoder 3 gets an upgrade again. You have now the possibility to compile ICE programs online, rather than doing it on-calc! The syntax is basically the same as TI-BASIC, but you don't need a "Then" for indentation. While the highlighting is exactly the same, except the commands of course, we are still working on a nice styling system for ICE, to make it even easier to write programs! But, you say, why can't we use the TI-BASIC section of SourceCoder 3? That is very simple: ICE has a lot of graphic commands, imported from the C libraries, and replaced them with det(XX..). From now on, you don't need to remember this anymore, you can just directly type "FillScreen(255)" for example!

In the sidebar you can see some groups, which are the same groups as listed in commands file of ICE Compiler, to make it even easier! Also, you can easily add comments as well, in order to explain variables or routines to yourself. You can do this by placing "//" in front of the line, the same as in with BASIC.

As far as we know, there is only 1 thing to mention:
  • There is a graphic command "End", but BASIC itself also has an "End". Therefore, I removed the graphic command "End", so typing in "End", gives you the token End, not det(1).
Anyway, we hope that this makes development of ICE programs much easier, and we are happy to receive feedback and or questions/comments about this!

Launch Tool:
SourceCoder 3 Online TI-BASIC, ASM, and C Editor and IDE



Many thanks to KermMartian for helping me in this process, correcting me when needed, and moving it to the real website!

Source: https://www.cemetech.net/forum/viewtopic.php?t=13679
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal