Recent Forum Posts

Looking for something?

Don't see a match? Post to the community

From categories:
page 1123...next »

This is my HQ for the mental arithmetic trainer, so that not all the issues will be spread around the forum. The reason to create this program is for me to get back into coding. Especially TI basic first. At the moment I am reading some books how you can calculate with some tricks in your head some very big numbers. I was always good, but want to get better. I am using tricks from the book "Secrets of Mental Math" by Arthur Benjamin and Michael Shermer. But also other online sources. I know there are apps out there, but this is for me to train my Basic skills.

Her is how the program will work.

1. an opening screen
2. menu

  • explaining each trick with section to practice
  • training mode where you can chose which technique you want to practice (same as practice without explanation)
  • competition mode where different difficulty levels can be set with highs cores. e.g answer time (speed), 3 life system (most answers in a row), etc.
  • high score table with results of performance

3. exit screen


The first question I ask myself is if I code everything into one file or create sub files that can be called and exited back to main file.
How much graphics I want to implement. I will write it for the TI-84 Plus CE-T, but want to also make versions for all other 84 models.

I will get started with an old fashioned flow chart. I will do it in a way so that I can add more modules as soon they become available, without disrupting the general program structure.

That's it for the moment. I you like to comment and contribute, please feel free.

Next post: first version of flow chart


…indistinctness is my forte…
J.M.W. Turner

Mental arithmetic trainer by BenariusBenarius, 11 Dec 2018 03:09

I knew about the toString command, but if it is available then it helps. For the iff, that's a really good point. I didn't think of that. For the string abbreviation (strg) I was trying to type this up really fast and missed that. I literally wrote the program in 5 minutes and just made sure it functioned before posting it lol 😂

UBERhelp1UBERhelp1, while you could do that it is a bit less compatible. The toString command is not available on all calculators, which is why I had done the other way around and evaluated the string as a number. By limiting the input to numbers, it can also act as a method of error prevention. I am aware of both the number-to-string routines, but the less workarounds you have to use is generally considered better.

I see in your code you also used a section for if the strings are not equal; you don’t need this statement at all if you display the “Boo” before the “Bravo”. If you display the “Boo” first, then iff (yes, I mean iff, which is if and only if) the answer is correct will it display “Bravo”. This means you can make the program faster by assuming they are wrong and only changing the output if they are right.

A few other notes: You shouldn’t need the 1->J at the beginning since repeat loops always execute at least once. Instead of 0->J you can use DelVar J, which is smaller. The strings are not Strg1 and Strg2, they are Str1 and Str2.

Is that Axe?

EDIT: Nevermind, I see that you changed some abreviations for some commands, my bad.


𝔹𝕚𝕠_ℍ𝕒𝕫𝕒𝕣𝕕𝟙𝟚𝟠𝟚

Actually, I found a fix for that, and it takes up only a little space. It uses 2 strings and compares them to see if the answer is right. I actually typed it on my friend's calculator, so I won't be able to bugfix. It uses the toString( command, so if you don't have that you have to use a workaround - (I can't put the link to the page, but it is Number to String) Enjoy!

1→J
Repeat not(J)
ClrHome
randInt(11,99→A
10iPart(.1A)+10(1-fPart(.1A→H
Disp A,H
toString(AH
And→Strg1
Input "Answer:",Strg2
If Strg1=Strg2
Output(4,7,"Bravo
If Strg2="End"
0→J
If Strg2≠Strg1
Output(4,7,"Boooo...
End
ClrHome

It exits if you type in END as an answer.

Will try and let you know.


…indistinctness is my forte…
J.M.W. Turner

Can't you just take the input as a string and check if that string equals the number? For example:

AH→Strg1
Input "Answer: ",Strg2
If Strg1=Strg2

Note, I don't have my calculator to test this out, but I think it would work.

Yep. I would like a simple heliocentric and switch to geocentric top down representation with the option to see positions according to dates. When selecting 2 objects you then can get info like relative bearing, distance, relative velocity, etc.


…indistinctness is my forte…
J.M.W. Turner

Finally got the solution from Kg583:

Create file e.g. LOWCASE with just that one entry below

:Asm84CEPrgmFDCB24DEC9

Then run Asm(prgLOWCASE)

DONE

I need to mention that I had to downgrade from Version 5.3.1 to 5.3.0

Thanks for all your help.


…indistinctness is my forte…
J.M.W. Turner

Wow…your todays hero. It finaly worked. That's just wonderful that after so many hours something good comes out of it. I owe you a beer, or two. Thanks heaps.

P.S. What I did wrong was having the :Asm84CEPrgmFDCB24DEC9 not as one, but split in two lines. I am realy glad I downgraded. There is a video tutorial how you need first a program that allows you to override the downgrade block, then load in the older version. Of course I have made a backup of the original system first.


…indistinctness is my forte…
J.M.W. Turner

Hi there,

I tried that, but let me try again. Maybe it's also in the hardware. My calc is so new, who knows, that maybe downgrading doesn't give the required effect. I got the ASM84 unblocked, but it's giving me errors. I try again and let you know. Thanks.


…indistinctness is my forte…
J.M.W. Turner

I've avoided 5.3.1 like the plague, mainly for the reason of blocking Asm84CEPrgm (though hex codes will still function; you just can't type them as easily). The update also makes it harder to downgrade than usual, since the OS basically sets 5.3.1 (i.e. itself) to be the "default" OS version.

Also, what problems are you having with the lowercase letters? It should be as simple as creating:

:Asm84CEPrgmFDCB24DEC9

then running it via Asm(prgmNAMEHERE) (obviously with NAMEHERE replaced by the program name).


The solution to a complex problem is often a simple answer.

I just downgraded so I can use the HEX codes which were in Version 5.3.1 not possible. Ther is a youtube video which explains why you shouldn't update to 5.3.1. Did anybody else have similar issues? I wanted to use the HEX code that allows me to switch to lowercase letters while coding within the calculator, but have still not figured out how. At least it's possible within TI Connect. But I tried other codes as well, to no avail. Maybe I will update back to it's original state. Appart from that I did not encounter any issues. Maybe because I only ran older pure Basic apps. There is just not enough time for all of this. Another allnighter…lol. Patience is the key.


…indistinctness is my forte…
J.M.W. Turner

TI-99/4A
BenariusBenarius 10 Dec 2018 06:21
in discussion General Discussion / Open Topic » TI-99/4A

Hi Folks,

I just wanted to share some old stories from when I was about 13 years old. Back in the 80's I came in contact with my first computer. I was given a Sinclair ZX 81 for testing. My moms boss at that time started distributing those new black boxes and wanted to find out how a young kid like me was able to do anything with it. A week later I requested the 16Kb memory upgrade as with only about 50 lines of code my appetite for bigger Basic games grew carnivorously quick. 6 months later after doing some summer jobs I wanted to get a C64 but only had enough to get a TI-99/4A which price dropped to around 300 bucks where as the C64 was still almost a 1000 with floppy drive. But I had so much fun with the 99er and my ghetto blaster as storing unit. But the joysticks were terrible. Nonetheless I was getting good at coding and my biggest achievement at that time was translating a C64 game listing out of a magazine into the 99er. Yes, those were the times when you had to type thousands of lines of code for hours just to find for another few hours all the typos. In the hope that electricity doesn't fail you, I saved the programs very rarely because that also took sometimes half an hour. But it was worth it. Every minute of it. 16 colors, 8 bit graphics and a lousy sound generator….what else does one want? A C64, of course. I did get one in the end, but mostly played with it. But the time with the 99er was the time I spent mostly coding and learning Basics. And here I am again. For some reason I just wanted to buy this graphing calculator. Knowing now what I realy can do with it just reminded me of the good old times which I wanted to share with you. It's like having a pocket sized 99er. I am looking forward to create some games and keep the brain juices flowing. Did anyone of you have the 99er? If intrested we can exchange some stories regards issues and experiences. I remember how the cartridge slot area got realy realy hot. Or you know how you could simulate 256 colors with only 16 available? Where there is a will there is a coding trick…lol. Nostalgia. I miss those times and that certain feeling you got using such old equipment. Let's here it maybe from you. I will share more stories later if I can still recall them again…laters.


…indistinctness is my forte…
J.M.W. Turner

TI-99/4A by BenariusBenarius, 10 Dec 2018 06:21

But still no success. I tried everything from calling the file with the token or vice versa, etc….can someone tell me step by step. Thanks heaps.


…indistinctness is my forte…
J.M.W. Turner

I DID IT ANYWAY…Downgraded to 5.3.0.0037. Now Asm84CEPrgm is available again. Some new features will be missing, but that was a good trade off.


…indistinctness is my forte…
J.M.W. Turner

I found a link where I can downgrade and install version5.3.0 with a downgrade tool. But not sure if I should or damage it or can upgrade again…ahhhh…so much pain——lol


…indistinctness is my forte…
J.M.W. Turner

It's blocked by a blue line over it. I have only Asm( and AsmComp( from catalog available.


…indistinctness is my forte…
J.M.W. Turner

But damn..this really bugs me now that after you shown me those HEX codes and all I COULD do with it…I CAN'T…..wtf…


…indistinctness is my forte…
J.M.W. Turner

page 1123...next »