Hey!
After POST, BIOS is writing serial port addresses to 0040:0000. I need to know how it gets to know these adresses, to write a protected mode program (0040:0000 inaccesible) that does the same. Or are the addresses always the same (3f8 - COM1, 2f8 - COM2, 3e8 - COM3 and 2e8 - COM4)? And how does BIOS check the status of the port (to put 0 in 0040:000x if it's not available)?
Thanks for any help .
After POST, BIOS is writing serial port addresses to 0040:0000. I need to know how it gets to know these adresses, to write a protected mode program (0040:0000 inaccesible) that does the same. Or are the addresses always the same (3f8 - COM1, 2f8 - COM2, 3e8 - COM3 and 2e8 - COM4)? And how does BIOS check the status of the port (to put 0 in 0040:000x if it's not available)?
Thanks for any help .