CodeWalrus

Development => Calculators => Calculator News, Coding, Help & Talk => Topic started by: Dream of Omnimaga on February 28, 2016, 04:46:22 AM

Title: TI-84+CE BASIC new Wait command & extra Pause arguments
Post by: Dream of Omnimaga on February 28, 2016, 04:46:22 AM
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
Title: Re: TI-84+CE BASIC new Wait command & extra Pause arguments
Post by: Adriweb on February 28, 2016, 05:04:12 AM
Well, that Pause addition can't really be temporary because removing it would break compatibility :P
Title: Re: TI-84+CE BASIC new Wait command & extra Pause arguments
Post by: Dream of Omnimaga on February 28, 2016, 05:13:07 AM
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.
Title: Re: TI-84+CE BASIC new Wait command & extra Pause arguments
Post by: Adriweb on February 28, 2016, 05:20:57 AM
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 :)
Title: Re: TI-84+CE BASIC new Wait command & extra Pause arguments
Post by: Dream of Omnimaga on February 28, 2016, 05:23:00 AM
Actually you're right. I misread the CtgHelp screenshot it seems >.<. That's better then.
Title: Re: TI-84+CE BASIC new Wait command & extra Pause arguments
Post by: aetios on February 29, 2016, 08:37:21 AM
The 84CE seems to be getting some really solid programming capabilities. How's the BASIC speed?
Title: Re: TI-84+CE BASIC new Wait command & extra Pause arguments
Post by: Dream of Omnimaga on February 29, 2016, 08:40:33 AM
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.
Title: Re: TI-84+CE BASIC new Wait command & extra Pause arguments
Post by: aetios on February 29, 2016, 09:13:24 AM
Is the BASIC language fully compatible with the TI-84CSE ?
Title: Re: TI-84+CE BASIC new Wait command & extra Pause arguments
Post by: c4ooo on February 29, 2016, 08:35:10 PM
Wow TI suprised me here :D
Title: Re: TI-84+CE BASIC new Wait command & extra Pause arguments
Post by: Dream of Omnimaga on March 01, 2016, 05:15:30 AM
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.
Title: Re: TI-84+CE BASIC new Wait command & extra Pause arguments
Post by: Dream of Omnimaga on March 03, 2016, 08:25:43 AM
Animated screenshot showcasing the Pause enhancements in OS 5.1.5:

(https://img.ourl.ca/pausewait.gif)

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)
Title: Re: TI-84+CE BASIC new Wait command & extra Pause arguments
Post by: 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.
Title: Re: TI-84+CE BASIC new Wait command & extra Pause arguments
Post by: Dudeman313 on March 03, 2016, 12:09:19 PM
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:
Title: Re: TI-84+CE BASIC new Wait command & extra Pause arguments
Post by: aetios on March 03, 2016, 12:32:10 PM
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.
Title: Re: TI-84+CE BASIC new Wait command & extra Pause arguments
Post by: Dudeman313 on March 03, 2016, 10:35:39 PM
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 (https://codewalr.us/index.php?topic=1142.msg32907#msg32907).
Title: Re: TI-84+CE BASIC new Wait command & extra Pause arguments
Post by: aetios on March 04, 2016, 09:01:37 AM
We'll see how it'll work out. I have my ways of obtaining ROMs muhahaha.
Title: Re: TI-84+CE BASIC new Wait command & extra Pause arguments
Post by: Dudeman313 on March 04, 2016, 07:53:33 PM
 >:D >:D >:D
Buy one off the Black Market...
>:D >:D >:D