I am trying to write a very simple C program in which I am trying to write to the memory on my computer in DOS. This is what I am trying to do.
Say I have the data stored as:
and my memory location and size is defined as follow:Code:short data=0x1111;
Basically I am trying to write the data (0x1111) at the memory map location 0xe000.Code:#define ADDRESSOFMEMORY 0xe0000 //address of memory #define SIZEOFMEMORY 0x4000 //size of meory
How can I do that?