Author Topic: KnightOS/Rogue Console - Eeems  (Read 13849 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55935
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: KnightOS/Rogue Console - Eeems
« Reply #30 on: October 28, 2010, 07:18:39 am »
What does event-driven means? I checked Wikipedia for it, but I still couldn't understand. What would be an example of event-drivenness for a calculator OS that the TI-OS doesn't do?
« Last Edit: October 28, 2010, 07:19:53 am by DJ Omnimaga »

Offline mapar007

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 550
  • Rating: +28/-5
  • The Great Mata Mata
    • View Profile
Re: KnightOS/Rogue Console - Eeems
« Reply #31 on: October 28, 2010, 07:39:45 am »
IIRC it's basically allowing programs to be 'notified' of certain events (e.g. file access or link port stuff). I don't know for sure.

SirCmpwn

  • Guest
Re: KnightOS/Rogue Console - Eeems
« Reply #32 on: October 28, 2010, 08:11:51 am »
The GUI will probably be event driven, but I'm not sure about other things.
Event driven means that certain things will happen to trigger 3rd party code to run, if I'm correctly interpreting LordConuptier.
« Last Edit: October 28, 2010, 08:12:41 am by SirCmpwn »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55935
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: KnightOS/Rogue Console - Eeems
« Reply #33 on: October 28, 2010, 09:42:55 am »
Ah so I guess it will be like cron jobs?

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: KnightOS/Rogue Console - Eeems
« Reply #34 on: October 28, 2010, 01:39:57 pm »
well, no, not exactly. It's just like Windows. when you click on a Textbox, what you type will appear in that textbox, and when you click somewhere else, that will be activated. It means code is run based on what the user does. In TiOS, when you have to type a name for something, you can just only type a name in the selected input, and you can't select another input. When you want to cancel, you can press clear, but that will bring you back into the main loop of TiOS'es code.

In short:
Event-driven: code is linked to actions of the user.
non-event-driven: code is just build up in simple loops and lusses.

conclusion: Event-driven is much more flexible!
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

SirCmpwn

  • Guest
Re: KnightOS/Rogue Console - Eeems
« Reply #35 on: October 28, 2010, 04:38:56 pm »
Yes, it will be event driven, in that case, at least with GUI.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55935
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: KnightOS/Rogue Console - Eeems
« Reply #36 on: October 28, 2010, 08:26:20 pm »
Ah ok I see. That seems better then :D

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: KnightOS/Rogue Console - Eeems
« Reply #37 on: October 29, 2010, 10:30:31 am »
That sounds great! So does that mean we can switch between parts of the OS without canceling each one?




Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6253
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: KnightOS/Rogue Console - Eeems
« Reply #38 on: October 29, 2010, 10:57:05 am »
Pretty much :)
/e

SirCmpwn

  • Guest
Re: KnightOS/Rogue Console - Eeems
« Reply #39 on: October 29, 2010, 04:38:52 pm »
It's already multithreaded - you can run 20 programs at the same time.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6253
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: KnightOS/Rogue Console - Eeems
« Reply #40 on: October 29, 2010, 04:57:30 pm »
Ah so you put a cap on the amount you can run :)
/e

SirCmpwn

  • Guest
Re: KnightOS/Rogue Console - Eeems
« Reply #41 on: October 29, 2010, 06:03:32 pm »
Yeah, there's only so much room in the thread table.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6253
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: KnightOS/Rogue Console - Eeems
« Reply #42 on: October 29, 2010, 06:07:22 pm »
Ah ok I thought so :)
well it's a good idea anyways :)
/e

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: KnightOS/Rogue Console - Eeems
« Reply #43 on: November 07, 2010, 08:55:29 pm »
Will one program running by itself be faster than 20, or do you just have free threads left idle?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55935
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: KnightOS/Rogue Console - Eeems
« Reply #44 on: November 07, 2010, 10:26:20 pm »
I think it will run faster, but I'm not sure. If I remember, programs that are in the background won't take as much processing power as the main one. Or only some stuff will be ran. SirCmpwn would need to confirm this, but you might be able to find some info in the other threads in the meantime.