| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | DIVE Questions |
BE>I am looking for any information from anyone who has used the DIVE BE>library for writing directly to OS/2. It just occurred to me that BE>this might meet the requirements for a video interface we have at BE>work. The questions I have are: BE>1) Is it still device independent or do I have to write code for each BE>video card? It is device independant provided your card's drivers support it - I haven't heard of any that don't since DIVE is used by OS/2's video stuff. You have to handle 8, 16 or 24 bit color yourself. So for 8 bit, you have to do palette mapping (16 or 24, you just write the RGB values to RAM yourself.) BE>2) How fast is it? I need to plot information from a real-time device BE>that is attached to a person and be able to keep up with the data feed BE>as well as provide the information to the user. (I know, multiple BE>threads, but if the information gets to the display 30 seconds after I BE>write it, it is of no use.) I tried the timing demo in DLIB06.ZIP (which is a straight bitmap copy) on my 486-66 with ET4000W32i card and got around 25FPS at 800x600x256, about 200FPS in a 1/8 screen window - it is fast enough. It is WAY faster than anything you can do in PM. BE>3) How does it work in terms of living within a PM window? Is it easy BE>to get this to happen? I have only used DIVE version 1.0. There is apparently a DIVE 2.0 coming in OS/2 3.0 that has bitmap scaling, palette handling and other cool stuff built in. DIVE 1 just gives you access to the video buffer. You can happily write ontop of any point on the screen whether you own it or not. You have to calculate where your window is in the video buffer (not too hard) then only draw in that spot, and then suspend it when it is in the background or otherwise deal with windows that overlap yours. Get DIVE.ZIP for a DIVE sample program. Rob. ___ X SLMR 2.1a X Yield to temptation, it may not pass your way again. --- Maximus/2 2.01wb* Origin: The Idle Task... (604)275-0835 Richmond BC. (1:153/905) SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413 SEEN-BY: 711/430 807 808 809 934 942 712/353 623 713/888 800/1 @PATH: 153/905 828 7041 3615/50 229/2 12/2442 711/409 54/54 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™.