Author Topic: KnightOS  (Read 100772 times)

0 Members and 1 Guest are viewing this topic.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: KnightOS
« Reply #915 on: June 04, 2014, 03:37:47 pm »
Holy necropost Batman ! *.*

Nah jk, KOS has gone a long way under the hood and the user space is really starting to be awesome.

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: KnightOS
« Reply #916 on: June 04, 2014, 03:39:23 pm »
"Phoenix right"... is that intended?
BTW nice work on the port.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: KnightOS
« Reply #917 on: June 04, 2014, 03:41:07 pm »
Nice catch Eiyeron. That game was epic. :D

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: KnightOS
« Reply #918 on: June 04, 2014, 03:41:58 pm »
OBJECTION, I never played it.

Aaaand let's get back ontopic. I want to learn Z80 asm to give KOS a shot, to see if it's fun enough.

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 #919 on: June 04, 2014, 04:11:04 pm »
"Phoenix right"... is that intended?
So you got it :P

Aaaand let's get back ontopic. I want to learn Z80 asm to give KOS a shot, to see if it's fun enough.
What do you mean, of course it is :P

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: KnightOS
« Reply #920 on: June 04, 2014, 04:12:50 pm »
If you contributed to KnightOS in any way, and aren't listed there, please report it asap. ;)

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55838
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: KnightOS
« Reply #921 on: June 04, 2014, 11:46:10 pm »
The UI is really nice and good to see you got Phoenix working!

And yeah I agree. You might need to use ourl.ca/request, though, since admins only monitor that part.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6193
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: KnightOS
« Reply #922 on: June 05, 2014, 12:06:36 am »
The UI is really nice and good to see you got Phoenix working!

And yeah I agree. You might need to use ourl.ca/request, though, since admins only monitor that part.
he's talking about KOS bugs
/e

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55838
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: KnightOS
« Reply #923 on: June 05, 2014, 12:09:35 am »
Oh whoops I forgot to quote the post on the previous page that suggested that this sub-forum be moved out of discontinued projects.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 427
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: KnightOS
« Reply #924 on: June 05, 2014, 09:52:00 am »
EDIT : by the way, that should be moved out of the "Discontinued projects" board I think.
+1
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 35s, Casio Prizm, TI-Nspire CX CAS, HP-28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE

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 #925 on: November 16, 2014, 06:13:38 pm »
Alright, time for an update, a lot of things happened to KnightOS lastly.

  • The new userspace is a thing : it's now splitted up into several independant repositories (such as the file manager, the threadlist etc).
  • There is an actual KnightOS SDK ! To use it (cygwin or Linux) :
       
  • New package manager tool, kpack
  • http://packages.knightos.org/ exists and is intended to be a package repository for KnightOS. There also is a new KnightOS category on ticalc.org !
  • You can try KnightOS development on http://try.knightos.org/ BUT beware, it's still a WIP ! Actually you can't run anything from this yet. But this is being worked on, and I'll let you know when it'll be working !
  • SCAS is being worked on ; it's an assembler written in C which includes extra features for KnightOS development (such as automatic relocation), AND is a WIP. Of course, you'll still be able to use it for programming ASM on the TI-OS. So far it features a separate assembler and linker, is compatible with sass, tasm, spasm and ASxxxx (ie SDCC) and is written in (hopefully) portable C.
  • The z80 emulator z80e is being worked on, and so far has a Linux version, as well as a Windows (by me) and TI-Nspire (by me too) version. In addition to that, it works in your web browser on http://www.knightos.org ! Also, STILL A WIP !
  • The KnightOS kernel has been greatly improved. Symlinks are now supported by the filesystem driver, the memory allocator has been improved (actually, fixed) and now features realloc, the flash driver has been enhanced + fixed, concurrency is now supported (using mutexes and conditional variables), the writable filesystem is nearly done (flush actually works !), as well as many fixes and improvements not significant enough on the end user's perspective to be mentionned (and way too numerous to be remembered).
  • Userspace : Phoenix now runs on your TI-84+CSE ! Only on KnightOS ;) . SirCmpwn ported the Periodic app to KnightOS (with prior approval from original author ; you can do science now !), I myself ported benryves's Pixel Madness demo (with prior approval as well), the text file viewer has been improved, and configlib has been written (lets you read/write Unix-style config files easily).
  • KnightOS now has C support ! Limited, but working C support ! KCC, a KnightOS-specific fork of SDCC, appeared to work well with SCAS, and while this is still in very early working stages, check out this small tutorial and give it a try !
Of course, nothing of this would have been possible without the continuous help and devotion of those people to the whole KnightOS project : puckipedia, klange, Vijfhoek, dragontux, thirtythreeforty, SirCmpwn and myself (well, I'm not thanking myself, but you get the point).

We would also like to thank Patrick Davidson, Ben Ryves and Ahmed El-Helw for letting us port their software.

That's about it for this update, of course more will come ;)
« Last Edit: November 16, 2014, 06:17:50 pm by Matrefeytontias »

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 427
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: KnightOS
« Reply #926 on: November 16, 2014, 06:30:26 pm »
  • KnightOS now has C support ! Limited, but working C support ! KCC, a KnightOS-specific fork of SDCC, appeared to work well with SCAS, and while this is still in very early working stages, check out this small tutorial and give it a try !
Why a custom compiler and not something like a LLVM backend?
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 35s, Casio Prizm, TI-Nspire CX CAS, HP-28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE

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 #927 on: November 16, 2014, 06:31:57 pm »
Well, it is kind of an SDCC backend. The thing is that the main SDCC team didn't want to do anything for nor accept anything from KnightOS, so we had to do a fork of SDCC. It's still SDCC though.

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 #928 on: November 16, 2014, 06:48:54 pm »
LLVM is not particularly suited for z80. It assumes, among other things, the ability to do fast, stack-offset memory access. The z80 doesn't do that. The purpose for those accesses is to allow functions to exist once in code for arbitrary, stack-based memory locations.

SDCC on the other hand is designed with embedded CPUs like the z80 in mind. It uses a lot of RAM compared to assembly, and it's a fair amount slower, but still far above what LLVM would be able to produce without some miraculous IR conversions.

I'm glad to hear all that progress! Sounds like the ball's really rolling, especially with the C support. Maybe we could just port xcas and have working calculation software.

One question: Does the C compiler have a way to do text-based programs with the standard scanf/printf functions?

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 #929 on: November 16, 2014, 06:52:10 pm »
Maybe we could just port xcas and have working calculation software.
For this, it would be better to wait until we have floating-point support built in the kernel. Then, once linked to SDCC, that will become a possibility.

One question: Does the C compiler have a way to do text-based programs with the standard scanf/printf functions?
As stated before, KnightOS isn't POSIX-compliant. Things like standard flows are not planned, as they don't really suit KnightOS in our opinion.