Author Topic: KnightOS  (Read 186855 times)

0 Members and 1 Guest are viewing this topic.

SirCmpwn

  • Guest
Re: KnightOS
« Reply #90 on: August 02, 2010, 10:58:54 pm »
What do you mean?  Users won't have access to the RAM, if that's what you mean.  That's just stupid, and TI should have never done it.  Put valuable user data in a place that is wiped everytime the calculator crashes or the power is lost?
* SirCmpwn smacks TI

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: KnightOS
« Reply #91 on: August 02, 2010, 11:00:41 pm »
I do believe so
/e

SirCmpwn

  • Guest
Re: KnightOS
« Reply #92 on: August 02, 2010, 11:02:33 pm »
O_o you believe what?

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: KnightOS
« Reply #93 on: August 02, 2010, 11:04:19 pm »
What do you mean?  Users won't have access to the RAM, if that's what you mean.  That's just stupid, and TI should have never done it.  Put valuable user data in a place that is wiped everytime the calculator crashes or the power is lost?
* SirCmpwn smacks TI

Okay, question answered.  What I meant was, people have 24 KB RAM on the normal Ti-83+, so I didn't know if there would be more than that in Knight OS

SirCmpwn

  • Guest
Re: KnightOS
« Reply #94 on: August 02, 2010, 11:05:08 pm »
Oh.  Well, programs will have as much RAM as the calculator can provide, minus a few hundred for the OS.

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: KnightOS
« Reply #95 on: August 02, 2010, 11:07:31 pm »
Oh.  Well, programs will have as much RAM as the calculator can provide, minus a few hundred for the OS.

So, approximately how much is that going to be??

SirCmpwn

  • Guest
Re: KnightOS
« Reply #96 on: August 02, 2010, 11:08:03 pm »
I'm not sure.  If programs call RequestFullAccess, then they get *all* of the RAM.

_player1537

  • Guest
Re: KnightOS
« Reply #97 on: August 02, 2010, 11:11:03 pm »
What about maybe a special version with the extra ram, the 84+/se's that is.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: KnightOS
« Reply #98 on: August 02, 2010, 11:11:17 pm »
/e

SirCmpwn

  • Guest
Re: KnightOS
« Reply #99 on: August 03, 2010, 09:27:56 am »
Update
Program loading now works almost completely, I'm going to work on the tasker later today, after band camp.

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: KnightOS
« Reply #100 on: August 03, 2010, 10:13:08 am »
Update
Program loading now works almost completely, I'm going to work on the tasker later today, after band camp.

Cool!  This project is going quite well!

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: KnightOS
« Reply #101 on: August 04, 2010, 01:54:01 am »
Where are programs copied to?

SirCmpwn

  • Guest
Re: KnightOS
« Reply #102 on: August 04, 2010, 09:25:51 am »
RAM
You can use SMC, but not writeback.

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 #103 on: August 04, 2010, 08:42:03 pm »
Awesome to see progress :)
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

SirCmpwn

  • Guest
Re: KnightOS
« Reply #104 on: August 04, 2010, 11:39:11 pm »
Update
KnightOS made a major stride today - relative address loading.  At runtime, a program has no idea where it will end up in RAM, and therefore cannot correctly load relative pointers, or perform relative jumps or calls.  I just implemented kld, which has the same syntax as ld, but it calls a system routine that adds the program's RAM offset to the specified address, and uses SMC to modify the executing code so that it only needs to run the system routine once.  It's pretty awesome.