TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Rob Basler
from: Doug Shields
date: 1995-10-09 13:30:12
subject: VioGetPhysBuf 1/

DS>seem to get VioGetPhysBuf to work.  I expected it to be the
DS>easiest part, but it eludes me even though all the 'tough'
DS>parts are working flawlessly.
 RB> Here's some code I wrote based on someone else's code for doing full
 RB> screen 320x200 graphics, it is loosely modeled after the Borland

Thanks Rob.  My own code is geared to 1024x768x256 at the moment simply
because of the ease of determining the banks with a 1024 byte scanline.  If
it looks useful enough in its finished state I will likely extend it to
include other modes.  Since it is just the video buffer that is giving me
trouble I zeroed in on your VioGetPhysBuf.  With the exception of forming
the pointer manually rather than through a macro it is essentially the
same.  So I now have 4 essentially identical pieces of code... yours, mine,
the SVGA lib for EMX, and the mode X library.  Mine is the only one I have
tried using lately, but I will try building the others to test if they
work.

BTW: Were you able to actually try building and running the little text
version I posted in my original message ?

--- Maximus/2 3.00
* Origin: PowerHouse Point, Burnaby, BC - 604-431-4569/9365 - (1:153/894)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 153/894 7070 3615/50 396/1 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.