This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's Your Projects subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. Project Ideas/Start New Projects => Your Projects
Author Message
Igrek


Member


Joined: 23 Aug 2007
Posts: 151

Posted: 28 Jul 2009 06:56:49 am    Post subject:

Well, I'm working on a program that would make it possible to use the extra ram pages on a TI-83 plus SE and on the TI-84 plus (NE/SE) for data storage. So far I'm doing well Smile.
I'm almost at a stage where I could release a beta...
Some problems I still need to solve:
- Can you really map one ram page twice?
- Which applications use the extra ram pages so I could add support of some kind.
Back to top
magicdanw
pcGuru()


Calc Guru


Joined: 14 Feb 2007
Posts: 1110

Posted: 28 Jul 2009 03:49:44 pm    Post subject:

Here is a list of pages used by TI OS under special circumstances and by other programs. I'm not sure if the list is complete or not.

http://wikiti.brandonw.net/index.php?title...us:OS:Ram_Pages

I'm pretty sure that you can map a ram page twice, and both banks will just reflect each other. If you want to be sure, it's easy to test it out.


Last edited by Guest on 28 Jul 2009 03:50:06 pm; edited 1 time in total
Back to top
Igrek


Member


Joined: 23 Aug 2007
Posts: 151

Posted: 28 Jul 2009 04:38:18 pm    Post subject:

I have been to the wiki page, but I believe it's no longer up to date, for instance TI-Boy and USBx or MSDx also use some of the ram pages. Yes, one page can be mapped twice, I thought so but it seemed not to work at first (I was trying to use the stack after writing to port 5)
Back to top
Graphmastur


Advanced Member


Joined: 25 Mar 2009
Posts: 360

Posted: 28 Jul 2009 08:39:01 pm    Post subject:

Wait, does that mean you can swap a page in with ram page 1, and flash page 1 at the same time?
Back to top
magicdanw
pcGuru()


Calc Guru


Joined: 14 Feb 2007
Posts: 1110

Posted: 28 Jul 2009 09:41:16 pm    Post subject:

Huh? Ram page 1 and flash page 1 don't have anything to do with each other, afaik. Igrek was talking about swapping a single ram page into two memory banks simultaneously (ie. ram page 1 at 8000h and C000h).
Back to top
FloppusMaximus


Advanced Member


Joined: 22 Aug 2008
Posts: 472

Posted: 29 Jul 2009 12:47:51 am    Post subject:

There's no reason you can't have one memory page mapped in multiple banks, if you really want to.

Perhaps it would be good to try to set out some sort of official unofficial policy with regard to the extra RAM pages. If such a policy were created, I would certainly do my best to follow it. But whatever policy you establish, you can't assume that other people will follow it -- there are already a number of programs that don't.
Back to top
allemensen


Newbie


Joined: 21 Jul 2009
Posts: 20

Posted: 29 Jul 2009 06:20:29 am    Post subject:

My program (still in development) will use RAM page 2. If those other programs leave a signature of some kind on their used pages, you could check those and at least limit overwriting.
Back to top
Graphmastur


Advanced Member


Joined: 25 Mar 2009
Posts: 360

Posted: 29 Jul 2009 08:08:39 am    Post subject:

magicdanw wrote:
Huh? Ram page 1 and flash page 1 don't have anything to do with each other, afaik. Igrek was talking about swapping a single ram page into two memory banks simultaneously (ie. ram page 1 at 8000h and C000h).

Okay. I am still learning all of this, and just recently started to understand pages.
Back to top
ztrumpet


Active Member


Joined: 06 May 2009
Posts: 555

Posted: 29 Jul 2009 05:57:35 pm    Post subject:

Could you toggle this program on and off so that when it's off the calc is regular and when it's on it would copy all pages it uses to archive, then have extra ram, then unarchive and put back stuff?
Back to top
calc84maniac


Elite


Joined: 22 Jan 2007
Posts: 770

Posted: 30 Jul 2009 01:24:13 pm    Post subject:

ztrumpet wrote:
Could you toggle this program on and off so that when it's off the calc is regular and when it's on it would copy all pages it uses to archive, then have extra ram, then unarchive and put back stuff?

It's pointless to have extra RAM storage if you're just going to be putting it in archive anyway.
Back to top
cjgone
Aw3s0m3


Active Member


Joined: 24 May 2006
Posts: 693

Posted: 31 Jul 2009 12:15:51 am    Post subject:

This sounds cool. Will this allow me to make programs >8000 bytes not including data?
Back to top
Igrek


Member


Joined: 23 Aug 2007
Posts: 151

Posted: 31 Jul 2009 05:09:42 am    Post subject:

cjgone wrote:
Will this allow me to make programs >8000 bytes not including data?

It will add an extra 96KB to your memory but I don't know how it could help to bypass the execution limit...
Back to top
TheStorm


Calc Guru


Joined: 17 Apr 2007
Posts: 1233

Posted: 31 Jul 2009 09:59:04 am    Post subject:

I think the best policy would be to only use the scrap ram pages Ti-os uses for scrap so that a program like this will not have issues, though I know Omnicalc would need to be updated conform to this.
Back to top
Igrek


Member


Joined: 23 Aug 2007
Posts: 151

Posted: 31 Jul 2009 11:03:09 am    Post subject:

Well, I will just let the user choose which pages he uses (and I won't use page 83: 4000-433A on the 84+ series). I'll also provide information on which apps use the pages. This isn't fool proof but it seems fine for now...

<Side note>
We will eventually have to make guidelines for ALL data storage on the calculator because soon everyone will make his own OS with key 0005... and if we'd want more then one OS on one calculator we might feel like making some universal way to store variables.
</Side note>

Edit: I know that I should have released something by now but laziness and nice weather is to blame for the delay Razz


Last edited by Guest on 02 Aug 2009 04:12:56 pm; edited 1 time in total
Back to top
Igrek


Member


Joined: 23 Aug 2007
Posts: 151

Posted: 06 Aug 2009 06:00:21 pm    Post subject:

Well I have almost finished it, at least I have reached some point where it is usable, so here it goes. press copy (or move) to copy (or move) a file from ram to xram or from xram to ram. Archived files can only be deleted or unarchived. In the Xram files with the same name can exist, in the normal ram it will overwrite files without asking. You shouldn't use it with any programs that use the extra ram pages (I'll add something to fix this later). I cannot be held responsible for any damage this program does to you or your calculator. Enjoy. Post all the problems you encounter.
Back to top
JoeYoung


Advanced Member


Joined: 15 Nov 2008
Posts: 316

Posted: 06 Aug 2009 07:41:52 pm    Post subject:

will XRAM have any effect for basic programming? I'm just curious, since there seems to be an AWFUL lot more of XRM than RAM.

what are the rules regarding variables in XRAM?
Back to top
ztrumpet


Active Member


Joined: 06 May 2009
Posts: 555

Posted: 06 Aug 2009 08:12:36 pm    Post subject:

This is just for the 84+SE, right?
Back to top
Igrek


Member


Joined: 23 Aug 2007
Posts: 151

Posted: 07 Aug 2009 03:52:24 am    Post subject:

I wasn't planning to add anything to interfere with basic programs, but you might convince me Wink. What do you mean by 'rules regarding variables in xram'?
It's for all the calculators with extra ram pages: the TI-83+SE, TI-84+ and TI-84+SE.
Edit: apparently there is something wrong with the delete routine, I'm trying to fix it.


Last edited by Guest on 07 Aug 2009 10:20:33 am; edited 1 time in total
Back to top
Igrek


Member


Joined: 23 Aug 2007
Posts: 151

Posted: 08 Aug 2009 06:06:08 am    Post subject:

I have fixed the bug in the delete routine. For the readme just look at the previous post. Enjoy.
Edit: It seem it isn't totally fixed after all, sorry Mad
I'm starting to hate myself: I'm tying to calls while the page with the stack isn't in place.


Last edited by Guest on 08 Aug 2009 08:50:58 am; edited 1 time in total
Back to top
JoeYoung


Advanced Member


Joined: 15 Nov 2008
Posts: 316

Posted: 08 Aug 2009 08:50:42 am    Post subject:

well, I mean, what is XRAM?

Can programs call to variables stored in it?

can they write to it too?

what's the advantage saving to XRAM instead of simply using the archive?

Im sorry, I just don't quite understand how this all works.


Last edited by Guest on 08 Aug 2009 08:51:12 am; edited 1 time in total
Back to top
Display posts from previous:   
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
    » Goto page 1, 2  Next
» View previous topic :: View next topic  
Page 1 of 2 » All times are UTC - 5 Hours

 

Advertisement