home *** CD-ROM | disk | FTP | other *** search
/ Prima Shareware 3 / DuCom_Prima-Shareware-3_cd1.bin / PROGRAMO / PASCAL / PASEX / README < prev    next >
Encoding:
Text File  |  1995-03-15  |  2.0 KB  |  62 lines

  1.  
  2.                    ▀▀▀█ ██▀█ ▀▀▀█ ██▀█ ██▀█ ██ ██▀█ ██▀█
  3.                    ██ █ ██ █ ██ █ ██ █ ██ █ ██ ██ █ ██ █
  4.                    ██ █ ██ █ ██ █ ██ █ ██ █ ██ ██▄▄ ██▄
  5.                    ██▀▀ ██▀█ ██▀▄ ██▀█ ██ █ ██ ▄▄ █ ██ ▄
  6.                    ██   ██ █ ██ █ ██ █ ██ █ ██ ██ █ ██ █
  7.                    ██   ██ █ ██ █ ██ █ ██ █ ██ ██ █ ██ █
  8.                    ██   ██ █ ██ █ ██ █ ██▄█ ██ ██▄█ ██▄█
  9.  
  10.                      · p · r · e · s · e · n · t · s ·
  11.  
  12.                   ┌──---- ∙ --─────────────────-- -─────┐
  13.                   |   640x400 image scrolling example   |
  14.                   └───-- -─────────--───────----- ∙ --──┘
  15.  
  16.  
  17.       Some dood asked me a while ago 'bout some pascal examples
  18.       for scrolling huge image arrays in normal vga screen.
  19.       So, i make some.. for him and to test my friends 3d studio.
  20.       The biggest screen that you can scroll on normal vga card
  21.       (no svga) is 640x400. Why? cuz you have 64kb free memory
  22.       in 13h (320x200x256) mode. So, if u use chain-4 mode then
  23.       one byte plot 4 pixels, you can change what pixels must be
  24.       then plotted by setting planes.
  25.       So, if one byte sets 4 pixels then 64kb sets 320*200*4 pixels
  26.       and here you have 4 graphics pages!
  27.       But if you want to scroll 4 pages across then also you must
  28.       change screen width (notmal is 80 cuz 80*4=320) to 160
  29.       (160*4=640 - screen width). And then you can change position
  30.       in 640x400 screen by changing start screen offset.
  31.       So, that is all.. easy isn't it?
  32.       Sorry 4 that [english] language ;)
  33.  
  34.       Btw. you can use that piece of code in yer programs but remember
  35.       to credit or greet me :)
  36.       You can contact me on irc or mpoli bbs or by mail to :
  37.   
  38.       Snail-mail:                        E-mail:
  39.        Marcin Jaskowiak                  paradise@bachus.umcs.lublin.pl
  40.        Flat 114, 3 Zarnowiecka Str.
  41.        30-640 Lublin, Poland
  42.  
  43.  
  44.  
  45.                             That's all folks!
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.