VGA Address
Posted: Tue Jan 31, 2006 9:50 am
Hello!
This week I finished my multi-console driver.
It supports 12 virtual consoles, ANSI espace sequences, etc...
I have a doubt when updating the 'real' console: should I use the address 0xB0000 or 0xB8000?
I have set some preprocessor defines for the screen, such as width, height, text attribute and, of course, the address. I can change the video address by directly modifying the relative define.
What do you think? Have I to implement a 'detect' function using the 0x3CC port to detect the correct address or can I choose it at the compile-time?
Nowadays monochrome displays... ;D
This week I finished my multi-console driver.
It supports 12 virtual consoles, ANSI espace sequences, etc...
I have a doubt when updating the 'real' console: should I use the address 0xB0000 or 0xB8000?
I have set some preprocessor defines for the screen, such as width, height, text attribute and, of course, the address. I can change the video address by directly modifying the relative define.
What do you think? Have I to implement a 'detect' function using the 0x3CC port to detect the correct address or can I choose it at the compile-time?
Nowadays monochrome displays... ;D