BOCHS: What can that be? Sometimes Memory Write isn't done
Posted: Thu Nov 26, 2009 9:11 am
Hello,
I have one problem with my Kernel. It seems that sometimes a Memory write isn't performed.
I have programmed a class that handles text output to 0xB8000. The class stores the
cursor position and updates the cursor. But: Sometimes If I write a text, only one char
either is missing and there is the old char(a space) or the cursor isn't updated, wich results
in that the char is overwritten, if it is not the last. But they occur only in Bochs and about
2 to 4 chars each screen (80x25).
I think it is a not performed write to memory. Either the char isn't written to 0xB8000, then it
left blank. Or if the cursor isn't updating the new value of the cursor position stored by the
class is not written.
I get no exception and no NMI. And the programm runs always fine. On real hardware I never
saw this phenomen.
Does anyone have an idea what that can be?
cheers
sebihepp
I have one problem with my Kernel. It seems that sometimes a Memory write isn't performed.
I have programmed a class that handles text output to 0xB8000. The class stores the
cursor position and updates the cursor. But: Sometimes If I write a text, only one char
either is missing and there is the old char(a space) or the cursor isn't updated, wich results
in that the char is overwritten, if it is not the last. But they occur only in Bochs and about
2 to 4 chars each screen (80x25).
I think it is a not performed write to memory. Either the char isn't written to 0xB8000, then it
left blank. Or if the cursor isn't updating the new value of the cursor position stored by the
class is not written.
I get no exception and no NMI. And the programm runs always fine. On real hardware I never
saw this phenomen.
Does anyone have an idea what that can be?
cheers
sebihepp