home *** CD-ROM | disk | FTP | other *** search
/ Reality Check Network 37 / screenshot04.png < prev    next >
Portable Network Graphic  |  1997-01-01  |  7KB  |  640x400  |  4-bit (6 colors)
Labels: text | screenshot | display | font
OCR: REALITY CHECK NETWORK! I made this code a while ago for the Motiv8 news reader. It's hard to explain how the main proc (SetScreenColor) works, but all you have to understand is how it works. Basiclly this proc adjusts the text viewport, so we can load a big screen to the memory and then adjust the viewport up down and see it all. So, with this proc you can also make an ANSI text smooth viewer (which by the way will be on my next article). This proc divides each line into 16 other small lines, so 1 screen worth 25*16=400 lines. When you've got 400 lines you can scroll up and down and it'll look smooth. program bouncing_ansi ; uses crt , hscplay; const [F1]=Options [S]=Search