Mail Archives: djgpp/1994/09/26/14:23:03
hi DJGPP's!
I'm a new user of DJGPP, two days ago i installed the compiler and
try tho build my first program on it. But something is not working and i
don't find information about the access of the physical memory in the
computer.
How i can get access to the memory of my computer?
I have a board with memory on it and i need read and write in some
parts of that memory.
I try with a memory pointer some as:
unsigned char *mem;
mem = 0x00400000; /* the first position on the board memory */
*(mem) = 0x4F; /* write a value on the memory */
When I compile the program, the compiler give me the error
"segment violation error "
What's going on?
Thank you in advance
Jorge Castaño Aspas
JORGEC AT PLURI DOT UCM DOT ES
"You can't do anything foolproof, the fools are so ingenious."
- Raw text -