home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.apple2      Discussion about Apple II micros      56,720 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 55,481 of 56,720   
   Kent Dickey to peter.ferrie@gmail.com   
   Re: Screen Scrolling   
   09 May 22 04:03:44   
   
   From: kegs@provalid.com   
      
   In article ,   
   qkumba   wrote:   
   >HLINE and VLINE don't scroll.   
      
   To give a little more detail, try the following:   
      
    10  FOR I = 0 TO 23   
    20  COLOR= 3   
    30  HLIN 0,39 AT I * 2   
    40  COLOR= 10   
    50  HLIN 0,39 AT I * 2 + 1   
    60  NEXT   
    70  FOR I = 1 TO 10000000   
    80  NEXT   
      
   The HLIN (and VLIN and PLOT) commands work on the text screen, if you don't   
   give GR.   
      
   This writes "#" characters to the screen, and does not scroll.  For the   
   character you want in hex, (0x23 for #), write each hex digit as decimal,   
   which is easy for this case: 2 and 3.  Put the low digit in the 20 COLOR=   
   line, and put the upper digit, plus 8 (to not be inverse or flashing) in   
   the 40 COLOR= line.   
      
   To fill the screen with "L", which is 0x5a, do 20 COLOR=10, 40 COLOR=13.   
      
   The FOR loop in lines 70,80 just show that the screen isn't scrolling.   
   Press ctrl-c to stop.   
      
   This doesn't work in 80 columns.   
      
   Kent   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca