Hello, im new to asm, and im trying to code some kind of notepad.
At the moment, my program create a file, and open a file.
Now i want to be able to edit the opened file. I ve thought in one option:
When i open the file, it shows it in the console, so one option is to give the user the option of modify the console text, and then, when i need to save the file, take all the text in screen and rewrite it over the original txt. I know how to give the user the option to modify text in console, but i don't know how to seek the pointer to begining of console, using interruption 21h 42h, i need a handle, it is possible to get the handle of the console and use seek to place pointer to 0 and then get all writed text?
What other option can i use ?
note: i don't want only to append text, i want to be able to modify and add text in any position.
Thanks