MaxCoderz

for your 1 bit pleasure!

All times are UTC




Post new topic Reply to topic  [ 25 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Using "real(" Functions
PostPosted: Wed 11 Jul, 2007 10:58 pm 
Offline
Regular Member
User avatar

Joined: Wed 11 Jul, 2007 10:42 pm
Posts: 133
Location: Behind You
:cry: Why, oh why did you have to make xlib use real(00 through real(30 ?
Whenever I run something that uses xlib, first I have to disable both Omnicalc and Symbolic, which makes Pretty Print just about worthless. I love those apps since I only do Basic programming. Without Omnicalc I can't restore my ram if my calc crashes (that happens alot b/c of all the testing I do on it :( ). I am forced to use your old buggy version of xlib that was an asm program, so I am missing a bunch of features. Is it not possible to change the real( function to somthing else :?:


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu 12 Jul, 2007 12:48 am 
Offline
Extreme Poster

Joined: Tue 21 Dec, 2004 6:49 am
Posts: 496
Location: WI
It's not that it's the real functions, it's that it's a parser hook. And the ram recovery still works fine for me. Someone is working on a hook manager that should make all that work better soon.

_________________
Shaun


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu 12 Jul, 2007 1:57 am 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 4094
Location: I cant seem to get out of this cryogenic chamber!
Indeed it has nothing to do with the real( token, its the parser hook. I could change it to anything, like int( for example and it would still conflict with omnicalc.

Andy_J is making a hook manager for SoC, this will enable a range of hooks to be run concurrently.

_________________
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu 12 Jul, 2007 2:09 am 
Offline
Calc Master

Joined: Mon 20 Dec, 2004 10:01 pm
Posts: 1110
Location: In the state of Roo Fearing
Except it won't work if you have apps that use the same numbers in real( -- one of you is going to have to change your numbers, which would break all preexisting programs using it. =\

How am I supposed to know if you mean real(10 from Omnicalc or from xLIB? I just can't do anything about something like that, sorry. :(

_________________
ImageImage
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu 12 Jul, 2007 5:49 am 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 4094
Location: I cant seem to get out of this cryogenic chamber!
Indeed that is a problem. I call dibs on not changing!

_________________
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu 12 Jul, 2007 3:30 pm 
Offline
Extreme Poster

Joined: Tue 21 Dec, 2004 6:49 am
Posts: 496
Location: WI
I think you and Michael should have a fight to the death.

_________________
Shaun


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu 12 Jul, 2007 5:47 pm 
Offline
Regular Member
User avatar

Joined: Wed 11 Jul, 2007 10:42 pm
Posts: 133
Location: Behind You
What if you and Michael found a way for the apps to chain like symbolic and omnicalc (which I know is just about imposible :x ) do, and then made a special version that used different tokens. That way, the all previous programs would not have to change their format.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu 12 Jul, 2007 11:49 pm 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 4094
Location: I cant seem to get out of this cryogenic chamber!
I think backwards compatibility is more useful to people than breaking it just for omnicalc. I might be able to make a 'run omnicalc function' function though.

_________________
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri 13 Jul, 2007 10:16 pm 
Offline
Regular Member
User avatar

Joined: Wed 11 Jul, 2007 10:42 pm
Posts: 133
Location: Behind You
tr1p1ea wrote:
I think backwards compatibility is more useful to people than breaking it just for omnicalc.

But Omnicalc and Symbolic are the only apps that seem to have a big problem with it :? . Besides, the only people who need it to run at the same time are programmers.
tr1plea wrote:
I might be able to make a 'run omnicalc function' function though.

I assume this would still disable symbolic's functions, as well as all of Omnicalc's non-programming options :? . Still, that would be really nice :D !


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat 14 Jul, 2007 2:13 am 
Offline
Calc Master

Joined: Mon 20 Dec, 2004 10:01 pm
Posts: 1110
Location: In the state of Roo Fearing
There's no reason for all of Omnicalc's other options to be forcibly disabled. Install Omnicalc, then install xLIB, and the only thing that shouldn't work in Omnicalc is its parser hook. Its key hooks and memory protection and all that jazz should still work.

_________________
ImageImage
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat 14 Jul, 2007 5:59 pm 
Offline
Regular Member
User avatar

Joined: Wed 11 Jul, 2007 10:42 pm
Posts: 133
Location: Behind You
Andy_J wrote:
There's no reason for all of Omnicalc's other options to be forcibly disabled.

Hmm.. :? .
It's actually been awhile since I even tried installing both, and that was when I used TI-OS v2.41, which had about 3 million bugs, so the ram clears and all that other crap may have just been TI's fault :lol: . Also, I used your previous version of xlib. Would that make a difference :?:


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat 14 Jul, 2007 6:03 pm 
Offline
Regular Member
User avatar

Joined: Wed 11 Jul, 2007 10:42 pm
Posts: 133
Location: Behind You
Just tried it with the new version and it works :)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 16 Jul, 2007 7:10 am 
Offline
New Member

Joined: Mon 16 Jul, 2007 7:02 am
Posts: 30
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 hook, it directly calls Symbolic's functions (I think), so both Symbolic and Omnicalc would have to be altered.

So, I think the one solution is for xLIB to have an option that switches between using the old numbers and using a new set of numbers compatible with Omnicalc and Symbolic. Then you'd choose whether you're interested in playing existing xLIB games or if you're interested in the new, compatible functions.

Another solution is for xLIB to determine whether the user wants to use it's function or Symbolic's function based on the number and type of parameters (for functions that have different parameters), and then passes on to Symbolic if necessary.

I'd say the first version is simpler to implement, but the second version could potentially be more compatible overall. If my post is hard to understand or is inaccurate, please let me know.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 16 Jul, 2007 3:32 pm 
Offline
Extreme Poster

Joined: Tue 21 Dec, 2004 6:49 am
Posts: 496
Location: WI
magicdanw wrote:
If I recall, xLIB did chain properly with Omnicalc, and the problem was just that it used the same function numbers as Symbolic.

tr1p1ea wrote:
Indeed it has nothing to do with the real( token, its the parser hook. I could change it to anything, like int( for example and it would still conflict with omnicalc.

When tr1p says it's so, it's so.

_________________
Shaun


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 16 Jul, 2007 6:45 pm 
Offline
Calc King

Joined: Sat 05 Aug, 2006 7:22 am
Posts: 1513
Merthsoft has a point, and iirc there wasn't a very much spare room in xLIB so uber cool omnicalc-detection might not even fit..
The hook chaining project is interesting though, would xLIB still conflict with omnicalc when the hook chainer is used? (where is that project by the way?)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB ® Forum Software © phpBB Group | DVGFX2 by: Matt