Author Topic: KnightOS  (Read 188646 times)

0 Members and 3 Guests are viewing this topic.

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
« Reply #225 on: September 23, 2010, 07:35:58 pm »
Yay! Folders! An informal feature request: info line like with MirageOS and Ion (when you get there).




SirCmpwn

  • Guest
Re: KnightOS
« Reply #226 on: September 24, 2010, 08:49:17 am »
Like a file description?  I guess I could include it in the file header, and show it in the properties.

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
« Reply #227 on: September 24, 2010, 11:23:00 am »
Yep, that.




Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: KnightOS
« Reply #228 on: September 25, 2010, 09:58:14 am »
Sounds cool!  Good luck Sir. ;D

SirCmpwn

  • Guest
Re: KnightOS
« Reply #229 on: October 14, 2010, 06:09:02 pm »
Update
lcall and LoadLibrary now work, allowing you to load libraries into RAM and call functions exposed within.  LoadLibrary accepts the same arguments as ExecProgram, and lcall's syntax is lcall ID, Function.  Each library has a two byte ID, and I will set up a library registration service, so that IDs aren't re-used.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: KnightOS
« Reply #230 on: October 14, 2010, 06:12:13 pm »
Great!  Good luck on future progress. :)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: KnightOS
« Reply #231 on: October 14, 2010, 06:31:11 pm »
Sounds useful :) what if the library is already loaded by another program? Does it check to make sure the library isn't loaded?
/e

Offline matthias1992

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 408
  • Rating: +33/-5
    • View Profile
Re: KnightOS
« Reply #232 on: October 14, 2010, 06:54:40 pm »
Sir this is great!
MASM xxxxxxxxxx aborted | SADce ====:::::: 40% -Halted until further notice| XAOS =====::::: 50% -Units done| SKYBOX2D engine ========== 100% -Pre-alpha done. Need to  document it and extend |

~Those who dream by day are cognizant of much more than those who dream by night only. -Sir Edgar Allen Poe-

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: KnightOS
« Reply #233 on: October 14, 2010, 10:18:10 pm »
Nice update :D
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: KnightOS
« Reply #234 on: October 14, 2010, 10:24:17 pm »
Sounds useful :) what if the library is already loaded by another program? Does it check to make sure the library isn't loaded?
^that

And also, what if you have more than 2^16 libraries.  That is only 65536 libraries.  And another thing, what about a test library?  What memory space can be used for libraries? Is it allocated by the kernel or what?

EDIT: My post count seems to not be found ;-) 404, lolwut.
« Last Edit: October 14, 2010, 10:24:58 pm by graphmastur »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: KnightOS
« Reply #235 on: October 14, 2010, 10:41:51 pm »
Lol graphmastur, nice :P
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

SirCmpwn

  • Guest
Re: KnightOS
« Reply #236 on: October 15, 2010, 10:57:05 am »
Sounds useful :) what if the library is already loaded by another program? Does it check to make sure the library isn't loaded?
^that

And also, what if you have more than 2^16 libraries.  That is only 65536 libraries.  And another thing, what about a test library?  What memory space can be used for libraries? Is it allocated by the kernel or what?
Eeems, it checks that now :)
As for only 65,536 libraries, umm, I'm just not going to respond to that :P
Test libraries can use FFFF, which is specifically designated a test ID.  Memory space is allocated for libraries the same as programs, and is allocated by the kernel.  There is room in the libtable for up to 20 libraries loaded at once, and KOS will probably have 3 libraries forcibly running.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: KnightOS
« Reply #237 on: October 15, 2010, 11:28:23 am »
Oh I forgot if this was asked, but will assembly programs and other stuff that is not from an interpreted language be limited to 8811 bytes of executable code like with the TI-OS or something like that or will we practically have almost the entire RAM besides some specific RAM areas used as screen buffers?
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

SirCmpwn

  • Guest
Re: KnightOS
« Reply #238 on: October 15, 2010, 11:40:56 am »
Programs will have most of RAM, plus extra pages if I can work it out.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: KnightOS
« Reply #239 on: October 15, 2010, 11:47:39 am »
Sweet, can't wait to work with this later on :)
/e