Author Topic: jBasic OS  (Read 49352 times)

0 Members and 3 Guests are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic OS
« Reply #60 on: June 19, 2010, 11:01:53 am »
LOL XD

I guess this is the side effect of being programmers ;D

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #61 on: June 19, 2010, 11:11:39 am »
yeah x.x
well...it's not the first time even actually x.x
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic OS
« Reply #62 on: June 19, 2010, 11:24:04 am »
Well... your post made me start a thread in Randomness for sure, though. :P

I hope you don't accidentally use ClrHome to clear the browser window at least :P

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #63 on: June 19, 2010, 06:26:35 pm »
lol, no I just type in clear for that :P j/k
so, anybody want to start developing apps, for this? I can work up some documentation of you want :)
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic OS
« Reply #64 on: June 19, 2010, 06:28:23 pm »
mhmm I'M not too sure yet since I have an hard time learning stuff lately x.x. Maybe later after my vacations when my mind is cleaner or something.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #65 on: June 19, 2010, 06:38:49 pm »
That would be cool :)
yeah I should probably jump on that documentation, as well as make things easier for you to interface with stuff... I should also include some sort of thing that allows you to run certain commands on the quitting of a window,
/e

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #66 on: June 20, 2010, 09:43:57 pm »
All that I've changed in this version is the addition of the file commands file_cd() file_create() and file_delete(). All of which can only be used by developers right now (unless you use the command app). These commands work on both Windows and Linux :)
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic OS
« Reply #67 on: June 20, 2010, 10:00:01 pm »
aaah ok cool ^^

Nice to see some progress

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #68 on: June 20, 2010, 10:04:39 pm »
Yeah I'm planning to make enough for Kerm Martian to make a file browser :)
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic OS
« Reply #69 on: June 20, 2010, 10:05:14 pm »
oooh he wants to do that? It would be nice ^^

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #70 on: June 20, 2010, 10:14:15 pm »
Yeah I asked him to :)
/e

_player1537

  • Guest
Re: jBasic OS
« Reply #71 on: June 20, 2010, 11:12:06 pm »
ooh this is awesome!  How will I develop for this?  (didn't read the thread fully)  the only thing I found wierd was when I tried to resize windows, it freaks out sometimes and doesn't recognize that I let go of the mouse button.  Other than that, good job!  Can't wait to see more progress

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #72 on: June 20, 2010, 11:42:34 pm »
Thanks! To develop for this you need a moderate understanding of Javascript. I have commands for interfacing with the GUI already built in so it shouldn't be too hard to make wibdows and such.
Apps are all in the apps folder and have to be in this structure
Code: [Select]
<appname>
|- js/
|- css/
|- img/
|- other/
|- <appname>.js
|- icon.png (not implmented yet)
your <appname>.js must have a functuon named <appname>_open() which opens the app and all the functions must be prefixed with <appname>_ so multiple apps don't overwrite other apps functions. There are lots of built in functions which i should document for you, but i havent taken the time yet. If anybody wants to port over libraries that would be nice.
The resize error is due to the content of the window, i have an idea on how to fix it though, but I havent imolemented it yet.
/e

_player1537

  • Guest
Re: jBasic OS
« Reply #73 on: June 20, 2010, 11:47:43 pm »
ok, I went through the source of all the apps.  I understand the main thing on how to make the windows...its the other stuff I get lost at.  I don't really understand JS sadly...so I might be slow at understanding that, but the basic concept I am getting.  I might go and look for a JS tutorial to see if I get it any better, but idk I might finally get it if I see working code in action with JS.  Looking forward to a tutorial for someone (almost) completely programming illiterate ;)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #74 on: June 21, 2010, 12:01:18 am »
ah ok, well some good tutorials would be on W3 Schools and for firefox specific stuff which you will probably want to know if you want to do some cooler stuff with the filesystem go to Mozilla MDC. For making apps you will want to play around a lot will accessing and changing stuff with javascript.
Hopefully I can get some documentation done later this week (after exams). For your first app you might want to work on something simple, like maybe a popup/alert invoker (takes the text you input and alerts with it). Then you might want to go farther, and maybe even play around with tasks and stuff.
/e