Alternatively, join us on Discord.

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.

DJ Omnimaga

Ah ok. I wish it was possible to keep the clock intact. Why TI even bothered implementing one under such circumstances is beyond me.

jamu

Why they didnt also add a clock to the nspire confuses me
I have a rhythm game problem.


SirCmpwn

Quote from: DJ Omnimaga on March 27, 2015, 06:17:08 pm
Ah ok. I wish it was possible to keep the clock intact. Why TI even bothered implementing one under such circumstances is beyond me.


I'm not sure if the clock resets when the CPU resets, or if the boot code resets it. If the boot code does it, then it should be possible to patch it out of your boot code.

Streetwalrus

Quote from: SirCmpwn on March 27, 2015, 07:51:30 pm
Quote from: DJ Omnimaga on March 27, 2015, 06:17:08 pm
Ah ok. I wish it was possible to keep the clock intact. Why TI even bothered implementing one under such circumstances is beyond me.


I'm not sure if the clock resets when the CPU resets, or if the boot code resets it. If the boot code does it, then it should be possible to patch it out of your boot code.

Possible but dangerous. Also TI started write-protecting the boot pages in the flash chip itself.

DJ Omnimaga

Streetwalrus do you know when they started doing that? There was Boot 1.03 in 2011 that blocked downgrades, but it was easily circumventable by replacing your boot code. But I don't remember hearing nor reading about any further attempt at locking the monochrome Z80 calcs down afterward. IIRC even the CSE didn't have further protection either, but I could be wrong.

Streetwalrus

I don't remember but it's fairly recent. Probably around when the CSE was released. This particular protection is impossible to circumvent without opening the calc and soldering stuff into it (and it' extremely dangerous of course).

DJ Omnimaga

Ah that might be it. I wonder if that could explain why the CSE in particular cannot be overclocked higher than 15 MHz? I know the SE could, but not the CSE. I will need to check the Cemetech topic again at some point to get a memory refreshing.


That said, maybe KnightOS could just backup the clock every minute? But then the issue is would developers want such thing to happen via interrupts during the execution of their games?

CKH4

Someone did over clock the cse to 20 if I'm not mistaken. The resistors ( i think ) on it are tiny though


Streetwalrus

Quote from: CKH4 on March 28, 2015, 04:35:29 pm
Someone did over clock the cse to 20 if I'm not mistaken. The resistors ( i think ) on it are tiny though
This. It's feasible, just a very painstaking process.

SirCmpwn

Quote from: DJ Omnimaga on March 28, 2015, 04:33:48 pm
That said, maybe KnightOS could just backup the clock every minute? But then the issue is would developers want such thing to happen via interrupts during the execution of their games?


I know of at least one modded calculator out there running a custom KnightOS kernel that clocks it up to 20 MHz.

DJ Omnimaga

Oh in that post I meant the clock as in time, not the CPU frequency. My bad.

SirCmpwn

Quote from: DJ Omnimaga on March 30, 2015, 03:29:40 am
Oh in that post I meant the clock as in time, not the CPU frequency. My bad.


Sounds like a good way to thrash Flash. I don't think it's feasible.

DJ Omnimaga

Ah right, forget about the idea then.

In other words, the TI-84 Plus time clock is completely useless except in games that records play time.

SirCmpwn

Quote from: DJ Omnimaga on March 30, 2015, 03:32:16 am
Ah right, forget about the idea then.

In other words, the TI-84 Plus time clock is completely useless except in games that records play time.


Well, KnightOS includes code for doing date/time math regardless of whether or not the clock is present (i.e. convert timestamps to a date/time struct), so there is some usefulness there.

DJ Omnimaga

Yeah, I meant due to the fact it keeps getting reset to factory settings, though, unless I am missing or misunderstanding something.

Powered by EzPortal