07-30-2008
About the registers.
Is there any way to find how many registers are there in my system.
I am using Intel(R) Pentium(R) 4 CPU 3.00GHz. My OX is GNU linux.
3 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hello friends,
While in the process of writing device drivers,
i am facing problem in reading and writing device registers.I got base address of those mapped device registers. Can i add offset of those registers to that Base address to get access of those... (1 Reply)
Discussion started by: sriram.ec
1 Replies
2. Programming
Dear
i do not understand that function used for clear screen (given below)
cls
{
union REGS i,o;
i.h.ah=6;
i.h.al=0;
i.h.ch=0;
i.h.cl=0;
i.h.dh=24;
i.h.dl=79;
i.h.bh=7;
int86(16,&i,&o);
}
In Above function Registers are used(i think) but why and internally what the do for clearing... (3 Replies)
Discussion started by: brain_full
3 Replies
3. Solaris
hi,'m using the 5.11 kernel version on amd64 architecture, 32-bit. i need help on the following issues
1)a proper structure to represent the register structure in the architecture
2)a function which would change the register values of the child when the control is with the parent.. ptrace_setregs... (0 Replies)
Discussion started by: sayaproj
0 Replies
LEARN ABOUT DEBIAN
cpu_family
cpu_family(3alleg4) Allegro manual cpu_family(3alleg4)
NAME
cpu_family - Contains the CPU type. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
extern int cpu_family;
DESCRIPTION
Contains the Intel type, where applicable. Allegro defines the following CPU family types:
CPU_FAMILY_UNKNOWN - The type of processor is unknown
CPU_FAMILY_I386 - The processor is an Intel-compatible 386
CPU_FAMILY_I486 - The processor is an Intel-compatible 486
CPU_FAMILY_I586 - The processor is a Pentium or equivalent
CPU_FAMILY_I686 - The processor is a Pentium Pro, II, III
or equivalent
CPU_FAMILY_ITANIUM - The processor is an Itanium processor
CPU_FAMILY_POWERPC - The processor is a PowerPC processor
CPU_FAMILY_EXTENDED - The processor type needs to be read
from the cpu_model
You can read this variable after you have called check_cpu() (which is automatically called by allegro_init()).
SEE ALSO
check_cpu(3alleg4), cpu_vendor(3alleg4), cpu_model(3alleg4), cpu_capabilities(3alleg4), allegro_init(3alleg4)
Allegro version 4.4.2 cpu_family(3alleg4)