Quoting Antonino Daplas ([EMAIL PROTECTED]): > Hi, > > Except for matrox, most drivers use waitretrace to sync on vertical > refresh which basically polls the status register 0x3da. However, this > register is only valid if the hardware is in CGA emulation. If the > hardware is in MDA emulation, then the correct status register is > 0x3ba. Polling 0x3da when hardware is in MDA emulation will result in > an infinite loop. > > So, either we force the hardware to be always in CGA emulation, or we > can just check the current emulation before polling the correct status > register. Most hardware are probably in CGA emulation anyway, and the > few that don't sets the hardware to CGA. Do you think this is a good idea?
You are totally right and I just applied your patch to the CVS along with an entry in the Thanks To section in the README. It seems I forgot it. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" Convergence GmbH -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
