Join us on Discord!
You can help CodeWalrus stay online by donating here.

[TI-84+CE] ICE Compiler

Started by PT_, March 25, 2016, 08:14:17 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Snektron

now all we need is a better editor
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Dream of Omnimaga

Well, so far I think I would be fine with SourceCoder 3, TokenIDE (whcih I use) and the on-calc editor. Maybe you could do a custom commands file for TokenIDE? It's possible IIRC.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Snektron

i mean the on calc editor. It works pretty bad imo.
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Dream of Omnimaga

Well, I can agree that it's not that great, especially the slow Goto scrolling, but I think it should at least remain compatible so people can still use it if they want to or any of the established TI-BASIC/Axe editors out there.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Dream of Omnimaga

On a side note, shouldn't ICE v1.0 be called ICE v0.1, since it still doesn't have all planned features? It might be less misleading to people, because if they see v1.0 and that it lacks getKey, sprites, Text() or whatever, then they might be less inclined to check for updates than if it's called version 0.1 (which means incomplete, so people tend to check for progress more).

Also Axe Parser started becoming popular when Sprites and getkey became possible. Once games become possible, maybe there could be an ICE topic where we can showcase small programs we made or games that could later be included as examples?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

PT_

☑ Custom name, after {i}, max length of 8

Pretty easy to implement ;)

Dream of Omnimaga

What is the custom name for? I forgot.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

PT_

Quote from: KermMartianIt looks like you didn't post about it in this thread yet; on IRC, you proposed the following two possible header formats, where {i} is the imaginary i, sqrt(-1): {i}PROGNAME

{i}PROGNAME DESCRIPTION OF MY PROGRAM
To make it easier to detect whether a program is ICE source code, and to make it easier for you to parse descriptions to boot, I propose: {i}PROGNAME

{i}PROGNAME
{i}DESCRIPTION OF MY PROGRAM
In fact, you might want to consider a third option as well: {i}PROGNAME
{i}DESCRIPTION OF MY PROGRAM
{i}DCE ICON
;)

Dream of Omnimaga

Ah right, that's a nice idea. Also I'm glad you support DCE icons (I should really make some for Wal-Rush! CE and my other games)
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Snektron

Pretty nice. I also was thinking, maybe its a nice idea to add a checksum function, which you feed a pointer and a size and returns a 24 bit checksum. Could be usefull for making custom level packs for games and such, or checking for corrupted save data.
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Dream of Omnimaga

External files such as appvars would definitively nice. But if you implement those, then make sure that the syntax to generate or read them isn't as confusing as with Axe (in the way that we can easily mix it up)
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

PT_

☑ Use ix for accessing variables - saves on average 6cc and 1.2 bytes each
☑ getKey
Almost done: rand, pretty easy to implement now.

And still bugfixing... :P

Dream of Omnimaga

Good job so far. Do you think a game like GalagACE or Block Dude with no sprite can be made with ICE now?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

PT_

Quote from: DJ Omnimaga on June 25, 2016, 05:51:31 PM
Good job so far. Do you think a game like GalagACE or Block Dude can be made with ICE now?
No, 'cuz I haven't implemented sprites or any graph command yet.

Another question: is "ld a, r" random enough for games?

Snektron

i doubt it, and its only 256 different values anyway. Isn't there an OS routine for it?
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Powered by EzPortal