Horizontal HIRES and Text scrolling code needed.
Posted: Mon Jun 24, 2013 9:05 am
What I need is to scroll a line to the left on hires with given number of lines 1 bit each time.
I don't know C language so OSDK is very away from me. So direct op code listing is good.
I plan to rotate each byte, add one pixel to the left byte if carry is set to 1.
I wonder if this scroll is fast enough on the screen for about 100 lines each time.
Is there a such ready-made machine code routine?
If not available or if such a scroll would be so slow for a game , a text scroll routine is also needed with one byte/ character scroll is this time.Text scrolling is easier of course and I think I could do that but if a ready text scroll code is available I can use that too.
My machine code programming capability was better than this time . I was coding in machine code by directly hex codes like #A9 means LDA , #85 means STA etc. Now I see that I forgot many things and need help
Also I always mix addressing modes too. Now it seems more complicated than the past to me
I want also to modify the code to not affect some characters on the screen while scrolling so that flickering of the characters on the scrolling lines won't happen.
So to cut it short, is there such screen scrolling codes available ?
I don't know C language so OSDK is very away from me. So direct op code listing is good.
I plan to rotate each byte, add one pixel to the left byte if carry is set to 1.
I wonder if this scroll is fast enough on the screen for about 100 lines each time.
Is there a such ready-made machine code routine?
If not available or if such a scroll would be so slow for a game , a text scroll routine is also needed with one byte/ character scroll is this time.Text scrolling is easier of course and I think I could do that but if a ready text scroll code is available I can use that too.
My machine code programming capability was better than this time . I was coding in machine code by directly hex codes like #A9 means LDA , #85 means STA etc. Now I see that I forgot many things and need help
Also I always mix addressing modes too. Now it seems more complicated than the past to me
I want also to modify the code to not affect some characters on the screen while scrolling so that flickering of the characters on the scrolling lines won't happen.
So to cut it short, is there such screen scrolling codes available ?