Search found 30 matches
- Mon 17 Sep, 2007 6:05 am
- Forum: xLIB
- Topic: Next version of xLIB - features?
- Replies: 215
- Views: 309521
Appvar is not good, because searching for an appvar each time will slow things down and defeat the purpose. I know, because my app CalcUtil used to look up an appvar each time the parser hook fired, and it slowed execution speed to about 1/3 normal. But three or four bytes of ram, maybe at the begin...
- Mon 17 Sep, 2007 2:42 am
- Forum: xLIB
- Topic: Next version of xLIB - features?
- Replies: 215
- Views: 309521
- Sun 16 Sep, 2007 1:45 am
- Forum: xLIB
- Topic: Next version of xLIB - features?
- Replies: 215
- Views: 309521
No, I'm saying that I don't like the idea of an entire function-recalling system. It's overly complicated, it would slow down command execution, and you've pointed out a logic flaw that could lead to problems (though I think that the stack would overflow and a ram clear would occur before batteries ...
- Sat 15 Sep, 2007 9:44 pm
- Forum: xLIB
- Topic: Next version of xLIB - features?
- Replies: 215
- Views: 309521
A recalled command, that lets you repeat any possible function, would be slower than the command originally was. However, a command to recall one particular function, like real(50 that calls real(30,aa,bb,cc,dd,ee,ff, would be muhc faster, if done properly (shouldn't be too hard to do). I'm not sugg...
- Sat 15 Sep, 2007 7:29 am
- Forum: xLIB
- Topic: Next version of xLIB - features?
- Replies: 215
- Views: 309521
- Fri 14 Sep, 2007 8:28 pm
- Forum: xLIB
- Topic: Next version of xLIB - features?
- Replies: 215
- Views: 309521
Oh, sorry. I guess I didn't read the guide as closely as I should have. Still, how many arguments are needed for the xLIB rclpic command? I maintain that it is still faster for a function to be called with one argument than 8, it is still faster for an assembly program to read a byte out of ram than...
- Fri 14 Sep, 2007 1:47 am
- Forum: xLIB
- Topic: Next version of xLIB - features?
- Replies: 215
- Views: 309521
Hmm. Well, there are something like 255 possible strings on the calculator. What if there were an assembly program that could store to and retrieve from each string, using a variable to specify which string you wanted. Then, you could use Strings 1 through 0 (10) as normal strings, and Strings 11 th...
- Fri 14 Sep, 2007 1:20 am
- Forum: xLIB
- Topic: Next version of xLIB - features?
- Replies: 215
- Views: 309521
Well, that would be more difficult that what I suggested. This would involve dynamically creating some way of looking up functions and parameters, which might even be slower than originally, I'm not sure. At any rate the data would probably have to be written to an appvar for storage, and accessing ...
- Thu 13 Sep, 2007 11:12 pm
- Forum: xLIB
- Topic: Next version of xLIB - features?
- Replies: 215
- Views: 309521
- Wed 12 Sep, 2007 7:05 pm
- Forum: xLIB
- Topic: Next version of xLIB - features?
- Replies: 215
- Views: 309521
I've got an idea for a feature. It might not make sense, since I haven't done any grayscale programs, but I think it might make sense. Every other line, you need to call a function to cycle the grayscale bits. What if there was a function to load a list of bits to cycle, or a list of functions to ru...
- Thu 30 Aug, 2007 11:45 pm
- Forum: Off Topic
- Topic: What programming language do you dream most in?
- Replies: 19
- Views: 20844
I once had a dream in which Rube from the TV show Dead Like Me was teaching a class. I and the other characters from DLM were in the class. The class was about how, since (according to Rube in the dream) the government mostly used computers based on z80 cpus, and z80s have poor security features, it...
- Tue 17 Jul, 2007 5:10 am
- Forum: xLIB
- Topic: Using "real(" Functions
- Replies: 24
- Views: 52624
Well, that's once example of how the hooks can interact improperly if they all act on the same input. However, I guess it won't be such a big deal if users are smart enough to not use completely conflicting apps. Also, sorry for the post about your project. I just realized what happened. I was reply...
- Tue 17 Jul, 2007 4:09 am
- Forum: xLIB
- Topic: Using "real(" Functions
- Replies: 24
- Views: 52624
Sorry if I didn't make myself clear, but that's what I meant. When I said it calls each hook, I meant it calls each application's ________ hook. It calls each application through the hook, passing the same data in the registers, simulating the OS's call, so that way each app has a chance to do what ...
- Tue 17 Jul, 2007 2:46 am
- Forum: xLIB
- Topic: Using "real(" Functions
- Replies: 24
- Views: 52624
I don't think much information has been released about the hook manager yet, but when it is released it will probably be at Detached Solutions. I'd assume that it will call each hook in succession with the same keypress or function or whatever, so it should let xLIB work with Omnicalc. Of course, xL...
- Mon 16 Jul, 2007 7:10 am
- Forum: xLIB
- Topic: Using "real(" Functions
- Replies: 24
- Views: 52624
If I recall, xLIB did chain properly with Omnicalc, and the problem was just that it used the same function numbers as Symbolic. Someone could change the numbers that Symbolic uses, but the problem is that Omnicalc doesn't properly chain with Symbolic. Instead of passing the numbers to it's parser h...