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

TI-84+CE BASIC new Wait command & extra Pause arguments

Started by Dream of Omnimaga, February 28, 2016, 04:46:22 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Dream of Omnimaga

So it looks like TI-84 Plus CE BASIC is about to inherit an HP Prime feature for its BASIC language: a Wait command, which takes 0 to 100 as argument for seconds.

It is supposed to come in OS 5.2 but it is unclear if the seconds are actually seconds based on the internal clock or just like For(VAR,0,DELAY:End. Nonetheless, this should save space in programs that requires a lot of slowdowns, and if it takes accurate seconds as argument, then if TI ever releases a faster ez80 calculator, then it will be easier to make games run at the same speed on all models.


Also, in OS 5.1.5, the Pause command actually got updated to support a second argument, also seconds. Basically, you can do Pause "HELLO WORLD!",5 and it will display "HELLO WORLD!" on a new line, then 5 seconds later the program will continue its course. We do not know if this was temporary until the arrival of the Wait command, but if it stays, then it will be pretty handy.


Source: https://tiplanet.org/forum/viewtopic.php?f=11&t=18020
  • 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

Adriweb

Well, that Pause addition can't really be temporary because removing it would break compatibility :P
  • Calculators owned: TI-Nspire CX CAS, TI-Nspire CX, TI-Nspire CAS (x3), TI-Nspire (x2), TI-Nspire CM-C CAS, TI-Nspire CAS+, TI-80, TI-82 Stats.fr, TI-82 Plus, TI-83 Plus, TI-83 Plus.fr USB, TI-84+, TI-84+ Pocket SE, TI-84+ C Silver Edition, TI-84 Plus CE, TI-89 Titanium, TI-86, TI-Voyage 200, TI-Collège Plus, TI-Collège Plus Solaire, 3 HP, some Casios
Co-founder & co-administrator of TI-Planet and Inspired-Lua

Dream of Omnimaga

Yeah true, but maybe it could have been just something they are testing for the time being and had not made their decision yet about its future? Like the extra Circle() argument on monochrome models, although unlike with Pause, Catalog Help did not mention it.

The only downside of the extra Pause argument is that it rounds seconds up (or at least that's what CtgHelp seems to show?). Does it mean that 0.6 through 0.9 acts as 1 second Wait time? I think it would have been better to allow any kind of delay including with decimals if they are really rounding 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

Adriweb

Quote from: DJ Omnimaga on February 28, 2016, 05:13:07 AMThe only downside of the extra Pause argument is that it rounds seconds up (or at least that's what CtgHelp seems to show?). Does it mean that 0.6 through 0.9 acts as 1 second Wait time? I think it would have been better to allow any kind of delay including with decimals if they are really rounding it up.
No, it rounds up to the next .1s, not 1s :)
  • Calculators owned: TI-Nspire CX CAS, TI-Nspire CX, TI-Nspire CAS (x3), TI-Nspire (x2), TI-Nspire CM-C CAS, TI-Nspire CAS+, TI-80, TI-82 Stats.fr, TI-82 Plus, TI-83 Plus, TI-83 Plus.fr USB, TI-84+, TI-84+ Pocket SE, TI-84+ C Silver Edition, TI-84 Plus CE, TI-89 Titanium, TI-86, TI-Voyage 200, TI-Collège Plus, TI-Collège Plus Solaire, 3 HP, some Casios
Co-founder & co-administrator of TI-Planet and Inspired-Lua

Dream of Omnimaga

Actually you're right. I misread the CtgHelp screenshot it seems >.<. That's better then.
  • 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

aetios

The 84CE seems to be getting some really solid programming capabilities. How's the BASIC speed?
ceci n'est pas une signature

Dream of Omnimaga

Not only that, but ever since CEmu and the various C tools came out, there have been a lot more programs in the works. Pure-BASIC ranges from 20% to 200% faster, depending of what you're doing (math/tiny drawings are 20% faster, while full-screen updates are nearly instant at times. But most speed improvements are with ASM/C. I can notice a considerable difference in First Fantasy, though.
  • 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

aetios

Is the BASIC language fully compatible with the TI-84CSE ?
ceci n'est pas une signature

c4ooo


Dream of Omnimaga

#9
Quote from: aeTIos on February 29, 2016, 09:13:24 AM
Is the BASIC language fully compatible with the TI-84CSE ?
Yes, except the new commands and arguments added since OS 5.0. Basically, the seconds argument in Pause and the Wait command will not be supported. Also, Send() and Get() act differently on the CSE than on the CE.
  • 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

Animated screenshot showcasing the Pause enhancements in OS 5.1.5:



Notice how during the delay, you can even scroll through the text like any other normal Pause. The strange thing, however, is that the busy indicator shows as Paused, even though we can't press 2nd/ALPHA (the cursor doesn't appear)
  • 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

aetios

All this stuff is tempting me to get a CE, or at least mess around with CEmu.
ceci n'est pas une signature

Dudeman313

Quote from: aeTIos on March 03, 2016, 11:39:02 AM
All this stuff is tempting me to get a CE, or at least mess around with CEmu.
Give in you MUST! Strong, the temptation is, but resist no more.
Get a CE! :blah:
  • Calculators owned: TI-84 PCE
  • Consoles, mobile devices and vintage computers owned: Android O Phone
Does this qualify as a signature? 
The answer is "Sure."


aetios

Yeah, I would, but I can't really afford one as my use cases for it are... rather limited. I can't afford spending 130 euros on something that will probably be eating dust in a few months.
ceci n'est pas une signature

Dudeman313

I seem to remember someone saying this:
QuoteYou can borrow my ROM! I won't use my CE in the meantime! Honest!
JK
I wouldn't do that, but you can always try this.
  • Calculators owned: TI-84 PCE
  • Consoles, mobile devices and vintage computers owned: Android O Phone
Does this qualify as a signature? 
The answer is "Sure."


Powered by EzPortal