0 Members and 1 Guest are viewing this topic.
Seems like a fine asm question to me.Apps are stored in Flash, and execute from Flash, just like the OS. Flash is divided into 16384-byte "pages"; any page can be mapped to the Z80 address space starting at 4000h, simply by writing the page number to port 6. So basically, all the OS needs to do to run an app is to write the appropriate value to port 6, and jump to the start of the app's code. The app is never copied into RAM - there's no free RAM you could use for that purpose.In order for this to work, the app needs to be stored at the start of a page, which is why every app effectively takes up a multiple of 16k bytes. Being stored in Flash also means the app can't modify itself (well, that and the fact that they need to be digitally signed.)
Why does it have to be signed? (I've never understood the whole signing thing with apps)
But if you used your own link protocol, could you send an app to another calculator without having to sign it correctly.
Wait I missed that post. That would be awesome if this was possible. The only problem is that such apps gets auto-deleted after being ran 16 times, though... (since the calc thinks they are trial apps). Take Axe Parser-generated apps, for example.
Well... it's Texas Instruments we're talking about here, after all. (Although if Casio tried to lock down the Prizm, then they failed even harder, since it got cracked a few weeks after its release)
In other news, Frey continues kicking unprecedented levels of ass.
Welcome to the forums ZippyDee!
The only problem is that such apps gets auto-deleted after being ran 16 times, though... (since the calc thinks they are trial apps). Take Axe Parser-generated apps, for example.
Yeesh. So is it possible to sign an app on calc, or does it have to be done on a computer?