Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text scrolling
#1
I'm continuing my porto of an old ZX Spectrum program.
Now the next problem:
It was text based and printed everything to the bottom of the screen and the rest of the screen was scrolled.

With the Boriel Basic the behavior is different: Once the bottom of the screen is reached printing rolls over and continues at the top of the screen.

Is it possible to change the behavior so that it scrolls?
Reply
#2
You can scroll the screen using the scroll.bas library, but I can also add the default scroll behaviour to the compiler.
What compiler version are you using?
Reply
#3
zxb 1.9.2
Reply
#4
I had a look at scroll.bas.
It seems that this is are bare scrolling routines.
I.e. it is not connected with printing or is it?
I mean, it does not automatically scroll if I printed the whole screen. Or does it?
Reply
#5
Exactly.
But I can enable normal PRINT behaviour for compatibility. Will add that update. :roll: (nobody wanted Scroll before)
Reply
#6
OK, thanks.
Reply
#7
Try this version (beta), and tell me if it works.
It's exactly as 1.9.2. It just add the print scrolling (without the "scroll?" message!)
<!-- m --><a class="postlink" href="http://boriel.com/files/zxb/zxbasic-1.9.3-win32.zip">http://boriel.com/files/zxb/zxbasic-1.9.3-win32.zip</a><!-- m -->
<!-- m --><a class="postlink" href="http://boriel.com/files/zxb/zxbasic-1.9.3.tar.gz">http://boriel.com/files/zxb/zxbasic-1.9.3.tar.gz</a><!-- m -->
<!-- m --><a class="postlink" href="http://boriel.com/files/zxb/zxbasic-1.9.3.zip">http://boriel.com/files/zxb/zxbasic-1.9.3.zip</a><!-- m -->

And tell me, please :roll:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)