Join us on Discord!
You can help CodeWalrus stay online by donating here.

KnightOS Updates

Started by Vijfhoek, March 22, 2015, 04:29:22 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Max Leiter

#120
Small update, but I think it's worth a post d:

libc, KnightOS's C library, now has variants of printf implemented!



The relevant code can be found in stdio.c and format.c


In other news:

  • z80e, KnightOS's z80 emulator, now has flash support
  • libc also has some filesystem bindings (creating directories, symlinks, checking if they exist, etc)
  • packages.knightos.org now has support for resetting/forgetting passwords (finally)

alexgt

  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Dream of Omnimaga

I'm curious about how easy it will be to port color games from the CE to the monochrome models, assuming those games can easily be modified for a smaller screen, compared to porting CE ASM games to monochrome calcs?

Also great news about z80e. I wonder if he plans to add ez80 and 84+CE support in the future? That would make z80e the first ever TI-84 Plus CE emulator. We would first need a way to dump 84+CE ROMs, though.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

SirCmpwn

Quote from: DJ Omnimaga on December 15, 2015, 08:00:52 PM
I'm curious about how easy it will be to port color games from the CE to the monochrome models, assuming those games can easily be modified for a smaller screen, compared to porting CE ASM games to monochrome calcs?

Graceful degredation. Design your games for a monochrome screen, then use color instead of avaialble.

Quote from: DJ Omnimaga on December 15, 2015, 08:00:52 PM
Also great news about z80e. I wonder if he plans to add ez80 and 84+CE support in the future? That would make z80e the first ever TI-84 Plus CE emulator. We would first need a way to dump 84+CE ROMs, though.

Not enough is known about the 84+CE to emulate it yet, I'd say. However, if KnightOS is eventually ported to the CE, then z80e will be updated to support CE emulation. That being said, I don't have an 84+CE and I am not going to attempt a port until an exploit for installing unsigned OSes is made public.

GalacticPirate

@DJ_O and SirCpwn : Well, TI-Converter should soon be able to convert color games for monochrome calcs :)
  • Calculators owned: TI-Nspire CX CAS (4.4.0), TI-83 Premium CE (5.2.1), TI-83 Plus.fr USB (2.55MP), Casio fx-92 Collège 2D+, Casio fx-92 Collège 2D
  • Consoles, mobile devices and vintage computers owned: Nintendo Wii U (NSMBU+NSLU premium pack, 5.5.1E), New Nintendo 3DS XL (Monster Hunter Generations, Sys 11.5.0-38E)

novenary

This shouldn't be needed on KnightOS, programs can use pretty much the same code base with the exception of display/drawing code since the OS is the same (unlike TIOS) and the hardware is also mostly identical. Detecting the host calculator can even be done at runtime.

Dream of Omnimaga

Quote from: STV on January 13, 2016, 01:38:44 PM
@DJ_O and SirCpwn : Well, TI-Converter should soon be able to convert color games for monochrome calcs :)
I thought it did the oppisite?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Max Leiter

Relevant video by @SirCmpwn about KOS running on the 84+ CSE
In case the video isn't loading:

Dream of Omnimaga

Glad to see CSE support coming along smoothly. It's also cool to see KOS run some existing color programs. :)
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

novenary

CSE support has been in for a long time actually, it's pretty much done.

Snektron

Quote from: Max Leiter on January 14, 2016, 01:56:23 AM
Relevant video by @SirCmpwn about KOS running on the 84+ CSE
In case the video isn't loading:

That looks really nice. Too bad i have to  use my calculator for math and i don't think they'd allow custom OS's on my finals :P
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


novenary

Well, given the current state of math support... :P

Dream of Omnimaga

Quote from: Streetwalrus on January 15, 2016, 11:46:23 AM
CSE support has been in for a long time actually, it's pretty much done.
Yeah I didn't know it ran CSE ASM programs yet, though.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Max Leiter

Quote from: DJ Omnimaga on January 15, 2016, 05:28:36 PM
Quote from: Streetwalrus on January 15, 2016, 11:46:23 AM
CSE support has been in for a long time actually, it's pretty much done.
Yeah I didn't know it ran CSE ASM programs yet, though.
Well, it runs KOS ASM programs. On KOS, a program written for the 83+, 84+, etc can run on the CSE without any extra work. As SirCmpwn said earlier,
Quote from: SirCmpwn on December 15, 2015, 08:07:47 PM
Graceful degredation. Design your games for a monochrome screen, then use color instead of avaialble.

Dream of Omnimaga

So it would be like when we develop Nspire Clickpad/Touchpad games? IIRC, most Ndless and Lua games made for the grayscale models required no work to be ported to the CX and you could even implement colors and they would display as grayscale on the grayscale models.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Powered by EzPortal