I am writing a simple application that tries to use video mapped memory (Starting at address 0B800). For the most part I can write directly to that memory and the characters appear instantly on screen, but I find if I try to write directly under the cursor what ever I tried to write does not stick. Is there a way around this? How can I write directly under the cursor?
Currently using something like this to write to the memory:
mov word ptr ES:[DI], BX
where BX has the attributes and the character I want to write.