|
Post by feamsr00 on Mar 13, 2002 21:03:05 GMT -5
This is a plan(in asm, or C) that a friend and I have been sitting on for a while. If there is good reason to continue or not to, speak up!
---------------------------------------------------------------- PS for all those concerened, THIS THREAD IS NOT DEAD! it will never be untill i at least have a working beta.
|
|
|
Post by ticalcman on Mar 14, 2002 10:07:06 GMT -5
This refers to tibasic multitasking...
Despite the fact that I hacked the location in ram that the calculator keeps track of the TI-BASIC program that is running, I have to say no. Most TI-BASIC programs use so many variables, and so many different graph settings, it wouldn't work. (if u could do it, u'd have to use the archive, and that wouldn't be good at all: it'd slow down the calculator and wear out the flash rom more quickly)
As for asm multi-tasking, many asm programs already have it buit-in. Some programs have teacher keys to immediately quit the program, and then u can start off just where u left off the next time.
|
|
|
Post by feamsr00 on Mar 14, 2002 13:01:20 GMT -5
Ummm via some creative state saving. Possible! But this refers to a rather complicated model for asm.
|
|
|
Post by Jbirk on Mar 16, 2002 18:34:22 GMT -5
Yes, multitasking is definatly doable! Micheal Vincent has really led the way in this field by createing TSE the only assembly system shell I know of that can switch tasks. It stands for "Task Switching Shell"
I guess it isn't really multitasking because all the programs can't run and do calculation at the same time; but, being able to switch programs and go back to other programs without terminating them is pretty neat, and very usefull.
I think that you should continue your reasearch, and come up with some form of basic multitasking. This will be attempted eventually, I can promise you that.
|
|
|
Post by feamsr00 on Mar 16, 2002 23:26:36 GMT -5
Thanks for the encouragement!
This is like a "on-hold" system for progams(yes, just like an opperator) but we wondered if we could some how move normal execution for any given asm prog and put it in a shell managed interupt system. But we dont know how to control interupts(yet!).
|
|
|
Post by Jbirk on Mar 17, 2002 2:59:04 GMT -5
Save a screenshot, and use the stack, and the stack pointer (register SP).
Basically, to switch task you would save a screen shot, save the registers to the stack somewhere, get the program you want to be on top on top in the stack, set the ram address.
|
|
|
Post by feamsr00 on Mar 18, 2002 0:43:40 GMT -5
Ahh but to keep it running?
|
|
|
Post by Chris on Mar 18, 2002 17:31:33 GMT -5
first off, i'd like to state that i'm not that good in asm, so most of what i say might sound pretty stupid, but anyways...
make it a flash app, that emulates the proccessor, and will simulate all the screens, then recall them when the program is maxized, make it keep a separate stack, registers, ect. for each program, and then have it go through the programs one at a time and execute 1 line of code (or two if it's a cp, or anythingelse along those lines) then start the proccess all over again
|
|
|
Post by Jbirk on Mar 30, 2002 6:19:32 GMT -5
Chris, that would be very slow
Other dude, that task switching idea would work as multitasking if you go through each program individally all the time, in constant loops. Of cource, you wouldn't want to recall all the pics or activate the other programs keyboard interupt, and all the progams running together would have to give up after recieving their time share so that the next could get its turn.
|
|
|
Post by feamsr00 on Apr 2, 2002 2:47:06 GMT -5
That is co-operative multitasking. There is only only that(what 3.1 used to use), and pre-emptive(what 9x and up uses, and what I think is too advanced for any TI calculator)
|
|
|
Post by Jbirk on Apr 3, 2002 4:05:16 GMT -5
Well, you could set up the calc to run in im 2 thus the Z80180 woudl call ~200 interrupts to a shell of your choice between asm instructions...Preemptive multitasking. But the asm code to make it work would be hudge.
|
|
|
Post by feamsr00 on Apr 8, 2002 2:12:11 GMT -5
leme rephrase that, too advanced for anyone I know...
|
|
|
Post by Chris on Apr 8, 2002 6:48:59 GMT -5
Yes, multitasking is definatly doable! Micheal Vincent has really led the way in this field by createing TSE the only assembly system shell I know of that can switch tasks. It stands for "Task Switching Shell" I guess it isn't really multitasking because all the programs can't run and do calculation at the same time; but, being able to switch programs and go back to other programs without terminating them is pretty neat, and very usefull. I think that you should continue your reasearch, and come up with some form of basic multitasking. This will be attempted eventually, I can promise you that. just to let u know, TSE stands for task switching environment
|
|
|
Post by feamsr00 on Apr 10, 2002 13:44:09 GMT -5
Why did TSE never catch on?
|
|
|
Post by Chris on Apr 10, 2002 15:23:32 GMT -5
here's a summary (btw this is gonna sound VERY messed up) nobody used it cause there wasn't any games, and there wasn't any games, because nobody used it
|
|