01-09-2009
random RAM question
Random question.
32 bit windows can't address more the 4 gb of RAM, right.
So if you have 4gb of “normal” RAM and 1 gb graphics card window only find 3gb of “normal” ram + your graphics card
following on from this
If you where to put 2 graphics card with 2gb of ram on them each, what would windows do?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Has anyone had any experience with this new processor and its compatability with Linux/Unix? How did it preform comared to regular Athlons and P4's?
I also have one other question. I plan on buying a new dell and fiddling left and right with it. Which type of RAM is better, RDRAM or... (3 Replies)
Discussion started by: KyPeN
3 Replies
2. UNIX for Dummies Questions & Answers
Hi
How can i find the total ram in the system?
:confused: (4 Replies)
Discussion started by: orca
4 Replies
3. UNIX for Dummies Questions & Answers
Hy, I've an 486 dx2 laptop an I want to run unix on it, the problem is it has only 4 megabytes of ram, so my question is; does anybody know an unix based OS which runs with only 4 mb?
thanx (7 Replies)
Discussion started by: counTnegaTive
7 Replies
4. Red Hat
Hi,
On server 64bit Hw Arch , Linux 5.0(32bit) is installed it is showing only 3gb of ram though physical is 16gb
can u give me idea why? (4 Replies)
Discussion started by: manoj.solaris
4 Replies
5. Solaris
Hi all,
The environment we're using is a T5440 running Solaris 10 LDOMs and zones configured within the LDOM. The LDOM has 32Gb of RAM and 32Gb of swap.
Last week, we had an issue where the MQ server on zone 3 crashed as it ran out of swap, apparently caused by zone 2 usage. I understand that... (7 Replies)
Discussion started by: JerryHone
7 Replies
6. Ubuntu
Hi
I am new to expect. Please if any one can help on my issue its really appreciable. here is my issue:
I want expect script for random passwords and random commands generation.
please can anyone help me?
Many Thanks in advance (0 Replies)
Discussion started by: vanid
0 Replies
7. UNIX for Dummies Questions & Answers
I want to generate a random number between 1 and 22.
I believe that the variable $RANDOM generates numbers in the inverval 1-32767.
How do I generate a random integer within a specific interval? (5 Replies)
Discussion started by: locoroco
5 Replies
8. Solaris
We are using oracle database on solaris 10 sparc 64 bit on M5000 machine. we facing performance related issues.
We diagnose using prstat -a command that oracle user not utilizing the ram more than 30 gb total we have 64 gb ram available as in project max-shm-memory set to 42 gb . We are running... (2 Replies)
Discussion started by: zeeshan047
2 Replies
9. Shell Programming and Scripting
Need to use dd to generate a large file from a sample file of random data. This is because I don't have /dev/urandom.
I create a named pipe then:
dd if=mynamed.fifo do=myfile.fifo bs=1024 count=1024
but when I cat a file to the fifo that's 1024 random bytes:
cat randomfile.txt >... (7 Replies)
Discussion started by: Devyn
7 Replies
exsprite(3alleg4) Allegro manual exsprite(3alleg4)
NAME
exsprite - Datafiles access and sprite animation. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
Example exsprite
DESCRIPTION
This example demonstrates how to use datafiles, various sprite drawing routines and flicker-free animation.
Why is the animate() routine coded in that way? As you probably know, VIDEO RAM is much slower than "normal" RAM, so it's advisable to
reduce VRAM blits to a minimum. Drawing sprite on the screen (meaning in VRAM) and then clearing a background for it is not very fast.
This example uses a different method which is much faster, but require a bit more memory.
First the buffer is cleared (it's a normal BITMAP), then the sprite is drawn on it, and when the drawing is finished this buffer is copied
directly to the screen. So the end result is that there is a single VRAM blit instead of blitting/clearing the background and drawing a
sprite on it. It's a good method even when you have to restore the background. And of course, it completely removes any flickering effect.
When one uses a big (ie. 800x600 background) and draws something on it, it's wise to use a copy of background somewhere in memory and
restore background using this "virtual background". When blitting from VRAM in SVGA modes, it's probably, that drawing routines have to
switch banks on video card. I think, I don't have to remind how slow is it.
Note that on modern systems, the above isn't true anymore, and you usually get the best performance by caching all your animations in video
ram and doing only VRAM->VRAM blits, so there is no more RAM->VRAM transfer at all anymore. And usually, such transfers can run in parallel
on the graphics card's processor as well, costing virtually no main cpu time at all. See the exaccel example for an example of this.
SEE ALSO
BITMAP(3alleg4), DATAFILE(3alleg4), END_OF_FUNCTION(3alleg4), END_OF_MAIN(3alleg4), LOCK_FUNCTION(3alleg4), LOCK_VARIABLE(3alleg4),
SCREEN_H(3alleg4), SCREEN_W(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), blit(3alleg4), cir-
cle(3alleg4), clear_bitmap(3alleg4), clear_keybuf(3alleg4), create_bitmap(3alleg4), destroy_bitmap(3alleg4), draw_sprite(3alleg4),
draw_sprite_h_flip(3alleg4), draw_sprite_v_flip(3alleg4), draw_sprite_vh_flip(3alleg4), fixed(3alleg4), font(3alleg4), hline(3alleg4),
install_int_ex(3alleg4), install_keyboard(3alleg4), install_sound(3alleg4), install_timer(3alleg4), itofix(3alleg4), key(3alleg4), key-
pressed(3alleg4), load_datafile(3alleg4), makecol(3alleg4), palette_color(3alleg4), pivot_sprite(3alleg4), pivot_sprite_v_flip(3alleg4),
play_sample(3alleg4), rectfill(3alleg4), replace_filename(3alleg4), rest(3alleg4), screen(3alleg4), set_gfx_mode(3alleg4), set_pal-
ette(3alleg4), text_height(3alleg4), textout_centre_ex(3alleg4), unload_datafile(3alleg4), vsync(3alleg4)
Allegro version 4.4.2 exsprite(3alleg4)