CGA status register support.
Merge pull request #12 from Alegend45/master

CGA status register support.