Jump to content




Multitasking


  • You cannot reply to this topic
2 replies to this topic

#1 DubbelSoftware

  • Members
  • 62 posts

Posted 10 March 2017 - 06:09 PM

Hello,

I am developing a Operating System, but i cannot make my own tab functions. Like newTab(program, tabname, id) or something.
I dont want the standard tabs. I need a taskbar at line 2. The first 3 spaces on that line, is for my home button. So the taskbar needs to be begin on 4,3. Can anyone explain me it how it works?

#2 Dave-ee Jones

  • Members
  • 456 posts
  • LocationVan Diemen's Land

Posted 10 March 2017 - 11:03 PM

Yeah. This is where things get complicated. I recently just learnt how to do something like this, and my advice to you is learn about coroutines and windows. Make test programs based on what other people have done and see how it works for yourself.

Unfortunately as I am on my phone I cannot get you some links atm :( but all you need to do is Google something like:

Computercraft multitasking

And look at what other people have done.


#3 Dog

  • Members
  • 1,179 posts
  • LocationEarth orbit

Posted 11 March 2017 - 01:49 AM

You'll probably want to read BB's Guide to Coroutines





3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users