The shoutbox is currently out of service. Join us on Discord instead.
You can help CodeWalrus stay online by donating here.

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

Started by DJ Omnimaga, February 28, 2016, 04:46:22 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DJ 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

Adriweb

Well, that Pause addition can't really be temporary because removing it would break compatibility :P
Co-founder & co-administrator of TI-Planet and Inspired-Lua

DJ 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.

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 :)
Co-founder & co-administrator of TI-Planet and Inspired-Lua

DJ Omnimaga

Actually you're right. I misread the CtgHelp screenshot it seems >.<. That's better then.

aeTIos

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

DJ 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.

aeTIos

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

c4ooo


DJ Omnimaga

March 01, 2016, 05:15:30 am #9 Last Edit: March 01, 2016, 05:17:07 am by DJ Omnimaga
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.

DJ 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)

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:
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.
Does this qualify as a signature? 
The answer is "Sure."


Powered by EzPortal