* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: ICE Compiler  (Read 37463 times)

0 Members and 1 Guest are viewing this topic.

Offline PT_

  • Full User
  • Join Date: Mar 2016
  • Location:
  • Posts: 277
  • Post Rating Ratio: +13/-0
Re: ICE Compiler
« Reply #330 on: 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_ »

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18782
  • Post Rating Ratio: +97/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: ICE Compiler
« Reply #331 on: March 20, 2017, 04:08:33 pm »
Awesome. By the way, Sin() Cos() Tan() Walrii()
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Alvajoy123

  • Full User
  • Join Date: Feb 2017
  • Location: USA
  • Posts: 114
  • Post Rating Ratio: +4/-5
  • The best programmer start her ~ codewalr.us
    • alvajoy asante
    • @@AlvajoyAsante
  • Gender: Male
Re: ICE Compiler
« Reply #332 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  >:(
  • Calculators owned: TI-84+CE
??? ??? ???
Qestions are hard to ask that why we have ???
http://huggle.jdf2.org/sig/Alvajoy123.png

Offline _iPhoenix_

  • Full User
  • Join Date: Mar 2017
  • Location:
  • Posts: 479
  • Post Rating Ratio: +9/-1
  • █████ ▼ ♪ Best music ♫
    • @dj_iPhoenix
    • @UCytgMNPxAMDsxjimvxHf01w
    • @the-legend-of-iphoenix
  • Gender: Male
Re: ICE Compiler
« Reply #333 on: April 02, 2017, 11:49:48 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?
  • Calculators owned: A sentient TI-84+ CE, TI-85
  • Consoles, mobile devices and vintage computers owned: TI-99/4a home computer
Help me with a project by voting here! Thanks!

"walruses are better than tuxedo chickens, all hail the great :walrii:" ~ me

Offline Alvajoy123

  • Full User
  • Join Date: Feb 2017
  • Location: USA
  • Posts: 114
  • Post Rating Ratio: +4/-5
  • The best programmer start her ~ codewalr.us
    • alvajoy asante
    • @@AlvajoyAsante
  • Gender: Male
Re: ICE Compiler
« Reply #334 on: April 03, 2017, 12:25:11 am »
 
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:
  • Calculators owned: TI-84+CE
??? ??? ???
Qestions are hard to ask that why we have ???
http://huggle.jdf2.org/sig/Alvajoy123.png

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18782
  • Post Rating Ratio: +97/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: ICE Compiler
« Reply #335 on: 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.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Alvajoy123

  • Full User
  • Join Date: Feb 2017
  • Location: USA
  • Posts: 114
  • Post Rating Ratio: +4/-5
  • The best programmer start her ~ codewalr.us
    • alvajoy asante
    • @@AlvajoyAsante
  • Gender: Male
Re: ICE Compiler
« Reply #336 on: 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 »
  • Calculators owned: TI-84+CE
??? ??? ???
Qestions are hard to ask that why we have ???
http://huggle.jdf2.org/sig/Alvajoy123.png

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18782
  • Post Rating Ratio: +97/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: ICE Compiler
« Reply #337 on: 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
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline PT_

  • Full User
  • Join Date: Mar 2016
  • Location:
  • Posts: 277
  • Post Rating Ratio: +13/-0
Re: ICE Compiler
« Reply #338 on: April 12, 2017, 09:09:21 pm »
In Case of Emergency (ICE..), you can join #icedev for (almost) instant help :)

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18782
  • Post Rating Ratio: +97/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: ICE Compiler
« Reply #339 on: April 12, 2017, 11:20:41 pm »
Ok thanks for the heads up.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Alvajoy123

  • Full User
  • Join Date: Feb 2017
  • Location: USA
  • Posts: 114
  • Post Rating Ratio: +4/-5
  • The best programmer start her ~ codewalr.us
    • alvajoy asante
    • @@AlvajoyAsante
  • Gender: Male
Re: ICE Compiler
« Reply #340 on: 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
  • Calculators owned: TI-84+CE
??? ??? ???
Qestions are hard to ask that why we have ???
http://huggle.jdf2.org/sig/Alvajoy123.png

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18782
  • Post Rating Ratio: +97/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: ICE Compiler
« Reply #341 on: April 16, 2017, 11:58:24 pm »
Could you rephrase Alvajoy? I'm unsure if I understand what you mean
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline PT_

  • Full User
  • Join Date: Mar 2016
  • Location:
  • Posts: 277
  • Post Rating Ratio: +13/-0
Re: ICE Compiler
« Reply #342 on: April 17, 2017, 05:50:13 pm »
No the fillscreen command doesn't add 'other shapes', it's just you using it wrong.

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18782
  • Post Rating Ratio: +97/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: ICE Compiler
« Reply #343 on: 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.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline PT_

  • Full User
  • Join Date: Mar 2016
  • Location:
  • Posts: 277
  • Post Rating Ratio: +13/-0
Re: ICE Compiler
« Reply #344 on: 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

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games