bochs, port 0xe9 and instant text printing
Posted: Sun Aug 01, 2004 5:43 pm
Hi!
This seems to be a widely unknown feature of bochs, and I learnt it only recently when seeking sysenter capabilities in the mentioned software. The functionality is called port e9 hack, and can be enabled with ./configure --enable-port-e9-hack.
What is it about? In such a bochs build, any data sent to port 0xe9 by the guest computer will be printed out by bochs in the console. This seems a darn cool debugging aid! Especially when console output fails for reasons or you have more debugging info than a screenful. I checked this on the recent 2.1.1 version, and it looks like a million dollar! All the debugging data, and I can scroll up xterm to see it all! You don't have to send the '\0' character.
Wanted to keep you informed. Tell me if this is helpful or not.
Cheers;)
Adrian
This seems to be a widely unknown feature of bochs, and I learnt it only recently when seeking sysenter capabilities in the mentioned software. The functionality is called port e9 hack, and can be enabled with ./configure --enable-port-e9-hack.
What is it about? In such a bochs build, any data sent to port 0xe9 by the guest computer will be printed out by bochs in the console. This seems a darn cool debugging aid! Especially when console output fails for reasons or you have more debugging info than a screenful. I checked this on the recent 2.1.1 version, and it looks like a million dollar! All the debugging data, and I can scroll up xterm to see it all! You don't have to send the '\0' character.
Wanted to keep you informed. Tell me if this is helpful or not.
Cheers;)
Adrian