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
threefingeredguy


Advanced Member


Joined: 01 Sep 2005
Posts: 479

Posted: 18 Feb 2006 08:57:54 pm    Post subject:

It won't work. You won't have enough size for it AND the source. The source would be HUGE, a program filled with hex will be twice as big as the assembled program. 12k limit? If you wrote it in straight hex, you could only get 8k. With ASCII source, this would be impossible unless you stored source in the archive and did your own assembling. Even then, you would have so many flash writes that you would kill your calculator.
Back to top
bananaman
Indestructible


Calc Guru


Joined: 12 Sep 2005
Posts: 1124

Posted: 18 Feb 2006 09:26:35 pm    Post subject:

What if the oncalc assembler was written in flash and thus took up no memory in and of itself.
Back to top
threefingeredguy


Advanced Member


Joined: 01 Sep 2005
Posts: 479

Posted: 18 Feb 2006 11:43:02 pm    Post subject:

I was assuming that already. The source would still be too big.
Look at this comparison:

Code:
ld b,d
is 6 bytes on the calculator, 1 byte when assembled (42 by the way Smile).
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 19 Feb 2006 11:38:16 am    Post subject:

If you break the source up into small segments (and later #include them), each individual segment would be large enough to fit in RAM. In that case, of course, the assembler should be able to read from flash.
Back to top
threefingeredguy


Advanced Member


Joined: 01 Sep 2005
Posts: 479

Posted: 19 Feb 2006 03:31:04 pm    Post subject:

And it would need to assemble directly instead of letting the OS do it.
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 Previous  1, 2
» View previous topic :: View next topic  
Page 2 of 2 » All times are UTC - 5 Hours

 

Advertisement