Author Topic: KnightOS  (Read 185974 times)

0 Members and 1 Guest are viewing this topic.

SirCmpwn

  • Guest
Re: KnightOS
« Reply #900 on: June 05, 2011, 10:43:41 pm »
Quick shout out to Runer112, who helped quite a bit with memory management.  Thanks!

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: KnightOS
« Reply #901 on: June 05, 2011, 10:44:52 pm »
No problem. If you need help with any other routines, just ask! :)

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 #902 on: June 08, 2011, 02:12:09 am »
Cool to hear :)
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: KnightOS
« Reply #903 on: June 19, 2011, 03:46:53 pm »
In preparation for the release of boot code 1.03, I was looking through the OS receiving code of the boot code. What I noticed, (I'm not claiming this is groundbreaking), is that the OS header and the signature are both stored at the start of page $3A/$7A.

Since knightOS uses the whole memory for variable storage, I was wondering, what have you done to protect against this? Because if someone receives an update to knightOS through the boot code, $4000-$41FF of page $3A/$7A will get destroyed.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

SirCmpwn

  • Guest
Re: KnightOS
« Reply #904 on: June 19, 2011, 06:36:36 pm »
Thats a great question.  Perhaps the installer could detect the boot code version and modify the kernel to leave those out of the  filesystem.

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: KnightOS
« Reply #905 on: June 19, 2011, 07:05:11 pm »
Yeah, you'll probably have to do something like that. And a quick little check shows that this also happens on the 83+BE on page $1A. So essentially, on every calculator, you can't use the first $200 bytes of the last $_A page.

I didn't know about this so I figured you didn't either. And it's a good thing I told you or else you would have some weird problems later on. :)
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

SirCmpwn

  • Guest
Re: KnightOS
« Reply #906 on: June 19, 2011, 08:04:53 pm »
Thanks!

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: KnightOS
« Reply #907 on: June 19, 2011, 10:12:06 pm »
Are we sure this is only boot code 1.03 and the BE version?  Maybe have code to check for some specific signature of the area in question.

Offline KnightOS

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 11
  • Rating: +12/-5
  • User is currently banned
    • View Profile
    • KnightOS
Re: KnightOS
« Reply #908 on: October 10, 2011, 12:35:04 pm »
The thread list program has been added and integrated into libgui so that users can switch between active threads.  Several other bug fixes have been added to improve overall stability of the system.  Here's a screenshot of the latest version, including task management:


The latest version is available for download here:
TI-73
TI-83+
TI-83+ SE
TI-84+
TI-84+ SE

Note that these may be unstable and cause crashes.  In the event that your calculator becomes irrevocably crashed, you can fix it by removing a single battery, holding down the DEL key, and replacing the battery.  This will enable you to send a new OS, such as the official TI OS.  Be aware that installing any of these OSes has a high risk of deleting items in your archive, should you choose to re-install TI OS.  It is highly unlikely that your calculator will be damaged to the point that it cannot be recovered, verging on the point of impossible.  Regardless, I am not responsible for damage incurred.
KnightOS is a 3rd party operating system supporting the TI-73, TI-83+, TI-83+ SE, TI-84+, and TI-84+ SE calculators.
Updates
Discussion
Source Code
Documentation

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
« Reply #909 on: October 10, 2011, 01:04:36 pm »
Wow, that looks a lot farther along than I thought KnightOS was at this point! Is there a way to program inside KnightOS yet, like with mosaic, or even a form of basic? :P

Offline KnightOS

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 11
  • Rating: +12/-5
  • User is currently banned
    • View Profile
    • KnightOS
Re: KnightOS
« Reply #910 on: October 10, 2011, 01:06:58 pm »
Wow, that looks a lot farther along than I thought KnightOS was at this point! Is there a way to program inside KnightOS yet, like with mosaic, or even a form of basic? :P
No.  The kernel presently only supports read-only access to Knight File System (though KFS is fully implemented for read access), which means you would be unable to save any programs you wrote.  More important features include file system writing, generic text editing, file explorer, and USB connectivity.
Eventually, on-calc assembly support is planned, in addition to KBasic and TI-Basic.  A compatability layer called Compat8x is also planned to enable users to run a limited number of TI OS assembly programs within KnightOS.
« Last Edit: October 10, 2011, 01:12:57 pm by KnightOS »
KnightOS is a 3rd party operating system supporting the TI-73, TI-83+, TI-83+ SE, TI-84+, and TI-84+ SE calculators.
Updates
Discussion
Source Code
Documentation

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: KnightOS
« Reply #911 on: October 23, 2011, 10:25:02 pm »
All updates regarding Knight OS can now be found on http://knightos.sf.net

SirC turned it into a blog for KOS so yeah enjoy the not dead project that KOS is ^_^

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 #912 on: October 23, 2011, 10:28:13 pm »
Ah ok thanks for the link. Hopefully it continues.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: KnightOS
« Reply #913 on: October 23, 2011, 11:43:17 pm »
Yeah I saw on Twitter :P

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: KnightOS
« Reply #914 on: June 04, 2014, 02:27:31 pm »
Okay so that becomes the official update thread again.

Lately, many things were added, including :

  • A nightly build server has been set up, in cohesion with Git thanks to Jenkins (and thanks to Streetwalrus for the setup and Sorunome for the server). Downloading KnightOS from here will always give you the latest version : http://www.knightos.org/download/
  • Filesystem routines have been added and updated : flush, listDirectory, closeStream, advanceBlock, openStreamWrite, renameFile (thanks to Vijfhoek), writeStream.
  • Unsigned unrolled multiplication has been added (the ones from z80 bits, thanks to Vijfhoek), speeding several programs up.
  • An issue with loadLibrary has been fixed, as well as killCurrentThread and listDirectory.
  • Scrolling (down only for now) has been implemented in textview (the KnightOS text viewer).
  • Nested directories support has been added to fileman (the KnightOS file manager).
  • A KEXC opening sequence has been added to corelib, thanks to Vijfhoek. Meaning, the default system library can now open files, see if it's an executable and launch it if that's the case using an only routine "open". We hope to make it a general-purpose routine for all files and assign a number of extensions/actions to it.
  • I added several vector-related routines and backface culling support to my fx3dlib.
  • Various further fixes on corelib(open).
Screenshots of this progress (15 MHz) :





Also, SirCmpwn started on a port of Phoenix - I don't need to tell you what is Phoenix right ? (6 MHz)



EDIT : by the way, that should be moved out of the "Discontinued projects" board I think.