Boch's memory
Posted: Sun Dec 28, 2003 1:47 pm
Some may know that it is possible for programs to access other program memory. I was thinking to make a program that enters Boch's RAM and writes data to it allowing easier DEBUGing of software.
Instead of writing IDT and the rest of the stuff to test some software I ported, I had the idea of doing this:
1) Access Boch's RAM
2) Put keyboard data at 0x400000
That way, all I do in the kernel is read the memory at 0x400000 and intrepret the input. This could also be helpful in making a floppy driver by loading files at 0x400000 without coding the actual driver.
I just need to know how many people think this may have a good use for debugging?
(First I need to figure how ArtMoney.exe works)
Instead of writing IDT and the rest of the stuff to test some software I ported, I had the idea of doing this:
1) Access Boch's RAM
2) Put keyboard data at 0x400000
That way, all I do in the kernel is read the memory at 0x400000 and intrepret the input. This could also be helpful in making a floppy driver by loading files at 0x400000 without coding the actual driver.
I just need to know how many people think this may have a good use for debugging?
(First I need to figure how ArtMoney.exe works)