* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: KnightOS Updates  (Read 33184 times)

0 Members and 2 Guests are viewing this topic.

Offline Duke "Tape" Eiyeron

  • Urist McEiyolobster
  • Super User
  • Join Date: Nov 2014
  • Location: (V)(-_(//));(V)
  • Posts: 1636
  • Post Rating Ratio: +11/-2
  • Fanciest Walrus of the oceans.
    • @@Eiyeron
    • Eiyeron
    • /u/Eiyeron
    • Eiyeron
    • Rétro-Actif : Rétro/Prog/Blog
  • Gender: Male
Re: KnightOS Updates
« Reply #15 on: March 23, 2015, 04:44:09 pm »
Oooh! You got my interest naow.
  • Calculators owned: A lot.

Offline Snektron

  • Lvl 69 Russian Snake
  • Super User
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: KnightOS Updates
« Reply #16 on: March 23, 2015, 05:01:07 pm »
https://github.com/KnightOS/kcc
i should try it out too... maybe float multiply works here (it fails with SDCC <_<)
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline SirCmpwn

  • Full User
  • Join Date: Mar 2015
  • Location:
  • Posts: 81
  • Post Rating Ratio: +1/-0
Re: KnightOS Updates
« Reply #17 on: March 23, 2015, 05:01:39 pm »
Oh. do you have any work done to make something like a C compiler or anything-better-than-asm compiler for KOS?

EDIT : after checking once more the screenshots, I find your UI quite useful and helpful. Do you have any technical infos for doing such graphical UI server like that? I could be interrested into doing such a project for FiXos.

We have a C compiler called kcc that's forked from SDCC. We also have a traditional assembler/linker called scas that is ASxxxx compatible and used for compiling C output. C support is experimental and has known problems, but if you'd like to try it you can compile and install both kcc and scas and then use "knightos init --template=c example" to generate an example project.

We don't have a UI server, but we do have shared code for drawing some parts of the UI. You can read through it here.

EDIT:

https://github.com/KnightOS/kcc
i should try it out too... maybe float multiply works here (it fails with SDCC <_<)

It compiles but I can't promise that it works. We don't have any means of printing floating point numbers so who knows. Here's some code I just wrote:

(edited:)

« Last Edit: March 23, 2015, 06:45:45 pm by SirCmpwn »

Offline Duke "Tape" Eiyeron

  • Urist McEiyolobster
  • Super User
  • Join Date: Nov 2014
  • Location: (V)(-_(//));(V)
  • Posts: 1636
  • Post Rating Ratio: +11/-2
  • Fanciest Walrus of the oceans.
    • @@Eiyeron
    • Eiyeron
    • /u/Eiyeron
    • Eiyeron
    • Rétro-Actif : Rétro/Prog/Blog
  • Gender: Male
Re: KnightOS Updates
« Reply #18 on: March 23, 2015, 07:58:52 pm »
Noice. I wonder if fixed points are quite efficient on z80. Kristaba once did a small fixed point utility and I keep upsing it almost everywhere. It gave to FXes a signifiant speed boost for usual cases.
  • Calculators owned: A lot.

Offline SirCmpwn

  • Full User
  • Join Date: Mar 2015
  • Location:
  • Posts: 81
  • Post Rating Ratio: +1/-0
Re: KnightOS Updates
« Reply #19 on: March 23, 2015, 08:08:51 pm »
Noice. I wonder if fixed points are quite efficient on z80. Kristaba once did a small fixed point utility and I keep upsing it almost everywhere. It gave to FXes a signifiant speed boost for usual cases.

Fixed point is just using integers and wavy hands.

Offline SirCmpwn

  • Full User
  • Join Date: Mar 2015
  • Location:
  • Posts: 81
  • Post Rating Ratio: +1/-0
Re: KnightOS Updates
« Reply #20 on: March 23, 2015, 10:25:57 pm »
Kernel 0.6.7 released

The biggest change of this kernel is the switch to a monospaced font. Your stuff is probably going to look weird.

Features

    New monospaced font
    RTC starts on boot
    getStreamPos function
    clockSupported function
    drawDecA, drawDecHL, drawDecACIX

Bugs Fixed

    getBatteryLevel works
    Closing writable streams no longer trashes registers
    rectAND and rectOR no longer trashes registers
    CSE keyboard driver delay fixed

Download

kernel-headers-0.6.7.pkg
kernel-TI73.rom
kernel-TI83p.rom
kernel-TI83pSE.rom
kernel-TI84p.rom
kernel-TI84pSE.rom
kernel-TI84pCSE.rom

Kernel 0.6.7 on Github

Disclaimer

This release, like all other kernel releases, is only relevant to developers. The kernel also will not run on its own, so if you put this in an emulator you won't get much out of it.

Offline Ephraim Becker

  • Full User
  • Join Date: Mar 2015
  • Location: Far Rockaway, NY
  • Posts: 118
  • Post Rating Ratio: +0/-4
    • @UCIHxAXYLxYlNaQiv0do0bUg
    • EphraimB
    • 112/11290
  • Gender: Male
Re: KnightOS Updates
« Reply #21 on: March 23, 2015, 10:38:24 pm »
Where are the Upgrade files? I only see the ROM files.
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

Offline SirCmpwn

  • Full User
  • Join Date: Mar 2015
  • Location:
  • Posts: 81
  • Post Rating Ratio: +1/-0
Re: KnightOS Updates
« Reply #22 on: March 23, 2015, 10:39:50 pm »
Where are the Upgrade files? I only see the ROM files.

You can get a kernel upgrade file by compiling it yourself (except for the CSE), but for now we don't publish precompiled kernel upgrades since you have to reinstall the entire OS so often anyway when you use KnightOS.

Offline Ephraim Becker

  • Full User
  • Join Date: Mar 2015
  • Location: Far Rockaway, NY
  • Posts: 118
  • Post Rating Ratio: +0/-4
    • @UCIHxAXYLxYlNaQiv0do0bUg
    • EphraimB
    • 112/11290
  • Gender: Male
Re: KnightOS Updates
« Reply #23 on: March 23, 2015, 10:44:50 pm »
How do I send the ROM file to my calculator if it's not in .8cu?
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

Offline SirCmpwn

  • Full User
  • Join Date: Mar 2015
  • Location:
  • Posts: 81
  • Post Rating Ratio: +1/-0
Re: KnightOS Updates
« Reply #24 on: March 23, 2015, 10:46:01 pm »
How do I send the ROM file to my calculator if it's not in .8cu?

Just send the latest nightly to your calculator instead. You can get it from here: http://www.knightos.org/download

Offline Ephraim Becker

  • Full User
  • Join Date: Mar 2015
  • Location: Far Rockaway, NY
  • Posts: 118
  • Post Rating Ratio: +0/-4
    • @UCIHxAXYLxYlNaQiv0do0bUg
    • EphraimB
    • 112/11290
  • Gender: Male
Re: KnightOS Updates
« Reply #25 on: March 23, 2015, 10:47:40 pm »
It's still on 0.3.0-43 which is the version before 0.6.7
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

Offline SirCmpwn

  • Full User
  • Join Date: Mar 2015
  • Location:
  • Posts: 81
  • Post Rating Ratio: +1/-0
Re: KnightOS Updates
« Reply #26 on: March 23, 2015, 10:48:28 pm »
It's still on 0.3.0-43 which is the version before 0.6.7

The userspace version is no longer relevant since we changed KnightOS to a rolling release model. The version on the download page is always the latest version.

Offline SirCmpwn

  • Full User
  • Join Date: Mar 2015
  • Location:
  • Posts: 81
  • Post Rating Ratio: +1/-0
Re: KnightOS Updates
« Reply #27 on: March 26, 2015, 11:48:53 pm »
Thanks to willem3141, fullly functional date/time support has been merged into the kernel. The settings app has been updated to allow you to set the current time/date, and the castle displays it in the upper right corner. There are also syscalls for working with date/time that are now fully functional.

Online xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18799
  • Post Rating Ratio: +98/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: KnightOS Updates
« Reply #28 on: March 27, 2015, 04:34:50 am »
Good to hear. Will the clock time remain intact even after the calculator crashes? The fact the TI-OS clock resets to 12 AM on every RAM Clear pretty much renders it useless.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline SirCmpwn

  • Full User
  • Join Date: Mar 2015
  • Location:
  • Posts: 81
  • Post Rating Ratio: +1/-0
Re: KnightOS Updates
« Reply #29 on: March 27, 2015, 01:18:11 pm »
Good to hear. Will the clock time remain intact even after the calculator crashes? The fact the TI-OS clock resets to 12 AM on every RAM Clear pretty much renders it useless.

The boot code resets the clock, so if you have to resort to a battery pull then you will lose the time. However, KnightOS offers a better way to recover from a crash. If you press ON+R, so long as interrupts are running, it will immediately reboot.

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games