home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
util4
/
ega.lzh
/
PANSCRN.DOC
< prev
next >
Wrap
Text File
|
1986-01-10
|
1KB
|
30 lines
PANSCRN - Hardware Panning for the IBM Enhanced Graphics Adapter
-------
by Doug Wolfgram - President, Microtex Industries - Co-author of PCPAINT.
PANSCRN is a simple demo showing off the hardware panning and scrolling
capabilities of the IBM EGA. To run PANSCRN, you must have an EGA with
at least 128K of memory on it and both PANSCRN.EXE & PANSCRN.PIC in the same
directory. PANSCRN.PIC is just a 16 color PCPAINT PLUS picture that I drew.
If you like, you may create any 640x350 PCPAINT PLUS 16 color picture and
rename it PANSCRN.PIC and it will work. Of course, if you have PCPAINT PLUS,
you may use this picture to play with as well. The core of this demo is a
little assembly language subroutine that sets up a virtual window as large
as I tell it, (provided the EGA has enough memory!) and then, upon command,
puts the coordinate I tell it at the top left corner of the screen. So by
writing a bunch of little loops that move the screen 1 pixel at a time, I
can smoothly scroll around the screen wherever I want. This demo runs in
320x200 16 color mode.
If you have any questions or want to know how to do it yourself, call me at:
PCPAINT PICTURE SWAP LINE
A PCBOARD BBS
24 Hours
(714) 545-8100 --- Soon on PC PURSUIT!
Sorry, no 2400 baud yet!
- doug