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?
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?
My prizm Software version says 01.02.02.
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.
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.
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?
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.)
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?
_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.
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.
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.
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?
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.
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
  
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
Page 1 of 1
» All times are UTC - 5 Hours
 
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

 

Advertisement