DOS.
Type: Posts; User: modest
DOS.
here is my program that I am using to write to address location e000h
//The essentials
#include <stdio.h>
#include <stdlib.h>
#define ADDR 0xe0000
Guys thank you very much for all the advice and help. It seems that my program is not writing to the desired location (e000h) I verified this with DOS "debug" utility. How can I debug my program?
Thanks dwks!
Also I noticed that you mentioned to modify the for loop as:
for(memoffset=0x0;memoffset<0x8;memoffset++)
instead of:
Thanks for your persistence.
Here is the code that I have written. Although it compiles fine and runs I am not sure if I wrote it correctly to do as I want it to do. A quick review will be really...
Thanks for the info. I am in a situation where I have to run a program like this.
Also what if I have to write at 4 consequetive memory locations (say e000h,e0002h, e0004h, e0008h) with the data...
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:
short...