Mail Archives: djgpp/1994/09/27/15:53:15
> unsigned char *mem;
>
> mem = 0x00400000; /* the first position on the board memory */
> *(mem) = 0x4F; /* write a value on the memory */
>
For the physical memory access you should offset the memory location
with 0xe0000000 (see DJPPP README doc.).
> When I compile the program, the compiler give me the error
> "segment violation error "
> What's going on?
>
I guess, what are you reporting here is a run time error rather than a
compile time error?
- Raw text -