Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- QWIKC20 & Multi-Level Virtual Windows - <b>---------------------------------------------------------------------------</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ---------------------------------------------------------------------------
 qscrollup                                                             QWIKC
 ---------------------------------------------------------------------------
 Function       Scrolls a rows-by-columns block up on the current screen and
                clears the bottom row of the block.
 Syntax         void qscrollup( unsigned char row, unsigned char col,
                                unsigned char rows, unsigned char cols,
                                int blankattr );
 Remarks        To keep it simple, the block encompasses all affected rows
                including the row to be cleared.  The upper left corner of
                the block starts at (row,col) and the block size is rows by
                cols.  The first row will be scrolled out and lost while the
                last row will be cleared with the attribute of blankattr
                (SAMEATTR is permitted).  Note that you can even change 1
                row and/or 1 column.  The cursor is not moved, but is ready
                to be moved with gotoeos.  The cpuid lets the routine choose
                the best speed.
 Return value   None.
 Screens        All video pages and virtual screens.
 EOS            Updated to first cleared column of the cleared row.
 Restrictions   Stay within the screen limits.
 Example        To scroll up the entire screen and clear the last row with
                light cyan on blue:

                  qscrollup( 1, 1, crt_rows, crt_cols, LIGHTCYAN+BLUE_BG );


See Also: qscrolldown() gotoeos()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson