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
Xeda112358


Active Member


Joined: 19 May 2009
Posts: 520

Posted: 13 Feb 2011 03:14:56 pm    Post subject:

Hm, well Mirage OS is known to be buggy like that just to let you know...
Back to top
mrmprog


Newbie


Joined: 04 Feb 2011
Posts: 44

Posted: 13 Feb 2011 04:52:47 pm    Post subject:

Should I delete it? I don't really play asm games ( I'd rather make my own Very Happy).
Back to top
Xeda112358


Active Member


Joined: 19 May 2009
Posts: 520

Posted: 13 Feb 2011 04:55:02 pm    Post subject:

I don't use it, either, so yeah, I guess. DoorsCS is also a good alternative as it can run just about everything Very Happy
Back to top
mrmprog


Newbie


Joined: 04 Feb 2011
Posts: 44

Posted: 13 Feb 2011 05:05:31 pm    Post subject:

DCS just seems a little too extensive.
Back to top
Xeda112358


Active Member


Joined: 19 May 2009
Posts: 520

Posted: 13 Feb 2011 05:13:12 pm    Post subject:

agreed Very Happy But if you ever need a standard shell or one of the older libraries (like Celtic 3, xLIB, or Omnicalc), I would recommend DCS.
Back to top
mrmprog


Newbie


Joined: 04 Feb 2011
Posts: 44

Posted: 13 Feb 2011 08:26:22 pm    Post subject:

Anyway, I noticed that if you copy basic to an appvar, and then back, it gives you giberish in the program.
Back to top
Xeda112358


Active Member


Joined: 19 May 2009
Posts: 520

Posted: 13 Feb 2011 08:43:53 pm    Post subject:

Ah, remember that PM you sent me? I think it is the same problem. It is because the OS hasn't actually "initialised" it which kind of sucks Sad Pretty much it has to have been used, I think. I bet if you tried it twice in a row it would work...

Last edited by Guest on 13 Feb 2011 08:45:37 pm; edited 1 time in total
Back to top
mrmprog


Newbie


Joined: 04 Feb 2011
Posts: 44

Posted: 13 Feb 2011 09:51:16 pm    Post subject:

So the appvar has to already exist?
Back to top
Xeda112358


Active Member


Joined: 19 May 2009
Posts: 520

Posted: 13 Feb 2011 10:23:04 pm    Post subject:

I'm not entirely sure... the thing is with LSDOS, I noticed something similar... it wasn't displaying the program code when I copied a program to an appvar, but when I went to run it as a program there was no problem. You can either try reading it twice or writing to it twice. I think it is mostly a problem with the Ans variable.
Back to top
mrmprog


Newbie


Joined: 04 Feb 2011
Posts: 44

Posted: 14 Feb 2011 06:33:00 pm    Post subject:

Reading an appvar twice seems to work, but deleting does not.
Back to top
Xeda112358


Active Member


Joined: 19 May 2009
Posts: 520

Posted: 14 Feb 2011 07:12:57 pm    Post subject:

Deleting doesn't? If you are deleting the appvar HELLO you should do "-5HELLO" in Ans or "-UHELLO"
Just in case, I will upload the version I am using in LSDOS because that one I know works. Just out of curiosity, before you upload this version (if the input was correct for the version you have), try doing "Delvar 5HELLO" because I made an early version that used Delvar, but it was switched to "-" because Delvar takes up 2 bytes and - uses 1 byte. I may have accidentally uploaded that version because I did that with the first few versions of LSDOS :/

EDIT: Yes, that was the problem! Thanks for testing this because otherwise I wouldn't have known I made the error! The version I uploaded had the right version of Opcode.txt but the wrong versions of the program. Thanks!


Last edited by Guest on 14 Feb 2011 07:16:51 pm; edited 1 time in total
Back to top
mrmprog


Newbie


Joined: 04 Feb 2011
Posts: 44

Posted: 14 Feb 2011 08:49:27 pm    Post subject:

YAY thanks, I thought my calc had a problem.
Back to top
Xeda112358


Active Member


Joined: 19 May 2009
Posts: 520

Posted: 14 Feb 2011 09:30:20 pm    Post subject:

Now that I think about it, that did actually have a small chance of crashing if you used "-" with the previous version because it would have tried creating an equation var with a name instead of a token, I think.
Back to top
mrmprog


Newbie


Joined: 04 Feb 2011
Posts: 44

Posted: 14 Feb 2011 09:39:27 pm    Post subject:

Does this mean I now have hidden vars all over the place? I noticed if you use a number as the title of an appvar you can read and write to it, but it does not show up in the mem menu.
Back to top
Xeda112358


Active Member


Joined: 19 May 2009
Posts: 520

Posted: 14 Feb 2011 10:12:24 pm    Post subject:

Are you using any old number or specifically 5? "5" or "U" are specific to appvars. if you used 7 for example, you would be creating a group var (if you do that, DO NOT ungroup it. It will almost absolutely crash the calc Razz)
Back to top
mrmprog


Newbie


Joined: 04 Feb 2011
Posts: 44

Posted: 15 Feb 2011 07:14:18 pm    Post subject:

I only used U, and I cleared my RAM so I should be ok.
Back to top
Xeda112358


Active Member


Joined: 19 May 2009
Posts: 520

Posted: 15 Feb 2011 07:35:07 pm    Post subject:

Hmm, okay. I haven't had problems with crashing unless I use crazy inputs. "5" and "U" are read as the same thing by the program, so "5" should still create an appvar. Of course... if you really wanted to you could make a hidden appvar if its name started with a number. If I did:

Code:

"EHELLO→Str1
"U1HIDE
Asm(prgmCOPYPROG

An appvar will be created called 1HIDE and since its name starts with a number, it will be hidden. The same is true for programs, but the downside is that GetName will not find these.
Back to top
mrmprog


Newbie


Joined: 04 Feb 2011
Posts: 44

Posted: 15 Feb 2011 09:42:48 pm    Post subject:

Very Happy I used copyprog to convert getname to a basic prgm and I got random tokens I had never seen before. Funny, but I do not know why.

Last edited by Guest on 15 Feb 2011 09:43:28 pm; edited 1 time in total
Back to top
Xeda112358


Active Member


Joined: 19 May 2009
Posts: 520

Posted: 16 Feb 2011 08:41:32 am    Post subject:

It is because they aren't BASIC Very Happy When you use AsmComp( (which only works on assembly programs), it compresses the program to pure data instead of hex. If you were to use a program that converts data to hex, you would see it is the hex that is the opcode. Hex uses twice as many bytes as pure data.
Back to top
mrmprog


Newbie


Joined: 04 Feb 2011
Posts: 44

Posted: 16 Feb 2011 08:10:43 pm    Post subject:

In the next version, could you have an error system that returns a different number depending on the problem and if it were successful?
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, 3  Next
» View previous topic :: View next topic  
Page 2 of 3 » All times are UTC - 5 Hours

 

Advertisement