This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - Hot_Dog
Pages: 1 ... 99 100 [101] 102 103 ... 194
1501
« on: December 16, 2010, 02:57:28 pm »
Normally, if nothing has changed since the last time you graphed equations, displaying the graph screen will simply cause your graph to load instantly, there is no redrawing.
In Ti-Basic, something like "1->Y1" will cause DispGraph to redraw the entire graph. But it's not the most optimized way. Is there anything faster? A cookie and a bag of peanuts goes to the helpful person who gives me the fastest, most optimized command to force a graph redraw upon reaching the command DispGraph.
Thanks, everyone!
1502
« on: December 16, 2010, 01:28:30 pm »
I see. okay. I'm trying to work on it, but it's being a pain for some reason.
YOU ROCK
1503
« on: December 16, 2010, 01:17:33 pm »
Sure, just b_call 4FF6 out of an assembly program. Or, if you want, check bit 0, (iy+36h), and store if it's set or not. If it is set, reset it, and set it when you are done at the end.
Oh, sorry, I don't want to disable the hook. I want to use the Trace hook to disable tracing
Oh, if you want to disable tracing. I see. Try just setting the zero flag. It should prevent the trace by preventing it moving, blinking and being visible. I'll try this now, and see what I get.
Let me know if you don't even get the graph screen after setting the zero flag. That's my goal
Are you saying you just don't want the graphscreen to show up, or the graphs on the graphscreen?
Oh, I want to use the trace hook to "fool the calculator" into thinking that the user never pressed Trace in the first place. No graph screen, no graph, no cursor, no nothing.
1504
« on: December 16, 2010, 12:34:32 pm »
Use Doors CS; the Third-Party BASIC libraries offer both ExecHex via Celtic III (det(20,"CODE")) and ExecAsm via Omnicalc (real(33,"CODE")).
Thanks, Kerm! Although many calculators I'm aiming at won't have Doors CS
1505
« on: December 16, 2010, 12:32:36 pm »
Sure, just b_call 4FF6 out of an assembly program. Or, if you want, check bit 0, (iy+36h), and store if it's set or not. If it is set, reset it, and set it when you are done at the end.
Oh, sorry, I don't want to disable the hook. I want to use the Trace hook to disable tracing
Oh, if you want to disable tracing. I see. Try just setting the zero flag. It should prevent the trace by preventing it moving, blinking and being visible. I'll try this now, and see what I get.
Let me know if you don't even get the graph screen after setting the zero flag. That's my goal
1506
« on: December 16, 2010, 12:29:07 pm »
Sure, just b_call 4FF6 out of an assembly program. Or, if you want, check bit 0, (iy+36h), and store if it's set or not. If it is set, reset it, and set it when you are done at the end.
Oh, sorry, I don't want to disable the hook. I want to use the Trace hook to disable tracing
1507
« on: December 16, 2010, 12:25:01 pm »
If the trace hook is on, is there any code that will keep tracing from happening whenever Trace is using inside of a Ti-Basic program? I have a very important use for Trace that cannot make use of the parser hook
By the way, it's hook $9BA8
1508
« on: December 16, 2010, 11:38:46 am »
When used in a Ti-Basic program, how fast does something like Asm(FDCB368E) run in comparison with other lines in a Ti-Basic program? Meaning is it slowest? One of the slowest? Average speed? Fast?
1509
« on: December 16, 2010, 11:21:48 am »
The only thing, though: Using Asm() is a bit slow by itself, so maybe sometimes you will be best not disabling hooks altogether even when Correlation isn't needed. It will depend how many sub-programs do you have and how much RAM left.
I'm thinking something along the lines of Asm(FDCB368E). I'll have to check this out, I didn't think that it could be slow like this. I thought, though maybe I'm wrong, that using this would be a good idea if there were at least 6 lines of code that didn't need Correlation
1510
« on: December 16, 2010, 11:10:14 am »
Warcraft II was so popular that Blizzard almost made the mistake of releasing Starcraft as a very similar game.
1511
« on: December 15, 2010, 09:58:29 pm »
GOOD NEWS, EVERYBODY!
I had someone ask me at one point if Correlation would slow down Ti-Basic programs, to which I had to reply that all parser hooks slow down Ti-Basic programs, even if slightly.
But I forgot that one can use Asm( to run hex code. So I'll place guidance in the Correlation Manual to turn the parser hook off when not needed, and turn it on again when needed. When used properly, TI-BASIC TEXT-BASED GAMES WILL ALWAYS, ALWAYS RUN FASTER WITH CORRELATION THAN WITHOUT IT.
Fixed.
Ha ha ha
1512
« on: December 15, 2010, 09:08:43 pm »
GOOD NEWS!
I had someone ask me at one point if Correlation would slow down Ti-Basic programs, to which I had to reply that all parser hooks slow down Ti-Basic programs, even if slightly.
But I forgot that one can use Asm( to run hex code. So I'll place guidance in the Correlation Manual to turn the parser hook off when not needed, and turn it on again when needed. When used properly, TI-BASIC TEXT-BASED GAMES WILL ALWAYS, ALWAYS RUN FASTER WITH CORRELATION THAN WITHOUT IT.
1513
« on: December 15, 2010, 08:13:38 pm »
Okay, problem solved. Something called "temporary variables," which I never heard of until now.
1514
« on: December 15, 2010, 08:11:59 pm »
I actually had no idea there were other "yet another" topics until after I posted mine.
1515
« on: December 15, 2010, 07:34:32 pm »
YAAC = Yet Another Asteroid Clone. Probably the best version of "Asteroids" I ever played
Pages: 1 ... 99 100 [101] 102 103 ... 194
|