Capturing dos text screen in C
Hai. I am actually a VB programmer. I have a new project and have to write 2 dos based program in Turbo C. With no knowledge I manage to complete 1. Now I have problem with the capturing the dos text screen. I know it is located at b800:0 memory location. How do I get this detail out and send it to a text file. As a new user to C programming, I am totally lost here.
Can anyone help me on how to read the value from the address location b800:0?
Thank you very much. Your co-operation is very much appreciated.
Dos text capturing program in Turbo C
Hai..I am writing a program that can capture a dos text screen and write it to a text file. Now this system will be placed in a virtual harddisk on a motherboard. It is actually to test RAM produce and to capture the test result. In order to test the RAM there are only the motherboards without the harddisk. Therefore we need to use the ancient compiler as this will not need any library or any dependencies after compiling to an .exe. The test program is done by the client's side. But to capture the result from the monitor and write it to a text file is my problem. When writing to c:\test.txt, it will be some how mirrored to the server. (Client has already done the configuration).
Now I just need to get that sample test on the monitor and send it to a text file. (Capturing dos text screen). I have search on the net but only could find until b800:0 but I am not sure how to get the data out of it. Pls Help.