#45894 - AkumaATR - Thu Jun 16, 2005 4:11 am
-- Immese appreciation to anyone who helps me det. what is causing this issue --
I have uploaded the Visual HAM project folder I am discussing to:
http://home.insightbb.com/~cecil.jason/files/wtf.zip
I have NO clue what's going on with this strange glitch. My program simply displays an image (bitmap mode, software) and scrolls some pixels over it (typical scrolling star program).
The weird thing is that there is a strange pixel glitch on the screen. I edited the source image I use as my background, adding a square so that the glitch would stand out more.
Weird things about this glitch:
If you swap line x and y (commented as such), the glitch goes away. the reason i don't want to keep it this way is that i would rather load the image from some ram that's faster than game rom (i was also using DMA earlier (why i need the image in something other than game rom)), but stripped down my code to try and pinpoint the cause of this glitch).
Basically, I have an array that I fill to mirror the image from game rom (i believe these structures are mirrored properly in memory as the code that fills them up is quite basic).
If I display from the array in faster memory, the glitch occurs. If I display from game rom, it doesn't. I suspect the glitch *may* have something to do with double buffering. Another strange thing is that if I change the number of stars, the location of the glitch onscreen moves. Total strangeness.
Also, sorry for posting so much the last few days. I am working on this stuff pretty much 10 hours a day as of a few weeks ago, so I have plenty of time to run into problems. Hopefully I'll be over the learning curve soon.
Jason
I have uploaded the Visual HAM project folder I am discussing to:
http://home.insightbb.com/~cecil.jason/files/wtf.zip
I have NO clue what's going on with this strange glitch. My program simply displays an image (bitmap mode, software) and scrolls some pixels over it (typical scrolling star program).
The weird thing is that there is a strange pixel glitch on the screen. I edited the source image I use as my background, adding a square so that the glitch would stand out more.
Weird things about this glitch:
If you swap line x and y (commented as such), the glitch goes away. the reason i don't want to keep it this way is that i would rather load the image from some ram that's faster than game rom (i was also using DMA earlier (why i need the image in something other than game rom)), but stripped down my code to try and pinpoint the cause of this glitch).
Basically, I have an array that I fill to mirror the image from game rom (i believe these structures are mirrored properly in memory as the code that fills them up is quite basic).
If I display from the array in faster memory, the glitch occurs. If I display from game rom, it doesn't. I suspect the glitch *may* have something to do with double buffering. Another strange thing is that if I change the number of stars, the location of the glitch onscreen moves. Total strangeness.
Also, sorry for posting so much the last few days. I am working on this stuff pretty much 10 hours a day as of a few weeks ago, so I have plenty of time to run into problems. Hopefully I'll be over the learning curve soon.
Jason