04-28-2014
Thanks a lot Mr. Smiling Dragon.
I will try your steps and tell you the result, or tell any problem.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there, I'm a newbie so please be patient. I wanted to know if it was possible to run X server on a box w/o a video card. The reason I want to do this is I'd like to have a CDE session from sun workstation into the AIX box. Please let me know if this is feasible. Thanks for your time. (5 Replies)
Discussion started by: blah00000
5 Replies
2. UNIX Desktop Questions & Answers
what is the procedure of installing a vga on the unix desktop?
i have a dell machine optiplex gx 520
and it doesnt pick the vga i tryed other vga s but graphics are so poor?
pls help. (2 Replies)
Discussion started by: Linus Aloo
2 Replies
3. Solaris
i just got a sun ultra 1 from a guy. (for free)
but it has no graphic card. how do install solaris 8 ? and how do i controll it afterwards ? ssh ?
thanks Mads Nielsen (2 Replies)
Discussion started by: mads-nielsen
2 Replies
4. Solaris
is it possible to swap the Turbo XGX graphics card in the SS5 to the ULTRA server 1 ? and do they use the same type of RAM ?
Thx. (0 Replies)
Discussion started by: mads-nielsen
0 Replies
5. Solaris
All,
I see that there are 2 nic card available . How can I know all the details about these 2 nic cards.
-rw-r--r-- 1 root root 10 Apr 16 15:00 hostname.bge0
-rw-r--r-- 1 root other 17 Apr 22 08:56 hostname.bge2
please let me know
thanks
-prasad (4 Replies)
Discussion started by: p4cldba
4 Replies
6. Red Hat
I am planning on building a fedora box with raid controller (database server).
Is anybody done that ? also what kind of software do you need to backup and recover data. (1 Reply)
Discussion started by: amir07
1 Replies
7. HP-UX
Hi Gurus,
I'm trying to install Oracle on HP-UX 11.23. The Oracle installer needs an X server running on the box. You then start an X client on your PC, export the DISPLAY on UNIX and the installer displays on your PC. The problem is that my HP boxes do not have graphics cards installed. ... (6 Replies)
Discussion started by: kskywr
6 Replies
8. Programming
Im trying to make a vga program for linux Im wondering if anyone knows of a simple document on the subject or if someone could show me some basics. What system calls should I use what parameters should I give them. How do I draw a line of pixels green after in vga mode. I prefer nasm but I can use... (2 Replies)
Discussion started by: Errigour
2 Replies
9. Linux
I have one monitor,two vga cards,one is nvidia(host)
the other ati rs450(guest),I use this script for use a vm
windows with a native gpu(the ati rs450)
I see this video and seems to be possible using only one
monitor,but I don't understand how to do
The video
QEMU VGA passthrough without a... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies
LEARN ABOUT DEBIAN
fixsub
fixsub(3alleg4) Allegro manual fixsub(3alleg4)
NAME
fixsub - Safe function to subtract fixed point numbers clamping underflow. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
fixed fixsub(fixed x, fixed y);
DESCRIPTION
Although fixed point numbers can be subtracted with the normal '-' integer operator, that doesn't provide any protection against overflow.
If overflow is a problem, you should use this function instead. It is slower than using integer operators, but if an overflow occurs it
will set `errno' and clamp the result, rather than just letting it wrap. Example:
fixed result;
/* This will put 4965 into `result'. */
result = fixsub(itofix(5000), itofix(35));
/* Sets `errno' and puts -32768 into `result'. */
result = fixsub(itofix(-31000), itofix(3000));
ASSERT(!errno); /* This will fail. */
RETURN VALUE
Returns the clamped result of subtracting `y' from `x', setting `errno' to ERANGE if there was an overflow.
SEE ALSO
fixadd(3alleg4), fixmul(3alleg4), fixdiv(3alleg4)
Allegro version 4.4.2 fixsub(3alleg4)