Doors CS [Cur: 5.8 Beta]
Moderator: MaxCoderz Staff
- KermMartian
- Calc Wizard
- Posts: 549
- Joined: Tue 05 Jul, 2005 11:28 pm
- Contact:
They've been going slightly faster lately for me, dunno why.
Necro @ Cemetech wrote:while it is checking for input with the mouse, can other things run "in the background"? Or in other words, will it support a interupt based mouse execution so that things like RTS which would need to run troop AI while the user inputs and when he doesnt also?
@Kevin: October. When it does, I'm going to switch to 818hosting.com - unlimited storage & bandwidth all for $6.95 per month. I've gone to some sites hosted on it and they seem quite fast.Kerm Martian @ Cemetech wrote:I hadn't considered that yet, but it could certainly be done. I can just make another GUI Stack entry type that is a pointer to a piece of code, hopefully not to big so it wouldn't bog the mouse down, to do anything that needed doing while the GUI was working.
Ehm.. shouldn't that be the other way around?Kerm Martian @ Cemetech wrote:I hadn't considered that yet, but it could certainly be done. I can just make another GUI Stack entry type that is a pointer to a piece of code, hopefully not to big so it wouldn't bog the mouse down, to do anything that needed doing while the GUI was working.
You should call an interrupt that handles the mouse, main execution should stay with the program. This because main execution = 95% of CPU time, interrupt = 5%. You're not going to tell me that you need 95% of CPU time just to draw a mouse cursor (and are still afraid it gets bogged down), are you..?
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
- KermMartian
- Calc Wizard
- Posts: 549
- Joined: Tue 05 Jul, 2005 11:28 pm
- Contact:
I was proposing having it not be an interrupt. And yes, of course the mouse uses much much less time. It simply checks direct input for any keys, and returns to the repetitive routine again. But it won't be an interrupt probably; a combo CALCnet2 (if it happens) and interrupt tasker if I make one will be using the interrupts.
It means that he's planning to use the interrupts to check for a data transfer from the "network", and he wants to attempt to write some form of task scedular.
I don't see it happening, as usual, but I'm curious to see how far he'll get untill he realises that neither are neccessary, and puts the mouse thingy in an interrupt
I don't see it happening, as usual, but I'm curious to see how far he'll get untill he realises that neither are neccessary, and puts the mouse thingy in an interrupt
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
- KermMartian
- Calc Wizard
- Posts: 549
- Joined: Tue 05 Jul, 2005 11:28 pm
- Contact:
- KermMartian
- Calc Wizard
- Posts: 549
- Joined: Tue 05 Jul, 2005 11:28 pm
- Contact:
Where are you going to put all that? You have built in routines, that need space + a pointer table, you want an interrupt + it's required jump table, you want data buffers for networking... Is there any saferam left for developers..?
Nah, just kidding. I just think that you're almost always planning things beyond what's realisticly possible, what's useful, and what you are capable of coding.
Well, I've been waiting for five yearsKermMartian wrote:lol...you just can't wait for me to screw up, can you?
Nah, just kidding. I just think that you're almost always planning things beyond what's realisticly possible, what's useful, and what you are capable of coding.
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
- tr1p1ea
- Maxcoderz Staff
- Posts: 4141
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: I cant seem to get out of this cryogenic chamber!
- Contact:
I do remember there being some excitment because someone thought that the lower byte wasnt as random. But further testing proved that no to be the case. I think Sigma was doing some tests and it sparked a big discussion on the old boards.
You could use an interrupt to run your mouse and perhaps some other small stuff (timers, battery checks every now and then etc) ... but i dont know if it is absolutely necessary.
Either way plans are only plans, im sure lots of things will change as they tend to do once you begin the actually implementation.
You could use an interrupt to run your mouse and perhaps some other small stuff (timers, battery checks every now and then etc) ... but i dont know if it is absolutely necessary.
Either way plans are only plans, im sure lots of things will change as they tend to do once you begin the actually implementation.