Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 110 users online: 4 members, 76 guests and 30 bots. Members: Ashbad, iconmaster, rfdave. Bots: VoilaBot (3), Magpie Crawler (3), VoilaBot (5), Googlebot (18), MSN/Bing (1).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
|
| Author |
Message |
|
Impiety
Newbie

Joined: 24 Mar 2011 Posts: 31 Location: Middle of nowhere
|
Posted: 04 Apr 2011 05:48:31 pm Post subject: Empty Programs |
|
|
While I was browsing through the VAT with CalcSys, I noticed that there were 2 'empty programs'. They were named '#' and '!', and both were deemed to be 0 bytes in size by CalcSys. I've never encountered such programs up until now, and I've never heard of such programs either. I've tried getting rid of them through a RAM clear, but they still appear in CalcSys.
Does anyone know what's going on here, or how to get rid of the programs? |
|
| Back to top |
|
|
souvik1997

Guru-in-Training

Joined: 19 Apr 2010 Posts: 2870
|
Posted: 04 Apr 2011 05:49:43 pm Post subject: |
|
|
Those programs contain information like the homescreen entries. Don't mess with them unless you know what you're doing, or if you don't mind getting a RAM clear. _________________ CALCnet Tournament-38%
deviantArt
 |
|
| Back to top |
|
|
Impiety
Newbie

Joined: 24 Mar 2011 Posts: 31 Location: Middle of nowhere
|
Posted: 04 Apr 2011 05:53:52 pm Post subject: |
|
|
Ah, thanks Souvik . I first thought those programs were an offshoot of a glitch in my program.
I was about to delete them in CalcSys, but I guess I shouldn't now  |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55762 Location: Earth, Sol, Milky Way
|
Posted: 04 Apr 2011 09:03:34 pm Post subject: |
|
|
| Impiety wrote: | Ah, thanks Souvik . I first thought those programs were an offshoot of a glitch in my program.
I was about to delete them in CalcSys, but I guess I shouldn't now  | Correct, you shouldn't. As Souvik accurately stated, they're used to store the previous entries and the current entry on the homescreen. _________________
 |
|
| Back to top |
|
|
Impiety
Newbie

Joined: 24 Mar 2011 Posts: 31 Location: Middle of nowhere
|
Posted: 04 Apr 2011 09:50:31 pm Post subject: |
|
|
Hmm... does this happen to have anything to do with the OS's interpreter? My guess is that the TI-OS runs the contents of those programs through ParseInp when evaluating math expressions on the homescreen. Or maybe I'm just getting it all wrong...  |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55762 Location: Earth, Sol, Milky Way
|
Posted: 04 Apr 2011 10:32:17 pm Post subject: |
|
|
Yup, that's more or less correct, Impiety. And of course that's where it gets the previous entries when you press 2nd-Enter on the homescreen. _________________
 |
|
| Back to top |
|
|
Impiety
Newbie

Joined: 24 Mar 2011 Posts: 31 Location: Middle of nowhere
|
Posted: 05 Apr 2011 10:03:37 pm Post subject: |
|
|
Wait, does the OS use an actual bcall for ParseInp, or does it do the context-switch thingy you were discussing in SAX?
Also, what the heck is a context switch, and more importantly, how is it implemented in z80? |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55762 Location: Earth, Sol, Milky Way
|
Posted: 06 Apr 2011 12:58:24 am Post subject: |
|
|
| Impiety wrote: | Wait, does the OS use an actual bcall for ParseInp, or does it do the context-switch thingy you were discussing in SAX?
| You and the OS both do a bcall() to start executing a program using _ParseInp, which causes the OS to switch context, execute the program, then switch back. Keep in mind that a bcall() is mainly just a way to make an off-page call, nothing terribly super-special. It's less distinguished than a system call in the *nix/POSIX model.
| Quote: | | Also, what the heck is a context switch, and more importantly, how is it implemented in z80? | The TI-OS has a system it calls the Monitor that keeps track of the current context: running an App, executing a program, drawing a graph, etc. It's nothing like context-switching in a multitasking scheduler on a more complex device. _________________
 |
|
| Back to top |
|
|
|
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
» Go to Registration page
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.032583 seconds.
|