EGA is the hardest of the DOS video standards to look up info on.
CGA lasted a shorter period but it had a long tail. EGA was only a thing for a couple years, so all the resources on "EGA programming" are really like "EGA/VGA programming" and they tend to ignore the EGA half of that, and instead pretend it's just CGA with a few more colors