0 Members and 7 Guests are viewing this topic.
HoMM: [==--------] Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :PtiDE: [----------] Explored and understood the main part of the code: just started writing a Tokenizer.
Weird bug that I can't seem to understand sometimes after running an Axe program random characters will appear on the screen, can't post a screen shot but it kind of looks like the following (I will use the & symbol for blank spaces)Should be happeningXXXXXXXXXXXXXXXXX&&&&&&&&&&&&&&XX&&&&&&&&&&&&&&XX&&&&&&&&&&&&&&XX&&&&&&&&&&&&&&XX&&&&&&&&&&&&&&XX&&&&&&&&&&&&&&XXXXXXXXXXXXXXXXXWhat is happening is that after it displays the above and ends the program, on a random column, a random tile will be completely black and then a random character will appear under it and they will alternate until it gets to the bottom of the screen. No idea why, it has happened before when I was just messing around with code, but i don't remember my source from before.
Quote from: guy6020665 on August 24, 2010, 05:55:14 pmWeird bug that I can't seem to understand sometimes after running an Axe program random characters will appear on the screen, can't post a screen shot but it kind of looks like the following (I will use the & symbol for blank spaces)Should be happeningXXXXXXXXXXXXXXXXX&&&&&&&&&&&&&&XX&&&&&&&&&&&&&&XX&&&&&&&&&&&&&&XX&&&&&&&&&&&&&&XX&&&&&&&&&&&&&&XX&&&&&&&&&&&&&&XXXXXXXXXXXXXXXXXWhat is happening is that after it displays the above and ends the program, on a random column, a random tile will be completely black and then a random character will appear under it and they will alternate until it gets to the bottom of the screen. No idea why, it has happened before when I was just messing around with code, but i don't remember my source from before.This is leftover data in L6. If you use L6 in your program, you should have a ClrHome near the end.
That is indeed something weird with the homescreen... I've seen that before (not in Axe), but never heard why.Yeah, a ClrHome should fix it, though it is often a sign of something more serious (And btw, this should have nothing to do with L6 )
yes, since there are 128 char places on the screen, the length of L5 is 128 bytes. so you could write your own Disp or Output( routine