CEMETECH
Leading The Way To The Future
Login [Register]
Username:
Password:
Autologin:

Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 132 users online: 10 members, 100 guests and 22 bots.
Members: Ashbad, CalebHansberry, HOMER-16, lboe, LuxenD, rcfreak0, Spyro543, tifreak8x.
Bots: Spinn3r (1), MSN/Bing (1), Magpie Crawler (1), Googlebot (19).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
Author Message
Oweng4000


Advanced Newbie


Joined: 01 Oct 2011
Posts: 51
Location: Lost in space

Posted: 12 Oct 2011 11:17:56 am    Post subject: Prizm Color Commands Problem.


Code:
'ProgramMode:RUN
0->A~Z
'DELAYSET'
0->E
'MAZEBUILD'
Locate 15,1,"_#E6A6_"
Locate 15,2,"_#E6A6_"
Locate 15,3,"_#E6A6_"
Locate 15,4,"_#E6A6_"
Locate 15,5,"_#E6A6_"
Locate 15,6,"_#E6A6_"
Locate 15,7,"_#E6A6_"
Locate 1,1,"_#E6A6_"
Locate 1,2,"_#E6A6_"
Locate 1,3,"_#E6A6_"
Locate 1,4,"_#E6A6_"
Locate 1,5,"_#E6A6_"
Locate 1,6,"_#E6A6_"
Locate 1,7,"_#E6A6_"
Locate 15,1,"_#E6A6_"
Locate 14,1,"_#E6A6_"
Locate 13,1,"_#E6A6_"
Locate 12,1,"_#E6A6_"
Locate 11,1,"_#E6A6_"
Locate 10,1,"_#E6A6_"
Locate 9,1,"_#E6A6_"
Locate 8,1,"_#E6A6_"
Locate 7,1,"_#E6A6_"
Locate 6,1,"_#E6A6_"
Locate 5,1,"_#E6A6_"
Locate 4,1,"_#E6A6_"
Locate 3,1,"_#E6A6_"
Locate 2,1,"_#E6A6_"
Locate 1,1,"_#E6A6_"
Locate 15,7,"_#E6A6_"
Locate 14,7,"_#E6A6_"
Locate 13,7,"_#E6A6_"
Locate 12,7,"_#E6A6_"
Locate 11,7,"_#E6A6_"
Locate 10,7,"_#E6A6_"
Locate 9,7,"_#E6A6_"
Locate 8,7,"_#E6A6_"
Locate 7,7,"_#E6A6_"
Locate 6,7,"_#E6A6_"
Locate 5,7,"_#E6A6_"
Locate 4,7,"_#E6A6_"
Locate 3,7,"_#E6A6_"
Locate 2,7,"_#E6A6_"
Locate 1,7,"_#E6A6_"
Locate 6,5,"_#E6A6_"
Locate 7,5,"_#E6A6_"
Locate 6,4,"_#E6A6_"
Locate 6,3,"_#E6A6_"
Locate 7,3,"_#E6A6_"
Locate 8,3,"_#E6A6_"
Locate 9,3,"_#E6A6_"
Locate 10,3,"_#E6A6_"
Locate 10,4,"_#E6A6_"
Locate 10,5,"_#E6A6_"
Locate 9,5,"_#E6A6_"
Blue Locate 9,4,"U"
5->X
5->Y
Locate X,Y,"O"
Prog "WAIT"
'ENEMY'
Do
Getkey->A
If A=28 And Y<>20
Then
Locate X,Y," "
Y-1->Y
Locate X,Y,"_#E6A8_"
Else
Locate X,Y,"_#E6A8_"
IfEnd
If A=37 And Y<>6
Then
Locate X,Y," "
Y+1->Y
Locate X,Y,"_#E6A8_"
Else
Locate X,Y,"_#E6A8_"
IfEnd
If A=27 And X<>14
Then
Locate X,Y," "
X+1->X
Locate X,Y,"_#E6A8_"
Else
Locate X,Y,"_#E6A8_"
IfEnd
If A=38 And X<>2
Then
Locate X,Y," "
X-1->X
Locate X,Y,"_#E6A8_"
Else
Locate X,Y,"_#E6A8_"
IfEnd
Locate 9,4," "
Blue Locate 8,4,"U"
Prog "WAIT"
Locate 8,4," "
Blue Locate 7,4,"U"
Prog "WAIT"
Locate 7,4," "
Blue Locate 8,4,"U"
Prog "WAIT"
Locate 8,4," "
Blue Locate 9,4,"U"
Prog "WAIT"
Yellow Locate X,Y,"_#E6A8_"
LpWhile 1=1


All right so this is my program. In order to run it, your also going to need my WAIT program which consists of this

Code:

Z->0
Do
Z+1->Z
LpWhile Z<E


E is defined in the program above.

The problem I'm having involves the color commands. When I set the U to become Blue, it stays black and the block next to it becomes blue. So does anybody have any idea why this is happening?
Back to top
Ashbad


... I think redheaded girls are kind of cool


Joined: 01 Dec 2010
Posts: 2418
Location: Stomp Stomp Stomp, The Idiot Convention

Posted: 12 Oct 2011 11:27:28 am    Post subject:

I see you're using some strange characters there. I'm unsure if it's the root of your problems, but certain Prizm OS versions that came default on the calculators have problems with locating with colors when these strange two-byte characters are used. A usual fix is to not use any strange characters, unfortunately. However, we can most likely determine if this is the cause if we knew your exact OS version; do you know what it is, and would you mind sharing it?
_________________
-Ashbad
Back to top
Oweng4000


Advanced Newbie


Joined: 01 Oct 2011
Posts: 51
Location: Lost in space

Posted: 12 Oct 2011 11:41:02 am    Post subject:

My prizm Software version says 01.02.02.
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55751
Location: Earth, Sol, Milky Way

Posted: 13 Oct 2011 12:10:21 am    Post subject:

Oweng: Have you tried using SourceCoder to interpret the .g3m's of your programs rather than grabbing the .txt's? It can probably render slightly more attractive code, such as the actual symbols. Smile I should caution you that I'm still teaching it two-byte symbols like E6A6, though. That's off-topic, though; hopefully we can get this fixed. Ashbad, he said it was happening with one-byte tokens like "U" too.
_________________


Back to top
Ashbad


... I think redheaded girls are kind of cool


Joined: 01 Dec 2010
Posts: 2418
Location: Stomp Stomp Stomp, The Idiot Convention

Posted: 13 Oct 2011 06:15:29 am    Post subject:

KermMartian wrote:
Oweng: Have you tried using SourceCoder to interpret the .g3m's of your programs rather than grabbing the .txt's? It can probably render slightly more attractive code, such as the actual symbols. Smile I should caution you that I'm still teaching it two-byte symbols like E6A6, though. That's off-topic, though; hopefully we can get this fixed. Ashbad, he said it was happening with one-byte tokens like "U" too.


Well, it can happen with any tokens if there are strange characters on the homescreen; I think the average guess is that on these nasty OS versions, it treats color commands applied to the homescreen buffer treating all characters as one byte.
_________________
-Ashbad
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55751
Location: Earth, Sol, Milky Way

Posted: 13 Oct 2011 07:53:01 am    Post subject:

Ahh, that makes sense, thanks for the clarification. I heard that there was an older OS version floating around that repaired the issue? I wouldn't mind if Casio got their act together and issued a newer OS that fixes this, though; do you know if anyone has tried contacting them?
_________________


Back to top
JosJuice


Power User


Joined: 17 Oct 2010
Posts: 306
Location: Sweden

Posted: 13 Oct 2011 10:55:32 am    Post subject:

KermMartian wrote:
Ahh, that makes sense, thanks for the clarification. I heard that there was an older OS version floating around that repaired the issue? I wouldn't mind if Casio got their act together and issued a newer OS that fixes this, though; do you know if anyone has tried contacting them?
01.02.0200 doesn't have the glitch, but just like 01.01.0200, it's not available for download. The only OS that can be downloaded is 01.02.0200, and that one has the glitch. (No, that's not a spelling error.)
Back to top
_player1537


Guru-in-Training


Joined: 25 Nov 2009
Posts: 2958

Posted: 13 Oct 2011 12:25:48 pm    Post subject:

How is 01.02.0200 different from the second time you wrote 01.02.0200? Was that perhaps a typo, since you had said that it didn't have the glitch and then that it did?
_________________
http://tanner.myserverathome.com
Back to top
JosJuice


Power User


Joined: 17 Oct 2010
Posts: 306
Location: Sweden

Posted: 13 Oct 2011 12:29:27 pm    Post subject:

_player1537 wrote:
How is 01.02.0200 different from the second time you wrote 01.02.0200? Was that perhaps a typo, since you had said that it didn't have the glitch and then that it did?
No, that's what wasn't a typo. There are two different OSes that are named 01.02.0200 for some reason.
Back to top
z80man


New Member


Joined: 01 May 2011
Posts: 77
Location: City 17

Posted: 13 Oct 2011 03:25:00 pm    Post subject:

The difference between 01.02.0200 and 01.02.0200 is that one was preloaded onto calcs while the other was downloaded. I haven't checked yet which version of 01.02.0200 Casio is currently preloading on their Prizm's so I'll go grab my sister's calc which is only about 2 months old.
Back to top
Oweng4000


Advanced Newbie


Joined: 01 Oct 2011
Posts: 51
Location: Lost in space

Posted: 13 Oct 2011 04:03:43 pm    Post subject:

z80man wrote:
The difference between 01.02.0200 and 01.02.0200 is that one was preloaded onto calcs while the other was downloaded. I haven't checked yet which version of 01.02.0200 Casio is currently preloading on their Prizm's so I'll go grab my sister's calc which is only about 2 months old.


I haven't updated since i got it, as the loader is PC only and i'm a mac.
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55751
Location: Earth, Sol, Milky Way

Posted: 14 Oct 2011 07:53:39 pm    Post subject:

Let's come up with something to differentiate those two; call them 01.02.0200.dl and 01.02.0200.preload, then. Smile Has anyone tried to do disassembly and then diff'ing on the two versions?
_________________


Back to top
JosJuice


Power User


Joined: 17 Oct 2010
Posts: 306
Location: Sweden

Posted: 15 Oct 2011 02:09:12 am    Post subject:

KermMartian wrote:
Let's come up with something to differentiate those two; call them 01.02.0200.dl and 01.02.0200.preload, then. Smile Has anyone tried to do disassembly and then diff'ing on the two versions?
No, because nobody has been able to dump OSes from the calc. The downloaded version of 01.02.0200 is the only one that we've been able to look at.
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55751
Location: Earth, Sol, Milky Way

Posted: 15 Oct 2011 06:08:21 am    Post subject:

Ah, I didn't really think about that, although it should have been obvious. I'm sure we'll come up with something eventually. Smile
_________________


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
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are GMT - 5 Hours

 
Jump to:  
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.033760 seconds.