On Wed, Sep 07, 2022 at 11:15:04AM +0200, Gerd Hoffmann wrote: > Add VgaInb() helper function to read vga registers. With that in place > fix the unblanking. We need to put the ATT_ADDRESS_REGISTER flip flop > into a known state, which is done by reading the > INPUT_STATUS_1_REGISTER. Reading the INPUT_STATUS_1_REGISTER only works > when the device is in color mode, so make sure that bit (0x01) is set in > MISC_OUTPUT_REGISTER. > > Currently the mode setting works more by luck because > ATT_ADDRESS_REGISTER flip flop happens to be in the state we need.
The 'patch is small and simple enough that I can skip CI' plan didn't went so well for v1+2, so: https://github.com/tianocore/edk2/pull/3311 take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#93374): https://edk2.groups.io/g/devel/message/93374 Mute This Topic: https://groups.io/mt/93521129/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-