TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Fitzsimmons
from: Mario Semo
date: 1995-04-15 11:30:06
subject: direct video access

Hello Peter,

On Apr 02 19:15 95, Peter Fitzsimmons of 1:259/414 wrote:

 PF> The following program uses VioGetPhysBuf (and can therefore 
 PF> only be run in a full-screen session) to draw a series of 

 PF> It was compiled with IBM cset++ thus:

 PF> icc /G4 /Q /Smes /W3 /Kb+ /O /Gs /Gm circ_fs.c

 PF> I was not able to get the program to function properly when 
 PF> compiled with Borland/2 or Watcom 32bit (works ok Watcom 
 PF> 16bit).

FYI:

I've tried your code with CSET++ 2.1 GA, CTC11, CTM9, CTU3. WARP GA + FP5,
Toolkit 3.0 GA. 
SVGA 2MB Videocard.

The program draws some circle, i can see them for about 0.1 sec and then traps. 

Then i removed the DosSetPriority and compiled with MS-C6.0a and it works great. 

 WARPED!, Mario

--- 
* Origin: LC/32 Development Team-Vienna-Austria (2:310/14.11)
SEEN-BY: 105/42 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: 310/14 90 30 2490/1301 240/5500 24/999 2/777 105/42 712/515 711/808
@PATH: 711/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™.